Usage of strlcpy in linux kernel has been recently deprecated[1], so
convert gve driver to strscpy
[1] https://lore.kernel.org/lkml/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL
=v6a6g1ouzcprm...@mail.gmail.com/
Signed-off-by: Daode Huang
---
drivers/net/ethernet/google/gve/gve_ethtool.c | 6 +++---
1
fix the WARNING of Possible repeated word: 'allowed'
Signed-off-by: Daode Huang
---
drivers/net/ethernet/google/gve/gve_ethtool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/google/gve/gve_ethtool.c
b/drivers/net/ethernet/google/gve/gve
This patch set replace deprecated strlcpy by strscpy, remove
repeat word "allowed" in gve driver.
for more details, please refer to each patch.
Daode Huang (2):
net: gve: convert strlcpy to strscpy
net: gve: remove duplicated allowed
drivers/net/ethernet/google/gve/gve_eth
This set try to remove the unnecessary output message, add a blank line,
remove the dupliate word and change the deprecated strlcp functions in
hinic driver, for details, please refer to each patch.
Daode Huang (4):
net: hinic: Remove unnecessary 'out of memory' message
net: hi
This patch removes unnecessary out of memory message in hinic driver,
fixes the following checkpatch.pl warning:
"WARNING: Possible unnecessary 'out of memory' message"
Signed-off-by: Daode Huang
---
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c | 8 ++--
drivers
There is a duplicate "the" in the comment, so delete it.
Signed-off-by: Daode Huang
---
drivers/net/ethernet/huawei/hinic/hinic_hw_if.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_hw_if.c
b/drivers/net/ethernet/hu
Usage of strlcpy in linux kernel has been recently
deprecated[1], so convert hinic driver to strscpy
[1] https://lore.kernel.org/lkml/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL
=v6a6g1ouzcprm...@mail.gmail.com/
Signed-off-by: Daode Huang
---
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c | 4
There should be a blank line after declarations, so just add it.
Signed-off-by: Daode Huang
---
drivers/net/ethernet/huawei/hinic/hinic_tx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_tx.c
b/drivers/net/ethernet/huawei/hinic/hinic_tx.c
index
On 2016/6/30 18:48, Joe Perches wrote:
On Thu, 2016-06-30 at 15:25 +0800, Yisen Zhuang wrote:
From: Daode Huang
This patch adds maintainers for hisilicon network subsystem driver
[]
diff --git a/MAINTAINERS b/MAINTAINERS
[]
@@ -5421,6 +5421,15 @@ F: include/uapi/linux/if_hippi.h
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
There
wrote:
From: Daode Huang
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 the only person in the world who is
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
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
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hnae.h
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
Signed-
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
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 17 -
1 file changed, 8 insertions
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 in
[patch 3/6] [patch 4/6].
v1: initial version.
Daode Huang (6):
net: hns: bug fix about the overflow
fixes the bug.
Signed-off-by: Daode Huang
Signed-off-by: Sheng Li
---
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(-)
diff --git a/drivers/net/ethernet
In V2 chip, when sending mamagement packets, the driver should
config the port id to BD descs.
Signed-off-by: Daode Huang
Signed-off-by: Sheng Li
---
v2: add space after /* and before */.
---
drivers/net/ethernet/hisilicon/hns/hnae.h | 3 +++
drivers/net/ethernet/hisilicon/hns
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
Signed-off-by: Peng Li
---
changlog:
v2: fix the SoB name and code sytle according to Sergei .
---
drivers/net/ethernet
from: Sheng Li
Service gmacs can not set mac add, this patch will fix the bug.
Signed-off-by: Daode Huang
Signed-off-by: Sheng Li
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/net
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
Signed-off-by: lipeng
Lipeng is
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
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hnae.h
this patch fixes the bug.
Signed-off-by: Daode Huang
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 39 +++---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 2 ++
2 files changed, 22 insertions(+), 19 deletions(-)
diff --git a/drivers/net
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
Signed-
From: Lisheng
Service gmacs can not set mac add, this patch will fix the bug.
Signed-off-by: Daode Huang
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/net/ethernet
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
In V2 chip, when sending mamagement packets, the driver should
config the port id to BD descs.
Signed-off-by: Daode Huang
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hnae.h | 3 +++
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 1 +
drivers/net/ethernet
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
Signed-off-by: lipeng
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 18 +-
drivers/net/ethernet
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
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 17 -
1 file changed, 8 insertions
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
this patch fixes the bug.
Signed-off-by: Daode Huang
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 39 +++---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 2 ++
2 files changed, 22 insertions(+), 19 deletions(-)
diff --git a/drivers/net
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
Signed-off-by: lipeng
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 18 +-
drivers/net/ethernet
In V2 chip, when sending mamagement packets, the driver should
config the port id to BD descs.
Signed-off-by: Daode Huang
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hnae.h | 3 +++
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 1 +
drivers/net/ethernet
From: Lisheng
Service gmacs can not set mac add, this patch will fix the bug.
Signed-off-by: Daode Huang
Signed-off-by: Lisheng
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/drivers/net/ethernet
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
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
Signed-
-off-by: Daode Huang
---
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 3f77ff7..9d46d57 100644
--- a/drivers/net
37 matches
Mail list logo