summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2020-12-10 11:42:07 +0800
committerDavid S. Miller <davem@davemloft.net>2020-12-09 20:33:19 -0800
commit5a5c9091746749d9e16ff807035a940ca0ae4941 (patch)
tree026f55383fcee49ab9ac932aa92953a2fa749411 /drivers/phy
parent35244430d62422e96b4c9c9b4c00c0ebece91d73 (diff)
downloadlinux-5a5c9091746749d9e16ff807035a940ca0ae4941.tar.bz2
net: hns3: add support for tc mqprio offload
Currently, the HNS3 driver only supports offload for tc number and prio_tc. This patch adds support for other qopts, including queues count and offset for each tc. When enable tc mqprio offload, it's not allowed to change queue numbers by ethtool. For hardware limitation, the queue number of each tc should be power of 2. For the queues is not assigned to each tc by average, so it's should return vport->alloc_tqps for hclge_get_max_channels(). Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions