summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorGuojia Liao <liaoguojia@huawei.com>2020-12-06 12:06:13 +0800
committerJakub Kicinski <kuba@kernel.org>2020-12-08 11:58:52 -0800
commitc43abe1a5f83d3afe39f9aea99edfd594add705c (patch)
treefddbe07c7ce5931d3a23df5dc425851832600970 /block
parentbdc40a3f4b4f967e6411ee389f062d52a2686eca (diff)
net: hns3: add support for extended promiscuous command
For DEVICE_VERSION_V2, the hardware supports enable tx and rx promiscuous separately. But tx or rx promiscuous is active for unicast, multicast and broadcast promiscuous simultaneously. To support traffics between functions belong to the same port, we always enable tx promiscuous for broadcast promiscuous, so tx promiscuous for unicast and multicast promiscuous is also enabled. For DEVICE_VERSION_V3, the hardware decouples the above relationship. Tx unicast promiscuous, rx unicast promiscuous, tx multicast promiscuous, rx multicast promiscuous, tx broadcast promiscuous and rx broadcast promiscuous can be enabled separately. So add support for the new promiscuous command. Signed-off-by: Guojia Liao <liaoguojia@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions