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.

v3:
- Rebased on v2 of mlx5 Unified FDB patches (series 34723)

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

 doc/guides/nics/mlx5.rst              |  4 ++++
 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      |  9 ++++++--
 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       | 28 ++++++++++++++++++-----
 15 files changed, 125 insertions(+), 31 deletions(-)

--
2.39.5

Reply via email to