net: hns: modify table index to get mac entry

Big-endian is not supported by the current definition of table index to get
mac entry. It needs to be modified to support both Little-endian
and Big-endian.

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