aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorlipeng <[email protected]>2017-04-01 11:03:38 +0000
committerDavid S. Miller <[email protected]>2017-04-03 21:48:43 +0000
commitf2aaed557ecff57f7523f889acf1981fb23c4047 (patch)
tree6ff4b970f8d2a19e6971cb8cc2bd9252f090bc73 /lib/memory-notifier-error-inject.c
parentnet: hns: Fix to adjust buf_size of ring according to mtu (diff)
downloadkernel-f2aaed557ecff57f7523f889acf1981fb23c4047.tar.gz
kernel-f2aaed557ecff57f7523f889acf1981fb23c4047.zip
net: hns: Replace netif_tx_lock to ring spin lock
netif_tx_lock is a global spin lock, it will take affect in all rings in the netdevice. In tx_poll_one process, it can only lock the current ring, in this case, we define a spin lock in hnae_ring struct for it. Signed-off-by: lipeng <[email protected]> reviewed-by: Yisen Zhuang <[email protected]> Signed-off-by: Salil Mehta <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions