]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add l4_type check for both ipv4 and ipv6
authorPeng Li <lipeng321@huawei.com>
Thu, 28 Jun 2018 04:12:22 +0000 (12:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2018 02:06:34 +0000 (11:06 +0900)
commitf269221cc0adc8e420ae874dc25c94aa3bd8d238
tree4a66e9043d020aaf383a0fde4abc7e46dcdb7a88
parent40e458359720c2555bdf2f54fa26b270c20341e1
net: hns3: add l4_type check for both ipv4 and ipv6

HW supports UDP, TCP and SCTP packets checksum for both ipv4 and
ipv6,  but do not support other type packets checksum for ipv4 or
ipv6.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c