aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas/ravb_main.c
diff options
context:
space:
mode:
authorManish Chopra <manish.chopra@qlogic.com>2016-03-15 07:13:45 -0400
committerDavid S. Miller <davem@davemloft.net>2016-03-18 19:15:50 -0400
commit2c9a266afefe137bff06bbe0fc48b4d3b3cb348c (patch)
tree729bfe99edc02b184cf933b9e797202c9ef6ec18 /drivers/net/ethernet/renesas/ravb_main.c
parentnet: stmmac: Don't search for phys if mdio node is defined. (diff)
downloadlinux-dev-2c9a266afefe137bff06bbe0fc48b4d3b3cb348c.tar.xz
linux-dev-2c9a266afefe137bff06bbe0fc48b4d3b3cb348c.zip
qlge: Fix receive packets drop.
When running small packets [length < 256 bytes] traffic, packets were being dropped due to invalid data in those packets which were delivered by the driver upto the stack. Using pci_dma_sync_single_for_cpu ensures copying latest and updated data into skb from the receive buffer. Signed-off-by: Sony Chacko <sony.chacko@qlogic.com> Signed-off-by: Manish Chopra <manish.chopra@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/ravb_main.c')
0 files changed, 0 insertions, 0 deletions