]> 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)
commit095e2df7dd837c80ab4645b6d6695b93652aaa51
treee72c500633a5bb9f6acea1e13b875340a978c10f
parent78c7f42ac1d624bfa4a5a264fedd80915cc469df
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