20b71e92ef
With mlx5, unlike normal flow rules implemented through Verbs for traffic emitted and received by the application, those targeting different logical ports of the device (VF representors for instance) are offloaded at the switch level and must be configured through Netlink (TC interface). This patch adds preliminary support to manage such flow rules through the flow API (rte_flow). Instead of rewriting tons of Netlink helpers and as previously suggested by Stephen [1], this patch introduces a new dependency to libmnl [2] (LGPL-2.1) when compiling mlx5. [1] https://mails.dpdk.org/archives/dev/2018-March/092676.html [2] https://netfilter.org/projects/libmnl/ Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Acked-by: Yongseok Koh <yskoh@mellanox.com> |
||
---|---|---|
.. | ||
Makefile | ||
mlx5_defs.h | ||
mlx5_ethdev.c | ||
mlx5_flow.c | ||
mlx5_glue.c | ||
mlx5_glue.h | ||
mlx5_mac.c | ||
mlx5_mr.c | ||
mlx5_mr.h | ||
mlx5_nl_flow.c | ||
mlx5_nl.c | ||
mlx5_prm.h | ||
mlx5_rss.c | ||
mlx5_rxmode.c | ||
mlx5_rxq.c | ||
mlx5_rxtx_vec_neon.h | ||
mlx5_rxtx_vec_sse.h | ||
mlx5_rxtx_vec.c | ||
mlx5_rxtx_vec.h | ||
mlx5_rxtx.c | ||
mlx5_rxtx.h | ||
mlx5_socket.c | ||
mlx5_stats.c | ||
mlx5_trigger.c | ||
mlx5_txq.c | ||
mlx5_utils.h | ||
mlx5_vlan.c | ||
mlx5.c | ||
mlx5.h | ||
rte_pmd_mlx5_version.map |