summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
diff options
context:
space:
mode:
authorVeerasenareddy Burru <veerasenareddy.burru@cavium.com>2018-03-10 00:17:35 -0800
committerDavid S. Miller <davem@davemloft.net>2018-03-12 11:00:42 -0400
commit87a7c4b3c3570feed2edb9478c3bdd474f43a239 (patch)
treeefface1c55592c1eefb670ef1a5ab83bc76f9618 /drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
parent8b4c6ed2ed0e3d53e93e20e3f20cadf0d1a47483 (diff)
downloadlinux-87a7c4b3c3570feed2edb9478c3bdd474f43a239.tar.bz2
liquidio: fix ndo_change_mtu to always return correct status to the caller
In a scenario where the command queued to firmware get dropped or times out, MTU change from host will not propagate to firmware. So, it is required for host driver to wait for response from firmware or timeout and then return correct status to caller of ndo_change_mtu. Also moved the common code for MTU change from PF and VF driver files to common file lio_core.c Signed-off-by: Veerasenareddy Burru <veerasenareddy.burru@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c')
0 files changed, 0 insertions, 0 deletions