[Linuxarm] [RESEND net 3/3] net: hns3: fix bug when calculating the TCAM table info