]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refactor hclge_config_tso()
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 28 May 2020 13:48:10 +0000 (21:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:39:03 +0000 (16:39 -0700)
commitd25979c7d407f1e76fa660039bbc6dd83fb36acf
tree9fbf41dd9b1e7d6a2cc12fc1270aa241fe479010
parent988762292bc1e574fa0d74371f8fe5f402fc862f
net: hns3: refactor hclge_config_tso()

Since parameters 'tso_mss_min' and 'tso_mss_max' only indicate
the minimum and maximum MSS, the hnae3_set_field() calls are
meaningless, remove them and change the type of these two
parameters to u16.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c