Skip to content

Conversation

selvintxavier
Copy link
Contributor

The RDMA stack allows for applications to create IBV_QPT_RAW_PACKET
QPs, which receive plain Ethernet packets. This patch adds ibv_create_flow()
and ibv_destroy_flow() support in the bnxt_re lib. For now, only the
sniffer rule is supported to receive all port traffic. This is to support
tcpdump over the RDMA devices to capture the packets.

Saravanan Vajravel and others added 2 commits August 22, 2025 00:29
To support RawEth QP:

- Added flow verbs create_fow/destroy_flow to roce lib
  These flow verbs are used to manage flows on RawEh QP.
- Added CQE processing for completion type BNXT_RE_WC_TYPE_RECV_RAW.

Signed-off-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com>
Reviewed-by: Kashyap Desai <kashyap.desai@broadcom.com>
Reviewed-by: Anantha Prabhu <anantha.prabhu@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
libbnxt_re should not pass down the commands to create the
unsupported QP types.

Reviewed-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant