summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
diff options
context:
space:
mode:
authorPeng Li2018-11-15 10:29:22 +0100
committerDavid S. Miller2018-11-15 18:44:46 +0100
commite5597095055622c248c2f5135a5328f86ac6bb14 (patch)
treecb48a1a6dd9ddcda93096a7e725e47fa6d32ee33 /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
parentnet: hns3: Enable HW GRO for Rev B(=0x21) HNS3 hardware (diff)
downloadkernel-qcow2-linux-e5597095055622c248c2f5135a5328f86ac6bb14.tar.gz
kernel-qcow2-linux-e5597095055622c248c2f5135a5328f86ac6bb14.tar.xz
kernel-qcow2-linux-e5597095055622c248c2f5135a5328f86ac6bb14.zip
net: hns3: Add handling of GRO Pkts not fully RX'ed in NAPI poll
The "FE bit" in the description means the last description for a packets. When HW GRO enable, HW write data to ring every packet/buffer, there is greater probability that driver handle with the describtion but HW still not set the "FE bit". When drier handle the packet and HW still not set "FE bit", driver stores skb and bd_num in rx ring, and continue to use the skb and bd_num in next napi. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c')
0 files changed, 0 insertions, 0 deletions