summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns_mdio.c
diff options
context:
space:
mode:
authorKejian Yan <yankejian@huawei.com>2016-11-09 21:13:47 +0300
committerDavid S. Miller <davem@davemloft.net>2016-11-10 19:45:37 +0300
commit1f5fa2dd1cfa4c1356e83ff4bdd82561cad95278 (patch)
treebb9c20adb0912550ad89ed206740f64c3c7c9302 /drivers/net/ethernet/hisilicon/hns_mdio.c
parent153b1d48707eff876c1e0d72bb1e3dcd99613729 (diff)
downloadlinux-1f5fa2dd1cfa4c1356e83ff4bdd82561cad95278.tar.xz
net: hns: fix for promisc mode in HNS driver
If set promisc mode when there is some traffic, The service nic will cause system halted. We reserve the last 6 tcam entry for the 6 ports. If promisc mode is enabled, we can config the relative tcam as fuzzy matching and set to be valid, or set the tcam to be invalid Signed-off-by: Kejian Yan <yankejian@huawei.com> Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns_mdio.c')
0 files changed, 0 insertions, 0 deletions