myr10ge: again fix lro_gen_skb() alignment
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 15 Apr 2009 09:26:49 +0000 (02:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Apr 2009 09:29:33 +0000 (02:29 -0700)
Add LRO alignment initially committed in
621544eb8c3beaa859c75850f816dd9b056a00a3 ("[LRO]: fix lro_gen_skb()
alignment") and removed in 0dcffac1a329be69bab0ac604bf7283737108e68
("myri10ge: add multislices support") during conversion to
multi-slice.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/myri10ge/myri10ge.c

index 9eed126a82f0009e30464d432eb5e43670e02b99..f2c4a665e93f3d89cf1e0dcaf679f92f3aac681a 100644 (file)
@@ -2447,6 +2447,7 @@ static int myri10ge_open(struct net_device *dev)
                lro_mgr->lro_arr = ss->rx_done.lro_desc;
                lro_mgr->get_frag_header = myri10ge_get_frag_header;
                lro_mgr->max_aggr = myri10ge_lro_max_pkts;
+               lro_mgr->frag_align_pad = 2;
                if (lro_mgr->max_aggr > MAX_SKB_FRAGS)
                        lro_mgr->max_aggr = MAX_SKB_FRAGS;