]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Support for dynamically assigning tx buffer to TC
authorYunsheng Lin <linyunsheng@huawei.com>
Wed, 27 Sep 2017 01:45:23 +0000 (09:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:35:11 +0000 (10:35 -0700)
commit23d8cb26ea57f18397cf54ddf525a8b5ac2a2d89
treee72c500633a5bb9f6acea1e13b875340a978c10f
parent3ab845eb496645b7d84e9b1da82e22adeec08c2b
net: hns3: Support for dynamically assigning tx buffer to TC

This patch add support of dynamically assigning tx buffer to
TC when the TC is enabled.
It will save buffer for rx direction to avoid packet loss.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c