diff options
author | Michael Chan <michael.chan@broadcom.com> | 2017-10-13 21:09:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-14 18:51:51 -0700 |
commit | e2dc9b6e38fa3919e63d6d7905da70ca41cbf908 (patch) | |
tree | eb106a36e8399cc9263287705f6f5ef8e01d7c84 /drivers/net/ethernet/ti/cpsw-common.c | |
parent | c213eae8d3cd4c026f348ce4fd64f4754b3acf2b (diff) |
bnxt_en: Don't use rtnl lock to protect link change logic in workqueue.
As a further improvement to the PF/VF link change logic, use a private
mutex instead of the rtnl lock to protect link change logic. With the
new mutex, we don't have to take the rtnl lock in the workqueue when
we have to handle link related functions. If the VF and PF drivers
are running on the same host and both take the rtnl lock and one is
waiting for the other, it will cause timeout. This patch fixes these
timeouts.
Fixes: 90c694bb7181 ("bnxt_en: Fix RTNL lock usage on bnxt_update_link().")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw-common.c')
0 files changed, 0 insertions, 0 deletions