OSDN Git Service

net: hns3: Adds GRO params to SKB for the stack
authorPeng Li <lipeng321@huawei.com>
Thu, 15 Nov 2018 09:29:25 +0000 (09:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2018 17:44:46 +0000 (09:44 -0800)
commita6d53b97a2e7a70220658dcb3ca06206867a393e
treee36e8eb00fb2b7eb6f7970d9d4d29ac1dbf5d18d
parent81ae0e0491f31775d086e24a7cd2a4a4ec29f346
net: hns3: Adds GRO params to SKB for the stack

When HW GRO enable, protocol stack will not do GRO again,
driver should add gro param to the skb for the protocol
stack..

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>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h