The change is for supporting pause in V2 chip:
service ports can close pause-rx;
debug ports can open pause-rx/tx.
Lisheng (2):
net: hns: fixed the pause ctl bug
net: hns: update pause regs to dump function
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 20
Add two new regs to dump and stats function:
DSAF_PAUSE_CFG_REG
DSAFV2_INODE_FINAL_IN_PAUSE_NUM_0_REG.
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 22 +-
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a
The patch is support pause in V2 chip, that are forbidden in V1 chip:
1) service ports can disable rx pause frame.
2) debug ports can open tx/rx pause frame.
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 20 +++--
drivers/net/ethernet
In V2 chip,we can set overtime reg is for each port,
that is differents from for all port in V1.
This patch will modify some functions: set/get the reg.
Lisheng (3):
net: hns: fixed the setting overtime bug
net: hns: modified dump overtime regs
net: hns: fixed set-coalesce-usecs return void
In V2 chip, the timeover reg_addr is different from V1;
And there are 6 regs for service ports,that is different from V1.
In dump regs function, should also fix this change.
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 16
1 file changed, 12
Seting coalesce time maybe return err,
and ethtool should process the err.
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hnae.h | 2 +-
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +++---
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 6 --
3 files
In V2 chip,we can set overtime reg is for each port,
that is differents from for all port in V1.
This patch will modify some functions: set/get the reg.
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 60 +++-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
7 matches
Mail list logo