diff options
author | Andrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru> | 2013-11-16 07:02:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-15 23:31:39 (GMT) |
commit | 9586c55a3b581ce95ddb7eaf4dd36c201a41f18c (patch) | |
tree | 08dbb414ec505983e2c9834fc32d6086f749f49f /block/blk-throttle.c | |
parent | 04b27016f879f062f30efd7361f22d650ede269d (diff) | |
download | linux-fsl-qoriq-9586c55a3b581ce95ddb7eaf4dd36c201a41f18c.tar.xz |
sfc: RX buffer allocation takes prefix size into account in IP header alignment
[ Upstream commit 2ec030144f648a6dd208f95f55ece212f1b72771 ]
rx_prefix_size is 4-bytes aligned on Falcon/Siena (16 bytes), but it is equal
to 14 on EF10. So, it should be taken into account if arch requires IP header
to be 4-bytes aligned (via NET_IP_ALIGN).
Fixes: 8127d661e77f ('sfc: Add support for Solarflare SFC9100 family')
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions