net: hns3: add default value for tc_size and tc_offset
authorPeng Li <lipeng321@huawei.com>
Thu, 4 Jul 2019 14:04:26 +0000 (22:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jul 2019 22:39:38 +0000 (15:39 -0700)
commit354d0fab649d47045517cf7cae03d653a4dcb3b8
treeeea005726cb5ff6a73da65baec965c1e700ffb7c
parent0bae5cf25d66156ae3eb9ca20a1ad9bc4aa35a6d
net: hns3: add default value for tc_size and tc_offset

This patch adds default value for tc_size and tc_offset, or it may
get random value and used later.

Signed-off-by: Peng Li <lipeng321@huawei.com>
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