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)
commit9f5a9816065f92683fd5f23cd8ec98719f20144f
tree9fbf41dd9b1e7d6a2cc12fc1270aa241fe479010
parent9516352150c0cb896b3de3997b1dfe43fb96d8a5
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