]> 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)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 12 Dec 2016 04:56:05 +0000 (20:56 -0800)
commited9a229d1d94b467079b7a9773af0fb1b42ed625
tree9b3824ca6997203a8c69d3fa8f8f9b27f6b0f03d
parentb9536a9dec7e739919a8ec4ed7fec3123762dbe2
i40e: Don't notify client(s) for DCB changes on all VSIs

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)

Orabug: 24923619

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c