net-next/hinic:add rx checksum offload for HiNIC
authorXue Chaojing <xuechaojing@huawei.com>
Tue, 20 Nov 2018 05:47:32 +0000 (05:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 18:38:08 +0000 (10:38 -0800)
commit4a61abb100c8a647959147034f60e9fce17ce9af
tree22cb4e021ce58dc605f0fef411f961a69cf55bef
parentebda9b46cebc9c1245fcfe96c76525717ef984cc
net-next/hinic:add rx checksum offload for HiNIC

In order to improve performance, this patch adds rx checksum offload
for the HiNIC driver. Performance test(Iperf) shows more than 80%
improvement in TCP streams.

Signed-off-by: Xue Chaojing <xuechaojing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h
drivers/net/ethernet/huawei/hinic/hinic_main.c
drivers/net/ethernet/huawei/hinic/hinic_port.c
drivers/net/ethernet/huawei/hinic/hinic_port.h
drivers/net/ethernet/huawei/hinic/hinic_rx.c
drivers/net/ethernet/huawei/hinic/hinic_rx.h