|
@@ -941,7 +941,7 @@ static void enic_rq_indicate_buf(struct vnic_rq *rq,
|
|
|
|
|
|
if (enic->vlan_group && vlan_stripped) {
|
|
|
|
|
|
- if (ENIC_SETTING(enic, LRO))
|
|
|
+ if (ENIC_SETTING(enic, LRO) && ipv4)
|
|
|
lro_vlan_hwaccel_receive_skb(&enic->lro_mgr,
|
|
|
skb, enic->vlan_group,
|
|
|
vlan, cq_desc);
|
|
@@ -951,7 +951,7 @@ static void enic_rq_indicate_buf(struct vnic_rq *rq,
|
|
|
|
|
|
} else {
|
|
|
|
|
|
- if (ENIC_SETTING(enic, LRO))
|
|
|
+ if (ENIC_SETTING(enic, LRO) && ipv4)
|
|
|
lro_receive_skb(&enic->lro_mgr, skb, cq_desc);
|
|
|
else
|
|
|
netif_receive_skb(skb);
|