This patch set will add the support for hairpin between two ports in mlx5 PMD.
v2: * Update the code and reorganize the patch set Bing Zhao (6): 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 drivers/net/mlx5/linux/mlx5_os.c | 12 + drivers/net/mlx5/mlx5.h | 21 ++ drivers/net/mlx5/mlx5_flow.c | 7 + drivers/net/mlx5/mlx5_flow_dv.c | 15 +- drivers/net/mlx5/mlx5_rxq.c | 50 ++- drivers/net/mlx5/mlx5_rxtx.h | 4 + drivers/net/mlx5/mlx5_trigger.c | 733 ++++++++++++++++++++++++++++++++++++++- drivers/net/mlx5/mlx5_txq.c | 23 +- 8 files changed, 846 insertions(+), 19 deletions(-) -- 1.8.3.1