i40e: APIs to Add/remove port mirroring rules
BugLink: http://bugs.launchpad.net/bugs/1547674
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".
Change-ID: Iaf513fd5f188f99dcb977b48f99e73185dfddc40
Signed-off-by: Kiran Patil <kiran.patil@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from net-next commit
7bd6875bef7055170b2c871e6d44a0b5e826643f)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>