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 and avoid ABI broken - fix code style Jingjing Wu (4): ethdev: rename rte_eth_vmdq_mirror_conf ethdev: redefine 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 | 64 ++++-- drivers/net/ixgbe/ixgbe_ethdev.h | 4 +- lib/librte_ether/rte_ethdev.c | 28 +-- lib/librte_ether/rte_ethdev.h | 30 +-- 8 files changed, 467 insertions(+), 86 deletions(-) -- 1.9.3