diff options
author | Abhishek Mohapatra <abhishek.mohapatra@broadcom.com> | 2025-08-14 16:55:53 +0530 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-09-08 03:08:35 -0400 |
commit | dc61e916f1ce4770c98d8dd5857c174b73be8251 (patch) | |
tree | 144442bd67dd53846d5f69e8ef04b50a0195f2ad /drivers/infiniband/hw/ionic/ionic_datapath.c | |
parent | ef56081d1864582a6db50710733416c0510b7826 (diff) |
RDMA/bnxt_re: Report udp source port for flow_label in bnxt_re_query_qp
The firmware doesn't capture the flow_label. Therefore the value
that's always returned by qplib_qp->ah.flow_label is 0 whenever
a qp is created. And as per IB spec, udp source port can be reported
for flow_label. Hence reported udp source port for flow_label in
bnxt_re_query_qp by populating the value of qplib_qp->udp_sport
into qp_attr->ah_attr.grh.flow_label.
Signed-off-by: Abhishek Mohapatra <abhishek.mohapatra@broadcom.com>
Signed-off-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com>
Link: https://patch.msgid.link/20250814112555.221665-8-kalesh-anakkur.purayil@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions