summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
diff options
context:
space:
mode:
authorAriel Elior2015-06-25 14:19:27 +0200
committerDavid S. Miller2015-06-25 15:30:37 +0200
commitdc6a20aa3bfcdd23cbc6e2aae79457397e6b6012 (patch)
tree2590c94a60263b91dee442ae5d22fee6b0c896f7 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
parentbnx2x: Fix self-test for 20g devices (diff)
downloadkernel-qcow2-linux-dc6a20aa3bfcdd23cbc6e2aae79457397e6b6012.tar.gz
kernel-qcow2-linux-dc6a20aa3bfcdd23cbc6e2aae79457397e6b6012.tar.xz
kernel-qcow2-linux-dc6a20aa3bfcdd23cbc6e2aae79457397e6b6012.zip
bnx2x: Fix statistics gathering on link change
Since driver statistics flow access MACs and those might reset during link re-configurations, when we're about to change link properties we have to make sure that statistics are not operational. Statisics would be re-enabled [i.e., gathering of statistics would re-commence] once physical link is achieved again. Since driver employs a link-flap avoidance scheme, there are scenarios where driver will receive no indication that the new link is up, and as a result the statistics would not be re-enabled. Preventing LFA from working in such cases would guarantee that we'll always receive such indications and thus will fix statistics gathering. Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c')
0 files changed, 0 insertions, 0 deletions