]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40evf: use capabilities flags properly
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 28 Aug 2015 21:55:57 +0000 (17:55 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:32:29 +0000 (08:32 -0800)
commit863600d14ea8d2f6a42b1874cc3f61cea75442fb
treefaed3f874cd6d200ceffe55f27d009bd57227d5c
parent2263d814f43ca341041f6f247c92a415ecc6bb32
i40evf: use capabilities flags properly

Orabug: 22342532

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>
(cherry picked from commit 8ed995ff6bb9c5436db64b3653a0c62a0cd18f08)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c