aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-08-26 22:52:36 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-26 14:33:28 -0700
commit3c95e5013b7f204a03757691367857b7b668163a (patch)
treec98c94dd3228237c755a41dff3f6a8c806760c58 /drivers/net/ethernet/netronome
parentMerge branch 'cls-hw-offload-rtnl' (diff)
downloadlinux-dev-3c95e5013b7f204a03757691367857b7b668163a.tar.xz
linux-dev-3c95e5013b7f204a03757691367857b7b668163a.zip
r8169: improve DMA handling in rtl_rx
Move the call to dma_sync_single_for_cpu after calling napi_alloc_skb. This avoids calling dma_sync_single_for_cpu w/o handing control back to device if the memory allocation should fail. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome')
0 files changed, 0 insertions, 0 deletions