summaryrefslogtreecommitdiff
path: root/netsniff-ng
AgeCommit message (Expand)AuthorFilesLines
2013-05-13ring: break out timestamping since not directly relatedDaniel Borkmann1-0/+1
2013-03-15netsniff-ng trafgen: Find libnl-3.0 and libnl-genl-3.0 using pkg-configPeter Stuge1-2/+2
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann2-0/+54
/option>space:mode:
authorLars Persson <lars.persson@axis.com>2016-02-29 16:22:31 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-02 14:57:14 -0500
commitd4dc35f26e1017e2a632339ecae43706cbc06986 (patch)
tree30f67f7dab8e59c32d42a949521972cb5a5dae6e /drivers/net/ethernet/synopsys/dwc_eth_qos.c
parent8afb6c474b0dd8f9cf7e122a19c71924566fdb97 (diff)
dwc_eth_qos: release descriptors outside netif_tx_lock
To prepare for using the CMA, we can not be in atomic context when de-allocating DMA buffers. The tx lock was needed only to protect the hw reset against the xmit handler. Now we briefly grab the tx lock while stopping the queue to make sure no thread is inside or will enter the xmit handler. Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/synopsys/dwc_eth_qos.c')