forked from kevintraynor/dpdk-stable-queue-1811
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit d4fdb71 ] Currently, hns3 driver doesn't support to flow control auto-negotiation. The FC mode requested by user is the same as the current FC mode. It is not necessary to maintain the current FC mode. We only report the current FC mode based on actual flow control mode in hns3_flow_ctrl_get(). This patch removes this redundant field. In addition, "requested_mode" in hns3_hw struct indicates the FC mode requested by user, and the name is unreasonable. It needs to be modified to "requested_fc_mode". Fixes: 62e3ccc ("net/hns3: support flow control") Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
- Loading branch information
1 parent
67069d4
commit 1848a73
Showing
3 changed files
with
19 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters