mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
myr10ge: again fix lro_gen_skb() alignment
Add LRO alignment initially committed in621544eb8c("[LRO]: fix lro_gen_skb() alignment") and removed in0dcffac1a3("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>
This commit is contained in:
parent
ad5a24e094
commit
636d2f68a0
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue