|author||Adrien Mazarguil <email@example.com>||2018-07-13 11:40:37 +0200|
|committer||Thomas Monjalon <firstname.lastname@example.org>||2018-07-26 14:05:52 +0200|
net/mlx5: lay groundwork for switch offloads
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 , this patch introduces a new dependency to libmnl  (LGPL-2.1) when compiling mlx5.  https://mails.dpdk.org/archives/dev/2018-March/092676.html  https://netfilter.org/projects/libmnl/ Signed-off-by: Adrien Mazarguil <email@example.com> Acked-by: Nelio Laranjeiro <firstname.lastname@example.org> Acked-by: Yongseok Koh <email@example.com>
Diffstat (limited to 'doc/guides/nics/mlx5.rst')
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index ebf2336..4d692fa 100644
@@ -448,6 +448,12 @@ DPDK and must be installed separately:
This library basically implements send/receive calls to the hardware
+ Minimalistic Netlink library mainly relied on to manage E-Switch flow
+ rules (i.e. those with the "transfer" attribute and typically involving
+ port representors).
- **Kernel modules**
They provide the kernel-side Verbs API and low level device drivers that
@@ -526,6 +532,19 @@ required from that distribution.
this DPDK release was developed and tested against is strongly
recommended. Please check the `prerequisites`_.
+Minimal version for libmnl is **1.0.3**.
+As a dependency of the **iproute2** suite, this library is often installed
+by default. It is otherwise readily available through standard system
+Its development headers must be installed in order to compile this PMD.
+These packages are usually named **libmnl-dev** or **libmnl-devel**
+depending on the Linux distribution.