This patch set enables mirror functionality in i40e driver, and redefines structure and macros used to configure mirror.
v2 changes: - correct comments style - add doc change v3 changes: - change the mirror rule type to support bit mask - fix code style v4 changes: - correct the rule type check ixgbe Jingjing Wu (4): ethdev: rename rte_eth_vmdq_mirror_conf ethdev: rename and extend the mirror type i40e: enable mirror functionality in i40e driver doc: modify the command about mirror in testpmd guide app/test-pmd/cmdline.c | 62 +++--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 +- drivers/net/i40e/i40e_ethdev.c | 334 ++++++++++++++++++++++++++++ drivers/net/i40e/i40e_ethdev.h | 23 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 62 ++++-- drivers/net/ixgbe/ixgbe_ethdev.h | 4 +- lib/librte_ether/rte_ethdev.c | 28 +-- lib/librte_ether/rte_ethdev.h | 30 +-- 8 files changed, 466 insertions(+), 85 deletions(-) -- 1.9.3