fm10k: support VMDQ in MAC/VLAN filter
authorShaopeng He <shaopeng.he@intel.com>
Sat, 31 Oct 2015 02:44:42 +0000 (10:44 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 1 Nov 2015 15:14:00 +0000 (16:14 +0100)
commit8b5c9ec20b7b48784d5a41db7506b4e514950d1d
tree207d53ddbde888c708667454738972d2e6306476
parent1171a7f4db1e4b4148f895b5b0ffa2dc574bae0e
fm10k: support VMDQ in MAC/VLAN filter

The patch does below things for fm10k MAC/VLAN filter:
- Add separate functions for VMDQ and main VSI to change
  MAC filter.
- Disable modification to VLAN filter in VMDQ mode.
- In device close phase, delete logic ports to remove all
  MAC/VLAN filters belonging to those ports.

Signed-off-by: Shaopeng He <shaopeng.he@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Michael Qiu <michael.qiu@intel.com>
drivers/net/fm10k/fm10k.h
drivers/net/fm10k/fm10k_ethdev.c