i40evf: use capabilities flags properly
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 28 Aug 2015 21:55:57 +0000 (17:55 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 8 Oct 2015 23:27:14 +0000 (16:27 -0700)
commit8ed995ff6bb9c5436db64b3653a0c62a0cd18f08
treea0deeafefb0ab33b0e6932d3a49f60d2ace6fe83
parenta5fdaf342aa2fa6679dcb87dad2f78f1309de29e
i40evf: use capabilities flags properly

Use the capabilities passed to us by the PF driver to control VF driver
behavior. In the process, clean up the VLAN add/remove code so it's not
a horrible morass of ifdefs.

Change-ID: I1050eaf12b658a26fea6813047c9964163c70a73
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c