]> git.karo-electronics.de Git - linux-beck.git/commit
net: hns: modify tcam table of mac mc-port
authorQianqian Xie <xieqianqian@huawei.com>
Wed, 9 Nov 2016 18:13:57 +0000 (18:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2016 16:45:37 +0000 (11:45 -0500)
commit928971b6bc95ae13d2d77c2b7b265c379bf0189d
treebbdfca4cad9d8cd86b4ce4d3537ca329d95ccfa6
parent39a6c9ebcbc6b6c3f3aefbe5449eb45d78f2034f
net: hns: modify tcam table of mac mc-port

Little-endian is only supported by current tcam table to add
or delete mac mc-port. This patch makes it support both
Little-endian and Big-endian.

Signed-off-by: Qianqian Xie <xieqianqian@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>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c