i40e/base: support mirroring rules
authorHelin Zhang <helin.zhang@intel.com>
Tue, 8 Mar 2016 08:14:23 +0000 (16:14 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:28:27 +0000 (17:28 +0100)
commit0bf2dbbe077c56b881518d8fc017b0d6bfcee036
tree7b0995acdbc1626832562c38b0700b47c7a28eaf
parent71d0a41e9aad9ccb09d7f52a4458b5e748d325e6
i40e/base: support mirroring rules

This patch implements necessary functions related to port
mirroring features such as add/delete mirror rule, function
to set promiscuous VLAN mode for VSI if mirror rule_type is
"VLAN Mirroring".

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Remy Horton <remy.horton@intel.com>
drivers/net/i40e/base/i40e_common.c
drivers/net/i40e/base/i40e_prototype.h