ethdev: introduce generic filter control
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 20 Oct 2014 05:40:32 +0000 (13:40 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 20 Oct 2014 21:51:05 +0000 (23:51 +0200)
commitfbd0d8e67f9b6316ff5a8a5b9c58a7079a4d2f37
tree1ce0e829fee816fc99868ba1f9d2c8b2aa8f87d8
parentcea7a51c1750847457fde368203192a86c7db04d
ethdev: introduce generic filter control

Define a new API umbrella to configure any kind of Rx filtering.
New functions:
- rte_eth_dev_filter_supported
- rte_eth_dev_filter_ctrl

Filter types, operations, and structures are defined specifically in new
header file lib/librte_eth/rte_dev_ctrl.h.

As to the implementation discussion, please refer to
http://dpdk.org/ml/archives/dev/2014-September/005179.html

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
[Thomas: rename ops and remove unused types]
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_ether/Makefile
lib/librte_ether/rte_eth_ctrl.h [new file with mode: 0644]
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h