commit | 2c9a266afefe137bff06bbe0fc48b4d3b3cb348c | [log] [tgz] |
---|---|---|
author | Manish Chopra <manish.chopra@qlogic.com> | Tue Mar 15 07:13:45 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 18 19:15:50 2016 -0400 |
tree | 729bfe99edc02b184cf933b9e797202c9ef6ec18 | |
parent | cc2fa619a738a052eb90ccbbbc48947a2e2aa1d3 [diff] |
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>