Commit 213d2b9
RDMA/bnxt_re: Protect the PD table bitmap
Syncrhonization is required to avoid simultaneous allocation
of the PD. Add a new mutex lock to handle allocation from
the PD table.
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1692032419-21680-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>1 parent 811e0ce commit 213d2b9
3 files changed
Lines changed: 24 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
| 622 | + | |
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
646 | 646 | | |
| 647 | + | |
647 | 648 | | |
| 649 | + | |
648 | 650 | | |
| 651 | + | |
649 | 652 | | |
650 | | - | |
651 | | - | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
652 | 657 | | |
653 | 658 | | |
654 | 659 | | |
655 | 660 | | |
656 | | - | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
657 | 664 | | |
658 | 665 | | |
659 | 666 | | |
660 | 667 | | |
661 | 668 | | |
662 | 669 | | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
663 | 673 | | |
664 | 674 | | |
665 | 675 | | |
666 | | - | |
| 676 | + | |
| 677 | + | |
667 | 678 | | |
668 | 679 | | |
669 | | - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
670 | 683 | | |
671 | 684 | | |
672 | 685 | | |
| |||
691 | 704 | | |
692 | 705 | | |
693 | 706 | | |
| 707 | + | |
694 | 708 | | |
695 | 709 | | |
696 | 710 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
| |||
368 | 370 | | |
369 | 371 | | |
370 | 372 | | |
371 | | - | |
| 373 | + | |
372 | 374 | | |
373 | 375 | | |
374 | 376 | | |
| |||
0 commit comments