]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0744e1ea702bf8e603ab9439d2b7aeb56aaa292
tree092efbd2e7e9257b100117268f0c6a355f1d49f4
parente61033f55747ab24bb39a33a42870bbe70c55d96
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