[PATCH 0/3] net/mlx5: support jump FDB Rx

Suanming Mou suanmingm at nvidia.com
Tue Feb 25 01:45:24 CET 2025


Before FW introduced the JUMP_FDB_RX action feature, jump from
FDB Tx to Rx is not allowed. JUMP_FDB_RX feature introduces
the internal loopback for Tx case and allow the REG C0 C1 B be
preserved as well.

This series adds the jump from FDB Tx to FDB Rx support and allows
RSS action in FDB domain rule when jump FDB Rx is supported.

Suanming Mou (3):
  net/mlx5/hws: support jump FDB Rx
  net/mlx5: add jump FDB Rx flag
  net/mlx5: allow FDB RSS

 drivers/common/mlx5/mlx5_devx_cmds.c  |  8 +++++++
 drivers/common/mlx5/mlx5_devx_cmds.h  |  1 +
 drivers/common/mlx5/mlx5_prm.h        |  9 +++++++-
 drivers/net/mlx5/hws/mlx5dr_action.c  | 26 +++++++++++++++++-----
 drivers/net/mlx5/hws/mlx5dr_action.h  |  4 ++++
 drivers/net/mlx5/hws/mlx5dr_cmd.c     |  9 ++++++++
 drivers/net/mlx5/hws/mlx5dr_cmd.h     |  2 ++
 drivers/net/mlx5/hws/mlx5dr_context.c | 17 ++++++++++++++
 drivers/net/mlx5/hws/mlx5dr_context.h |  2 ++
 drivers/net/mlx5/linux/mlx5_os.c      |  1 +
 drivers/net/mlx5/mlx5.h               |  1 +
 drivers/net/mlx5/mlx5_flow.c          |  4 ++--
 drivers/net/mlx5/mlx5_flow_dv.c       | 32 ++++++++++++++-------------
 drivers/net/mlx5/mlx5_flow_hw.c       | 27 +++++++++++++++++-----
 14 files changed, 114 insertions(+), 29 deletions(-)

-- 
2.34.1



More information about the dev mailing list