net: hns: modify tcam table of mac mc-entry
authorQianqian Xie <xieqianqian@huawei.com>
Wed, 9 Nov 2016 18:13:58 +0000 (18:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2016 16:45:37 +0000 (11:45 -0500)
commit9d189b853cbca36453676d9152239715965c2a86
treedfa643ca9ccae1ce34c96f945c62d45136d722e6
parent928971b6bc95ae13d2d77c2b7b265c379bf0189d
net: hns: modify tcam table of mac mc-entry

The current definition of mac_mc_entry is only suitable for
Little-endian. Thus it needs to modify tcam table of mac mc-entry
to 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