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

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