[v4,00/21] net/mlx5: flow rework
mbox series

Message ID cover.1531387413.git.nelio.laranjeiro@6wind.com
Headers show
Series
  • net/mlx5: flow rework
Related show

Message

NĂ©lio Laranjeiro July 12, 2018, 9:30 a.m. UTC
Re-work flow engine to support port redirection actions through TC.

This first series depends on [1] which is implemented in commit 
"net/mlx5: support inner RSS computation" and on [2].
Next series will bring the port redirection as announced[3].

[1] https://mails.dpdk.org/archives/dev/2018-July/107378.html
[2] https://mails.dpdk.org/archives/dev/2018-June/104192.html
[3] https://mails.dpdk.org/archives/dev/2018-May/103043.html

Changes in v4:

- fix compilation on redhat 7.5 without Mellanox OFED.
- avoid multiple pattern parsing for the expansion.

Changes in v3:

- remove redundant parameters in drop queues internal API.
- simplify the RSS expansion by only adding missing items in the pattern.
- document all functions.


Nelio Laranjeiro (21):
  net/mlx5: remove flow support
  net/mlx5: handle drop queues as regular queues
  net/mlx5: replace verbs priorities by flow
  net/mlx5: support flow Ethernet item along with drop action
  net/mlx5: add flow queue action
  net/mlx5: add flow stop/start
  net/mlx5: add flow VLAN item
  net/mlx5: add flow IPv4 item
  net/mlx5: add flow IPv6 item
  net/mlx5: add flow UDP item
  net/mlx5: add flow TCP item
  net/mlx5: add mark/flag flow action
  net/mlx5: use a macro for the RSS key size
  net/mlx5: add RSS flow action
  net/mlx5: remove useless arguments in hrxq API
  net/mlx5: support inner RSS computation
  net/mlx5: add flow VXLAN item
  net/mlx5: add flow VXLAN-GPE item
  net/mlx5: add flow GRE item
  net/mlx5: add flow MPLS item
  net/mlx5: add count flow action

 drivers/net/mlx5/mlx5.c        |   22 +-
 drivers/net/mlx5/mlx5.h        |   18 +-
 drivers/net/mlx5/mlx5_ethdev.c |   14 +-
 drivers/net/mlx5/mlx5_flow.c   | 4821 ++++++++++++++++----------------
 drivers/net/mlx5/mlx5_prm.h    |    3 +
 drivers/net/mlx5/mlx5_rss.c    |    7 +-
 drivers/net/mlx5/mlx5_rxq.c    |  281 +-
 drivers/net/mlx5/mlx5_rxtx.h   |   21 +-
 8 files changed, 2640 insertions(+), 2547 deletions(-)

Comments

Shahaf Shuler July 12, 2018, 10:44 a.m. UTC | #1
Thursday, July 12, 2018 12:31 PM, Nelio Laranjeiro:
> Subject: [dpdk-dev] [PATCH v4 00/21] net/mlx5: flow rework
> 
> Re-work flow engine to support port redirection actions through TC.
> 
> This first series depends on [1] which is implemented in commit
> "net/mlx5: support inner RSS computation" and on [2].
> Next series will bring the port redirection as announced[3].
> 
> [1]
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fma
> ils.dpdk.org%2Farchives%2Fdev%2F2018-
> July%2F107378.html&data=02%7C01%7Cshahafs%40mellanox.com%7Cd
> 4468642a7bc46f895a408d5e7da3f23%7Ca652971c7d2e4d9ba6a4d149256f461b
> %7C0%7C0%7C636669846916246569&sdata=INTMuEpP%2BGQP2xj05JM
> ti4jCyHL8rqJiUgrrHNMpAC4%3D&reserved=0
> [2]
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fma
> ils.dpdk.org%2Farchives%2Fdev%2F2018-
> June%2F104192.html&data=02%7C01%7Cshahafs%40mellanox.com%7C
> d4468642a7bc46f895a408d5e7da3f23%7Ca652971c7d2e4d9ba6a4d149256f461
> b%7C0%7C0%7C636669846916246569&sdata=aq%2Bl5GWgAgnIdWYxG2
> VB4JlhLvAOVdB7JuLMScgYaN0%3D&reserved=0
> [3]
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fma
> ils.dpdk.org%2Farchives%2Fdev%2F2018-
> May%2F103043.html&data=02%7C01%7Cshahafs%40mellanox.com%7C
> d4468642a7bc46f895a408d5e7da3f23%7Ca652971c7d2e4d9ba6a4d149256f461
> b%7C0%7C0%7C636669846916246569&sdata=G4uhC1VCDA4z6UgC9Vfo
> CdUsndngUgMNbTHYZ4UjAqM%3D&reserved=0
> 
> Changes in v4:
> 
> - fix compilation on redhat 7.5 without Mellanox OFED.
> - avoid multiple pattern parsing for the expansion.
> 
> Changes in v3:
> 
> - remove redundant parameters in drop queues internal API.
> - simplify the RSS expansion by only adding missing items in the pattern.
> - document all functions.
> 
> 
> Nelio Laranjeiro (21):
>   net/mlx5: remove flow support
>   net/mlx5: handle drop queues as regular queues
>   net/mlx5: replace verbs priorities by flow
>   net/mlx5: support flow Ethernet item along with drop action
>   net/mlx5: add flow queue action
>   net/mlx5: add flow stop/start
>   net/mlx5: add flow VLAN item
>   net/mlx5: add flow IPv4 item
>   net/mlx5: add flow IPv6 item
>   net/mlx5: add flow UDP item
>   net/mlx5: add flow TCP item
>   net/mlx5: add mark/flag flow action
>   net/mlx5: use a macro for the RSS key size
>   net/mlx5: add RSS flow action
>   net/mlx5: remove useless arguments in hrxq API
>   net/mlx5: support inner RSS computation
>   net/mlx5: add flow VXLAN item
>   net/mlx5: add flow VXLAN-GPE item
>   net/mlx5: add flow GRE item
>   net/mlx5: add flow MPLS item
>   net/mlx5: add count flow action
> 
>  drivers/net/mlx5/mlx5.c        |   22 +-
>  drivers/net/mlx5/mlx5.h        |   18 +-
>  drivers/net/mlx5/mlx5_ethdev.c |   14 +-
>  drivers/net/mlx5/mlx5_flow.c   | 4821 ++++++++++++++++----------------
>  drivers/net/mlx5/mlx5_prm.h    |    3 +
>  drivers/net/mlx5/mlx5_rss.c    |    7 +-
>  drivers/net/mlx5/mlx5_rxq.c    |  281 +-
>  drivers/net/mlx5/mlx5_rxtx.h   |   21 +-
>  8 files changed, 2640 insertions(+), 2547 deletions(-)

Series applied to next-net-mlx, thanks. 

> 
> --
> 2.18.0