This patch set will add the support for hairpin between two ports in mlx5 PMD.
v2: * Update the code and reorganize the patch set v3: * Doc update * fix code bugs and code style update Bing Zhao (7): net/mlx5: change hairpin queue peer checking net/mlx5: add support for two ports hairpin mode net/mlx5: add support to get hairpin peer ports net/mlx5: conditional hairpin auto bind net/mlx5: change hairpin ingress flow validation net/mlx5: not split hairpin flow in explicit mode doc: update mlx5 hairpin support and limitations doc/guides/nics/mlx5.rst | 5 + doc/guides/rel_notes/release_20_11.rst | 1 + drivers/net/mlx5/linux/mlx5_os.c | 12 + drivers/net/mlx5/mlx5.h | 21 + drivers/net/mlx5/mlx5_flow.c | 9 +- drivers/net/mlx5/mlx5_flow_dv.c | 17 +- drivers/net/mlx5/mlx5_rxq.c | 59 ++- drivers/net/mlx5/mlx5_rxtx.h | 4 + drivers/net/mlx5/mlx5_trigger.c | 757 ++++++++++++++++++++++++++++++++- drivers/net/mlx5/mlx5_txq.c | 32 +- 10 files changed, 894 insertions(+), 23 deletions(-) -- 1.8.3.1