sfc: RX buffer allocation takes prefix size into account in IP header alignment
authorAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Sat, 16 Nov 2013 07:02:27 +0000 (11:02 +0400)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 6 Dec 2013 22:27:52 +0000 (22:27 +0000)
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>

No differences found