]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Don't notify client(s) for DCB changes on all VSIs
authorNeerav Parikh <neerav.parikh@intel.com>
Tue, 7 Jun 2016 16:14:55 +0000 (09:14 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:30:45 +0000 (19:30 -0500)
commitb16c3f45256b75c374d0d00d8097572fddafd8f2
tree9f4403309020483e9d58587397c6659815a670d9
parent163fb5e4594b6987e205d25ffee76879261fa363
i40e: Don't notify client(s) for DCB changes on all VSIs

Orabug: 24568124

When LLDP/DCBX change happens the i40e driver code flow tried to
notify the client(s) for each of the PF VSIs. This resulted into
kernel panic on the first VSI that didn't have any netdev
associated to it.

The DCB change notification to the client(s) should be done only
once for the PF/LAN VSI where the client(s) instances have been
added to. Also, move the notification call after the PF driver has
made changes related to the updated DCB configuration.

Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Signed-off-by: Usha Ketineni <usha.k.ketineni@intel.com>
Tested-by: Ronald J Bynoe <ronald.j.bynoe@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 85a1aab79c54c7e44cb0f98e5aa797fbb0457866)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c