Hi Dave,
This patch series are hisilicon network driver bug fix.
please merge them to the net repo.
Thanks
Daode Huang
---
changlog
v2: some minor change according to
MBR Sergei [off-list ref] in
[patch 3/6] [patch 4/6].
v1: initial version.
Daode Huang (6):
net: hns: bug fix about the overflow of mss
net: hns: fixes the hw interrupt bug in using napi
net: hns: fixed portid bug in sending manage pkt
net: hns: adds uc match for debug port
net: hns: fixed service-ges setting MAC-addr bug
net: hns: bug fix of getting hilink status
drivers/net/ethernet/hisilicon/hns/hnae.h | 3 ++
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 1 +
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 29 +++++++++++----
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 41 ++++++++++++----------
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 4 +++
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 32 +++++++++--------
6 files changed, 70 insertions(+), 40 deletions(-)
--
1.9.1
from: Sheng Li <redacted>
Service gmacs can not set mac add, this patch will fix the bug.
Signed-off-by: Daode Huang <redacted>
Signed-off-by: Sheng Li <redacted>
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
This patch adds uc match for debug port by:
1)Enables uc match of debug port when initializing gmac
2)Enables uc match of mac address register2
Signed-off-by: Daode Huang <redacted>
Signed-off-by: Peng Li <redacted>
---
changlog:
v2: fix the SoB name and code sytle according to Sergei .
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 18 +++++++++++++++++-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 2 ++
2 files changed, 19 insertions(+), 1 deletion(-)
There are some differences in hilink status defination between
v1 and v2 chips.
for v1 chip, all ports connected to the same hilink share the same
hilink status register bit.
but for v2, all ports have separately hilink status register bit. And
the register addr is also changed.
So this patch fixes the bug.
Signed-off-by: Daode Huang <redacted>
Signed-off-by: Sheng Li <redacted>
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 41 ++++++++++++----------
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 2 ++
2 files changed, 24 insertions(+), 19 deletions(-)
In V2 chip, when sending mamagement packets, the driver should
config the port id to BD descs.
Signed-off-by: Daode Huang <redacted>
Signed-off-by: Sheng Li <redacted>
---
v2: add space after /* and before */.
---
drivers/net/ethernet/hisilicon/hns/hnae.h | 3 +++
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 1 +
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 6 +++++-
3 files changed, 9 insertions(+), 1 deletion(-)
@@ -516,6 +518,7 @@ struct hnae_handle {intq_num;intvf_id;u32eport_id;+u32dport_id;/* v2 tx bd should fill the dport_id */enumhnae_port_typeport_type;structlist_headnode;/* list to hnae_ae_dev->handle_list */structhnae_buf_ops*bops;/* operation for the buffer */
When set MTU to the minimum value 68, there are increasing number
of error packets occur, which is caused by the overflowed value of
mss. This patch fix the bug.
Signed-off-by: Daode Huang <redacted>
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
In V1 chip, common_poll should check and clean fbd pkts, because it
can not pend irq to clean them if there is no new pkt comes in.
But V2 chip hw fixes this bug, and will pend irq itself to do this.
So, for V2 chip, we set ring_data->fini_process to NULL.
Signed-off-by: Daode Huang <redacted>
Signed-off-by: Sheng Li <redacted>
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Hi Dave,
Could you please help me to review this patch set?
I am so sorry to send the patches in parallel to you, which increases
you workload,
So next time we will pay more attention to it, and learn more about
kernel patch submitting.
Thanks.
MBR, Daode
On 2016/3/11 17:10, Daode Huang wrote:
Hi Dave,
This patch series are hisilicon network driver bug fix.
please merge them to the net repo.
Thanks
Daode Huang
---
changlog
v2: some minor change according to
MBR Sergei [off-list ref] in
[patch 3/6] [patch 4/6].
v1: initial version.
Daode Huang (6):
net: hns: bug fix about the overflow of mss
net: hns: fixes the hw interrupt bug in using napi
net: hns: fixed portid bug in sending manage pkt
net: hns: adds uc match for debug port
net: hns: fixed service-ges setting MAC-addr bug
net: hns: bug fix of getting hilink status
drivers/net/ethernet/hisilicon/hns/hnae.h | 3 ++
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 1 +
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 29 +++++++++++----
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 41 ++++++++++++----------
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 4 +++
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 32 +++++++++--------
6 files changed, 70 insertions(+), 40 deletions(-)
Could you please help me to review this patch set?
I am not reviewing anything until you guys sort out your submission
scheme, and resend these fresh using that central maintainer.
I am also not the only person in the world who is supposed to review
all of this stuff, other developers need to help with the review
process as well.
So it is never appropriate to ask me, and only me, to review your
work.
Thanks.
hi Dave,
Thanks for your reply, I am so sorry to interrupt your work.
Yes, the patch set should be reviewed by all the other developers.
I should not only ask you to review the patch.
I will resend all these patch after 4.6-rc-1 is released.
Thanks.
Daode.
.
On 2016/3/15 10:45, David Miller wrote:
Could you please help me to review this patch set?
I am not reviewing anything until you guys sort out your submission
scheme, and resend these fresh using that central maintainer.
I am also not the only person in the world who is supposed to review
all of this stuff, other developers need to help with the review
process as well.
So it is never appropriate to ask me, and only me, to review your
work.
Thanks.
.