Re: [PATCH v2 net-next] net: hns3: Add mqprio hardware offload support in hns3 driver

2017-10-19 Thread David Miller
From: Yunsheng Lin Date: Tue, 17 Oct 2017 14:51:30 +0800 > When using tc qdisc, dcb_ops->setup_tc is used to tell hclge_dcb > module to do the tm related setup. Only TC_MQPRIO_MODE_CHANNEL > offload mode is supported. > > Signed-off-by: Yunsheng Lin Applied.

[PATCH v2 net-next] net: hns3: Add mqprio hardware offload support in hns3 driver

2017-10-16 Thread Yunsheng Lin
When using tc qdisc, dcb_ops->setup_tc is used to tell hclge_dcb module to do the tm related setup. Only TC_MQPRIO_MODE_CHANNEL offload mode is supported. Signed-off-by: Yunsheng Lin --- V2: 1. Add HCLGE_FLAG_MQPRIO_ENABLE to indicate offlaoding the mqprio. 2. Change to su