net: hns: Incorrect offset address used for some registers.
authorYonglong Liu <liuyonglong@huawei.com>
Sat, 15 Dec 2018 03:53:20 +0000 (11:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2018 20:07:31 +0000 (12:07 -0800)
commit4e1d4be681b2c26fd874adbf584bf034573ac45d
tree0b645443a40520141b7b463fda7c5be95edf2b9a
parent8203e2d844d34af247a151d8ebd68553a6e91785
net: hns: Incorrect offset address used for some registers.

According to the hip06 Datasheet:
1. The offset of INGRESS_SW_VLAN_TAG_DISC should be 0x1A00+4*all_chn_num
2. The offset of INGRESS_IN_DATA_STP_DISC should be 0x1A50+4*all_chn_num

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c