[v3,00/21] net/mlx5: flow rework

Message ID cover.1531293415.git.nelio.laranjeiro@6wind.com (mailing list archive)
Headers
Series net/mlx5: flow rework |

Message

NĂ©lio Laranjeiro July 11, 2018, 7:22 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 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   | 4815 ++++++++++++++++----------------
 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, 2632 insertions(+), 2549 deletions(-)
  

Comments

Yongseok Koh July 11, 2018, 8 p.m. UTC | #1
On Wed, Jul 11, 2018 at 09:22:33AM +0200, Nelio Laranjeiro wrote:
> 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%2Fmails.dpdk.org%2Farchives%2Fdev%2F2018-July%2F107378.html&data=02%7C01%7Cyskoh%40mellanox.com%7C9bef604d078f40e6595908d5e6ff2bf0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636668905992302639&sdata=0qLUG%2BKS8RgVHtHxHusUc52VYm9dk00670It5xBBovk%3D&reserved=0
> [2] https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmails.dpdk.org%2Farchives%2Fdev%2F2018-June%2F104192.html&data=02%7C01%7Cyskoh%40mellanox.com%7C9bef604d078f40e6595908d5e6ff2bf0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636668905992302639&sdata=WExSBvD31dcbmGg6sli7eNAIuUA4P15C0AeeLX3UgCg%3D&reserved=0
> [3] https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmails.dpdk.org%2Farchives%2Fdev%2F2018-May%2F103043.html&data=02%7C01%7Cyskoh%40mellanox.com%7C9bef604d078f40e6595908d5e6ff2bf0%7Ca652971c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636668905992302639&sdata=NklC3wWN7wwWQTWeqxtiVq3uj4TXPcuwSH5z0a%2B4yOk%3D&reserved=0
> 
> 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   | 4815 ++++++++++++++++----------------
>  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, 2632 insertions(+), 2549 deletions(-)
> 
> -- 
For the series,

Acked-by: Yongseok Koh <yskoh@mellanox.com>

Thanks