]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sfc: Change entity reset on MC reboot to a new datapath-only reset.
authorJon Cooper <jcooper@solarflare.com>
Wed, 20 May 2015 10:11:35 +0000 (11:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2015 22:43:54 +0000 (18:43 -0400)
commit087e90255035f914f5be2eb2a7ae3a3850066138
tree88ff1580162c2257b49283ea636b4f4b08275ce3
parentb9af90499a9ac3b42f364216ec65e9c096c3a076
sfc: Change entity reset on MC reboot to a new datapath-only reset.

Currently we do an entity reset when we detect an MC reboot.
This messes up SRIOV because it leaves VFs orphaned. The extra
reset is rather redundant anyway, since the MC reboot will have
basically reset everything.

This change replaces the entity reset after MC reboot with a
simpler datapath reset that reallocates resources but doesn't
perform the entity reset.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/enum.h
drivers/net/ethernet/sfc/mcdi.c