summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
diff options
context:
space:
mode:
authorMichael Chan2017-10-14 03:09:29 +0200
committerDavid S. Miller2017-10-15 03:51:51 +0200
commitc213eae8d3cd4c026f348ce4fd64f4754b3acf2b (patch)
tree4725edaaa3606846a7457cd9ee0d17e8a222dc86 /drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
parentnet: dsa: mv88e6060: fix switch MAC address (diff)
downloadkernel-qcow2-linux-c213eae8d3cd4c026f348ce4fd64f4754b3acf2b.tar.gz
kernel-qcow2-linux-c213eae8d3cd4c026f348ce4fd64f4754b3acf2b.tar.xz
kernel-qcow2-linux-c213eae8d3cd4c026f348ce4fd64f4754b3acf2b.zip
bnxt_en: Improve VF/PF link change logic.
Link status query firmware messages originating from the VFs are forwarded to the PF. The driver handles these interactions in a workqueue for the VF and PF. The VF driver waits for the response from the PF in the workqueue. If the PF and VF driver are running on the same host and the work for both PF and VF are queued on the same workqueue, the VF driver may not get the response if the PF work item is queued behind it on the same workqueue. This will lead to the VF link query message timing out. To prevent this, we create a private workqueue for PFs instead of using the common workqueue. The VF query and PF response will never be on the same workqueue. Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c')
0 files changed, 0 insertions, 0 deletions