ethdev: introduce generic flow API
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Wed, 21 Dec 2016 14:51:17 +0000 (15:51 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 23 Dec 2016 09:11:07 +0000 (10:11 +0100)
commitb1a4b4cbc0a8cceed95bde0d2dce3fc71d0a2665
tree913dd3ae6072a8e27c9e80ac8f91ed35b95e7842
parent15925897e7fafd46ecea707b30a875fb3f6c8ddd
ethdev: introduce generic flow API

This new API supersedes all the legacy filter types described in
rte_eth_ctrl.h. It is slightly higher level and as a result relies more on
PMDs to process and validate flow rules.

Benefits:

- A unified API is easier to program for, applications do not have to be
  written for a specific filter type which may or may not be supported by
  the underlying device.

- The behavior of a flow rule is the same regardless of the underlying
  device, applications do not need to be aware of hardware quirks.

- Extensible by design, API/ABI breakage should rarely occur if at all.

- Documentation is self-standing, no need to look up elsewhere.

Existing filter types will be deprecated and removed in the near future.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Olga Shern <olgas@mellanox.com>
MAINTAINERS
doc/api/doxy-api-index.md
lib/librte_ether/Makefile
lib/librte_ether/rte_eth_ctrl.h
lib/librte_ether/rte_ether_version.map
lib/librte_ether/rte_flow.c [new file with mode: 0644]
lib/librte_ether/rte_flow.h [new file with mode: 0644]
lib/librte_ether/rte_flow_driver.h [new file with mode: 0644]