i40e: Don't register/de-register apps on NIC partitions in MFP mode
authorNeerav Parikh <neerav.parikh@intel.com>
Tue, 31 Mar 2015 07:45:03 +0000 (00:45 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Apr 2015 10:54:30 +0000 (03:54 -0700)
commitc142b1dc898efd4702aeacc787bbef8918c401e7
tree0cb564ea963411bd00d22f15c23461dff0554702
parent31eaaccff0fedb7cf6b6716efa3a2b8b8315ec68
i40e: Don't register/de-register apps on NIC partitions in MFP mode

Do not register or try to de-register DCB applications with the DCBNL
layer in case of NIC partitions when adapter is in MFP mode.

Change-ID: I603d042a61983a6562be471c6a2b181572504118
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c