dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] net/mlx5: remove TCF support from PMD
@ 2019-05-28 11:18 Moti Haimovsky
  2019-05-28 11:18 ` [dpdk-dev] [PATCH 1/2] net/mlx5: fix testpmd crash on null-flow drv opts Moti Haimovsky
  2019-05-28 11:18 ` [dpdk-dev] [PATCH 2/2] " Moti Haimovsky
  0 siblings, 2 replies; 35+ messages in thread
From: Moti Haimovsky @ 2019-05-28 11:18 UTC (permalink / raw)
  To: Shahaf Shuler; +Cc: dev, Moti Haimovsky

Today, it is possible to offload an interface flow rules to the 
hardware using DPDK flow commands. 
With mlx5 it is also possible to offload a limited set of flow rules 
to the mlxsw (or E-switch) using the same DPDK flow commands. 
A 'transfer' attribute was added to the flow rule creation command in 
order to distinguish between configuring port flows and E-switch 
flows. The commands destined for the E-switch are transposed to 
TC-flower rules and are send, as Netlink messages, to the mlx5 driver, 
or more precisely to the netdev which represent the mlxsw port. 
With the addition to the PMD of E-switch configuration via DR 
(direct verbs rules) it is now possible to configure the E-switch 
using these commands instead of using TC-Flower messages. 
Doing so will allow us to remove the TCF support and the dependency 
of libmnl from the PMD. 
The purpose of this RFC is to propose configuring the E-switch 
flow filtering using DR, to remove the TCF support from the PMD and 
to remove the dependency of the PMD in libmnl. 
As for today VLAN insertion or removal is not supported in DR, this 
support will be added in separate commits. 

Moti Haimovsky (2):
  net/mlx5: fix testpmd crash on null-flow drv opts
  net/mlx5: remove TCF support from PMD

 doc/build-sdk-meson.txt           |    2 +-
 doc/guides/nics/mlx5.rst          |   19 -
 doc/guides/platform/bluefield.rst |    4 -
 drivers/net/mlx5/Makefile         |  303 --
 drivers/net/mlx5/meson.build      |  123 +-
 drivers/net/mlx5/mlx5.c           |   32 -
 drivers/net/mlx5/mlx5.h           |    3 -
 drivers/net/mlx5/mlx5_flow.c      |   43 +-
 drivers/net/mlx5/mlx5_flow.h      |   25 -
 drivers/net/mlx5/mlx5_flow_tcf.c  | 6382 -------------------------------------
 mk/rte.app.mk                     |    2 +-
 11 files changed, 24 insertions(+), 6914 deletions(-)
 delete mode 100644 drivers/net/mlx5/mlx5_flow_tcf.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 35+ messages in thread
* [dpdk-dev] [PATCH 0/2] net/mlx5: remove TCF support from PMD
@ 2019-05-28 10:14 Moti Haimovsky
  2019-05-28 10:14 ` [dpdk-dev] [PATCH 1/2] net/mlx5: fix testpmd crash on null-flow drv opts Moti Haimovsky
  0 siblings, 1 reply; 35+ messages in thread
From: Moti Haimovsky @ 2019-05-28 10:14 UTC (permalink / raw)
  To: Shahaf Shuler; +Cc: dev, Moti Haimovsky

Today, it is possible to offload an interface flow rules to the
hardware using DPDK flow commands.
With mlx5 it is also possible to offload a limited set of flow rules
to the mlxsw (or E-switch) using the same DPDK flow commands.
A 'transfer' attribute was added to the flow rule creation command in
order to distinguish between configuring port flows and E-switch
flows. The commands destined for the E-switch are transposed to
TC-flower rules and are send, as Netlink messages, to the mlx5 driver,
or more precisely to the netdev which represent the mlxsw port.
With the addition to the PMD of E-switch configuration via DR
(direct verbs rules) it is now possible to configure the E-switch
using these commands instead of using TC-Flower messages.
Doing so will allow us to remove the TCF support and the dependency
of libmnl from the PMD.
The purpose of this RFC is to propose configuring the E-switch
flow filtering using DR, to remove the TCF support from the PMD and
to remove the dependency of the PMD in libmnl.
As for today VLAN insertion or removal is not supported in DR, this
support will be added in separate commits.

Moti Haimovsky (2):
  net/mlx5: fix testpmd crash on null-flow drv opts
  net/mlx5: remove TCF support from PMD

 doc/build-sdk-meson.txt           |    2 +-
 doc/guides/nics/mlx5.rst          |   19 -
 doc/guides/platform/bluefield.rst |    4 -
 drivers/net/mlx5/Makefile         |  303 --
 drivers/net/mlx5/meson.build      |  123 +-
 drivers/net/mlx5/mlx5.c           |   32 -
 drivers/net/mlx5/mlx5.h           |    3 -
 drivers/net/mlx5/mlx5_flow.c      |   43 +-
 drivers/net/mlx5/mlx5_flow.h      |   25 -
 drivers/net/mlx5/mlx5_flow_tcf.c  | 6382 -------------------------------------
 mk/rte.app.mk                     |    2 +-
 11 files changed, 24 insertions(+), 6914 deletions(-)
 delete mode 100644 drivers/net/mlx5/mlx5_flow_tcf.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2019-07-01 10:26 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 11:18 [dpdk-dev] [PATCH 0/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-05-28 11:18 ` [dpdk-dev] [PATCH 1/2] net/mlx5: fix testpmd crash on null-flow drv opts Moti Haimovsky
2019-05-28 12:09   ` [dpdk-dev] [PATCH v2 0/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-05-28 12:09     ` [dpdk-dev] [PATCH v2 1/2] net/mlx5: fix testpmd crash on null-flow drv opts Moti Haimovsky
2019-05-28 12:09     ` [dpdk-dev] [PATCH v2 2/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-05-28 13:23     ` [dpdk-dev] [PATCH v3 0/2] " Moti Haimovsky
2019-05-28 13:23       ` [dpdk-dev] [PATCH v3 1/2] net/mlx5: fix crashing testpmd on null drv opts Moti Haimovsky
2019-05-28 13:23       ` [dpdk-dev] [PATCH v3 2/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-06-18 11:15       ` [dpdk-dev] [PATCH v4 0/2] " Moti Haimovsky
2019-06-18 11:15       ` [dpdk-dev] [PATCH v4 1/2] net/mlx5: fix crashing testpmd on null drv opts Moti Haimovsky
2019-06-18 11:15       ` [dpdk-dev] [PATCH v4 2/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-07-01  4:36         ` Slava Ovsiienko
2019-06-18 11:51       ` [dpdk-dev] [PATCH v4 0/2] " Moti Haimovsky
2019-06-18 11:51       ` [dpdk-dev] [PATCH v4 1/2] net/mlx5: fix crashing testpmd on null drv opts Moti Haimovsky
2019-06-18 11:51       ` [dpdk-dev] [PATCH v4 2/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-06-19  4:52       ` [dpdk-dev] [PATCH v5 0/2] " Moti Haimovsky
2019-06-19  4:52         ` [dpdk-dev] [PATCH v5 1/2] net/mlx5: fix crashing testpmd on null drv opts Moti Haimovsky
2019-07-01  4:38           ` Slava Ovsiienko
2019-06-19  4:52         ` [dpdk-dev] [PATCH v5 2/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-07-01  9:34       ` [dpdk-dev] [PATCH v6 0/2] " Moti Haimovsky
2019-07-01  9:34         ` [dpdk-dev] [PATCH v6 1/2] net/mlx5: fix crashing testpmd on null drv opts Moti Haimovsky
2019-07-01  9:34         ` [dpdk-dev] [PATCH v6 2/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-07-01 10:26         ` [dpdk-dev] [Suspected-Phishing][PATCH v6 0/2] " Raslan Darawsheh
2019-06-18 14:56     ` [dpdk-dev] [PATCH v5 " Moti Haimovsky
2019-06-18 14:56     ` [dpdk-dev] [PATCH v5 1/2] net/mlx5: fix crashing testpmd on null drv opts Moti Haimovsky
2019-06-18 14:56     ` [dpdk-dev] [PATCH v5 2/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-06-18 15:04     ` [dpdk-dev] [PATCH v5 0/2] " Moti Haimovsky
2019-06-18 15:04     ` [dpdk-dev] [PATCH v5 1/2] net/mlx5: fix crashing testpmd on null drv opts Moti Haimovsky
2019-06-18 15:04     ` [dpdk-dev] [PATCH v5 2/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-06-18 15:10     ` [dpdk-dev] [PATCH v5 0/2] " Moti Haimovsky
2019-06-18 15:10     ` [dpdk-dev] [PATCH v5 1/2] net/mlx5: fix crashing testpmd on null drv opts Moti Haimovsky
2019-06-18 15:10     ` [dpdk-dev] [PATCH v5 2/2] net/mlx5: remove TCF support from PMD Moti Haimovsky
2019-05-28 12:09   ` [dpdk-dev] [PATCH v2] " Moti Haimovsky
2019-05-28 11:18 ` [dpdk-dev] [PATCH 2/2] " Moti Haimovsky
  -- strict thread matches above, loose matches on Subject: below --
2019-05-28 10:14 [dpdk-dev] [PATCH 0/2] " Moti Haimovsky
2019-05-28 10:14 ` [dpdk-dev] [PATCH 1/2] net/mlx5: fix testpmd crash on null-flow drv opts Moti Haimovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).