Commit 91724c1
RDMA/iw_cxgb4: fix SRQ access from dump_qp()
dump_qp() is wrongly trying to dump SRQ structures as QP when SRQ is used
by the application. This patch matches the QPID before dumping them. Also
removes unwanted SRQ id addition to QP id xarray.
Fixes: 2f43129 ("cxgb4: Convert qpidr to XArray")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rahul Kundu <[email protected]>
Signed-off-by: Potnuri Bharat Teja <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>1 parent 34b3be1 commit 91724c1
2 files changed
+6
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| 250 | + | |
| 251 | + | |
249 | 252 | | |
250 | 253 | | |
251 | 254 | | |
| |||
350 | 353 | | |
351 | 354 | | |
352 | 355 | | |
353 | | - | |
| 356 | + | |
354 | 357 | | |
355 | 358 | | |
356 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2737 | 2737 | | |
2738 | 2738 | | |
2739 | 2739 | | |
2740 | | - | |
2741 | | - | |
2742 | | - | |
2743 | | - | |
2744 | 2740 | | |
2745 | 2741 | | |
2746 | 2742 | | |
2747 | 2743 | | |
2748 | | - | |
| 2744 | + | |
2749 | 2745 | | |
2750 | 2746 | | |
2751 | 2747 | | |
| |||
2789 | 2785 | | |
2790 | 2786 | | |
2791 | 2787 | | |
2792 | | - | |
2793 | | - | |
2794 | 2788 | | |
2795 | 2789 | | |
2796 | 2790 | | |
| |||
2813 | 2807 | | |
2814 | 2808 | | |
2815 | 2809 | | |
2816 | | - | |
2817 | | - | |
2818 | 2810 | | |
2819 | 2811 | | |
2820 | 2812 | | |
| |||
0 commit comments