Re: [PATCH v2 net-next 1/9] MAINTAINERS: add maintainers for hns driver

2016-06-30 Thread Daode Huang
On 2016/6/30 18:48, Joe Perches wrote: On Thu, 2016-06-30 at 15:25 +0800, Yisen Zhuang wrote: From: Daode Huang <huangda...@hisilicon.com> This patch adds maintainers for hisilicon network subsystem driver [] diff --git a/MAINTAINERS b/MAINTAINERS [] @@ -5421,6 +5421,1

Re: [PATCH net-next 6/9] net: hns: normalize two different loop

2016-06-27 Thread Daode Huang
On 2016/6/27 20:13, Andy Shevchenko wrote: On Mon, 2016-06-27 at 05:08 -0700, Joe Perches wrote: On Mon, 2016-06-27 at 15:00 +0300, Andy Shevchenko wrote: On Mon, 2016-06-27 at 04:49 -0700, Joe Perches wrote: On Mon, 2016-06-27 at 17:54 +0800, Yisen Zhuang wrote: From: Daode Huang <huan

Re: [PATCH V2 net 0/6] net: hns: hns driver updates

2016-03-15 Thread Daode Huang
wrote: From: Daode Huang <huangda...@hisilicon.com> Date: Tue, 15 Mar 2016 09:56:02 +0800 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 th

Re: [PATCH V2 net 0/6] net: hns: hns driver updates

2016-03-14 Thread Daode Huang
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

Re: [PATCH net 3/6] net: hns: fixed portid bug in sending manage pkt

2016-03-13 Thread Daode Huang
On 2016/3/11 21:29, Sergei Shtylyov wrote: Hello. On 3/11/2016 4:53 AM, Daode Huang wrote: In V2 chip, when sending mamagement packets, the driver should config the port id to BD descs. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Lisheng <lisheng...@h

[PATCH V2 net 2/6] net: hns: fixes the hw interrupt bug in using napi

2016-03-11 Thread Daode Huang
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 <h

[PATCH V2 net 1/6] net: hns: bug fix about the overflow of mss

2016-03-11 Thread Daode Huang
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 <huangda...@hisilicon.com> --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 17 -

[PATCH V2 net 0/6] net: hns: hns driver updates

2016-03-11 Thread Daode Huang
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 <sergei.shtyl...@cogentembedded.com> in [patch 3/6] [patch 4/6]. v1: initial version. Daode Hu

[PATCH V2 net 6/6] net: hns: bug fix of getting hilink status

2016-03-11 Thread Daode Huang
fixes the bug. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Sheng Li <lisheng...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 41 -- drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 2 ++ 2 files changed, 24 inser

[PATCH V2 net 3/6] net: hns: fixed portid bug in sending manage pkt

2016-03-11 Thread Daode Huang
In V2 chip, when sending mamagement packets, the driver should config the port id to BD descs. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Sheng Li <lisheng...@huawei.com> --- v2: add space after /* and before */. --- drivers/net/ethernet/hisilicon/hns/hnae.h

[PATCH V2 net 4/6] net: hns: adds uc match for debug port

2016-03-11 Thread Daode Huang
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 <huangda...@hisilicon.com> Signed-off-by: Peng Li <lipeng...@huawei.com> --- changlog: v2: fix the SoB name an

[PATCH V2 net 5/6] net: hns: fixed service-ges setting MAC-addr bug

2016-03-11 Thread Daode Huang
from: Sheng Li <lisheng...@huawei.com> Service gmacs can not set mac add, this patch will fix the bug. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Sheng Li <lisheng...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 19 +

Re: [PATCH net 4/6] net: hns: adds uc match for debug port

2016-03-10 Thread Daode Huang
On 2016/3/4 21:39, Sergei Shtylyov wrote: On 3/4/2016 4:09 AM, Daode Huang wrote: 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 <huangda...@hisilicon.com> Sign

Re: [PATCH net 3/6] net: hns: fixed portid bug in sending manage pkt

2016-03-10 Thread Daode Huang
On 2016/3/4 21:37, Sergei Shtylyov wrote: Hello. On 3/4/2016 4:09 AM, Daode Huang wrote: In V2 chip, when sending mamagement packets, the driver should config the port id to BD descs. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Lisheng <lisheng...@h

[PATCH net 6/6] net: hns: bug fix of getting hilink status

2016-03-03 Thread Daode Huang
r addr is also changed. So this patch fixes the bug. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Lisheng <lisheng...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 39 +++--- drivers/net/ethernet/hisilicon/hns/hns_dsaf

[PATCH net 2/6] net: hns: fixes the hw interrupt bug in using napi

2016-03-03 Thread Daode Huang
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 <h

[PATCH net 5/6] net: hns: fixed service-ges setting MAC-addr bug

2016-03-03 Thread Daode Huang
From: Lisheng <lisheng...@huawei.com> Service gmacs can not set mac add, this patch will fix the bug. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Lisheng <lisheng...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 19 +

[PATCH net 0/6]net: hns: hns driver updates

2016-03-03 Thread Daode Huang
Hi David, This patch series are hisilicon network driver bug fix. Best Regards Daode. Daode Huang (5): 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

[PATCH net 3/6] net: hns: fixed portid bug in sending manage pkt

2016-03-03 Thread Daode Huang
In V2 chip, when sending mamagement packets, the driver should config the port id to BD descs. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Lisheng <lisheng...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hnae.h | 3 +++ drivers/net/ethernet/h

[PATCH net 4/6] net: hns: adds uc match for debug port

2016-03-03 Thread Daode Huang
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 <huangda...@hisilicon.com> Signed-off-by: lipeng <lipeng...@huawei.com> --- drivers/net/ethernet/h

[PATCH net 1/6] net: hns: bug fix about the overflow of mss

2016-03-03 Thread Daode Huang
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 <huangda...@hisilicon.com> --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 17 -

Re: [PATCH net 0/6]net: hns: hns driver updates

2016-03-03 Thread Daode Huang
sorry. please ignore this mail, i will send out it again. On 2016/3/4 9:09, Daode Huang wrote: Hi David, This patch series are hisilicon network driver bug fix. Best Regards Daode. Daode Huang (5): net: hns: bug fix about the overflow of mss net: hns: fixes the hw interrupt bug in using

[PATCH net 6/6] net: hns: bug fix of getting hilink status

2016-03-03 Thread Daode Huang
r addr is also changed. So this patch fixes the bug. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Lisheng <lisheng...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 39 +++--- drivers/net/ethernet/hisilicon/hns/hns_dsaf

[PATCH net 3/6] net: hns: fixed portid bug in sending manage pkt

2016-03-03 Thread Daode Huang
In V2 chip, when sending mamagement packets, the driver should config the port id to BD descs. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Lisheng <lisheng...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hnae.h | 3 +++ drivers/net/ethernet/h

[PATCH net 4/6] net: hns: adds uc match for debug port

2016-03-03 Thread Daode Huang
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 <huangda...@hisilicon.com> Signed-off-by: lipeng <lipeng...@huawei.com> --- drivers/net/ethernet/h

[PATCH net 5/6] net: hns: fixed service-ges setting MAC-addr bug

2016-03-03 Thread Daode Huang
From: Lisheng <lisheng...@huawei.com> Service gmacs can not set mac add, this patch will fix the bug. Signed-off-by: Daode Huang <huangda...@hisilicon.com> Signed-off-by: Lisheng <lisheng...@huawei.com> --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 19 +

[PATCH net 0/6]net: hns: hns driver updates

2016-03-03 Thread Daode Huang
Hi David, This patch series are hisilicon network driver bug fix. Best Regards Daode. Daode Huang (5): 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

[PATCH net 2/6] net: hns: fixes the hw interrupt bug in using napi

2016-03-03 Thread Daode Huang
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 <h

[PATCH net 1/6] net: hns: bug fix about the overflow of mss

2016-03-03 Thread Daode Huang
-off-by: Daode Huang <huangda...@hisilicon.com> --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet/hisilicon/hns/hns_enet.c index 3