aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cavium/octeon
diff options
context:
space:
mode:
authorVadim Lomovtsev <vlomovtsev@marvell.com>2019-02-20 11:02:43 +0000
committerDavid S. Miller <davem@davemloft.net>2019-02-22 11:43:44 -0800
commit2ecbe4f4a027890a5d74a5100075aa6a373bea2c (patch)
treebef3411a1e1ffb00811d7c498f0090286b80a59d /drivers/net/ethernet/cavium/octeon
parentnet: thunderx: correct typo in macro name (diff)
downloadlinux-dev-2ecbe4f4a027890a5d74a5100075aa6a373bea2c.tar.xz
linux-dev-2ecbe4f4a027890a5d74a5100075aa6a373bea2c.zip
net: thunderx: replace global nicvf_rx_mode_wq work queue for all VFs to private for each of them.
Having one work queue for receive mode configuration ndo_set_rx_mode() call for all VFs results in making each of them wait till the set_rx_mode() call completes for another VF if any of close, set receive mode and change flags calls being already invoked. Potentially this could cause device state change before appropriate call of receive mode configuration completes, so the call itself became meaningless, corrupt data or break configuration sequence. We don't need any delays in NIC VF configuration sequence so having delayed work call with 0 delay has no sense. This commit is to implement one work queue for each NIC VF for set_rx_mode task and to let them work independently and replacing delayed_work with work_struct. Signed-off-by: Vadim Lomovtsev <vlomovtsev@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/octeon')
0 files changed, 0 insertions, 0 deletions