net: hns: modify tcam table of mask_key

The packets of wrong mac address(only the last bit is different) can be
received in Big-endian by current definition of mask_key. Thus it needs
to be modified to support Big-endian and ensure Big-endian normal.

Signed-off-by: Qianqian Xie <>
Reviewed-by: Yisen Zhuang <>
Signed-off-by: Salil Mehta <>
Signed-off-by: David S. Miller <>
1 file changed