net: hns: fix ICMP6 neighbor solicitation messages discard problem
authorYonglong Liu <liuyonglong@huawei.com>
Thu, 4 Apr 2019 08:46:45 +0000 (16:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Apr 2019 17:35:42 +0000 (10:35 -0700)
commitf058e46855dcbc28edb2ed4736f38a71fd19cadb
treebaa697ac1b6fbc2a27f2b2dc858e0cf811060aed
parentc0b0984426814f3a9251873b689e67d34d8ccd84
net: hns: fix ICMP6 neighbor solicitation messages discard problem

ICMP6 neighbor solicitation messages will be discard by the Hip06
chips, because of not setting forwarding pool. Enable promisc mode
has the same problem.

This patch fix the wrong forwarding table configs for the multicast
vague matching when enable promisc mode, and add forwarding pool
for the forwarding table.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c