diff options
author | Manish Chopra <manish.chopra@qlogic.com> | 2016-03-15 07:13:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-20 15:42:04 +0900 |
commit | a5ce25f61bce0ffb1ff59071c06b948277c90a28 (patch) | |
tree | 70c52a56caddee47b498ac4aa980499dda74f541 /tools/scripts | |
parent | bd33d14acf43bdb040f203555b13765cd2b23d9e (diff) |
qlge: Fix receive packets drop.
[ Upstream commit 2c9a266afefe137bff06bbe0fc48b4d3b3cb348c ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions