Re: [PATCH net 1/5] tcp_bbr: cut pacing rate only if filled pipe

2017-07-15 Thread Neal Cardwell
On Sat, Jul 15, 2017 at 5:44 PM, David Miller wrote: > > Series applied and queued up for -stable. > > Please provide a proper "[PATCH net 0/N] " header posting next time. > All patch series should have one. Sorry about that. Will do! Thanks, neal

Re: [PATCH net 0/2] Fragmented SKB corrections

2017-07-15 Thread David Miller
From: Doug Berger Date: Fri, 14 Jul 2017 16:12:08 -0700 > Two issues were observed in a review of the bcmgenet driver support for > fragmented SKBs which are addressed by this patch set. > > The first addresses a problem that could occur if the driver is not able > to DMA map a fragment of the S

Re: [PATCH] dt-bindings: net: Remove duplicate NSP Ethernet MAC binding document

2017-07-15 Thread David Miller
From: Florian Fainelli Date: Sat, 15 Jul 2017 10:24:47 -0700 > Commit 07d4510f5251 ("dt-bindings: net: bgmac: add bindings documentation for > bgmac") added both brcm,amac-nsp.txt and brcm,bgmac-nsp.txt. The former is > actually the one that got updated and is in use by the bgmac driver while the

Re: [PATCH 00/10] Constify isdn pci_device_id's.

2017-07-15 Thread David Miller
From: Arvind Yadav Date: Sat, 15 Jul 2017 09:55:41 +0530 > pci_device_id are not supposed to change at runtime. All functions > working with pci_device_id provided by work with > const pci_device_id. So mark the non-const structs as const. Series applied, thanks.

Re: [PATCH] Broadcom Sysport: Support 64bit net status report on 32bit Platform

2017-07-15 Thread kiki good
Hi Florian: Thanks for the comment. The reason to use kzalloc() for bsysport_netstats instead of extending bcm_sysport_priv to have the network stats included in bcm_sysport_priv is to minimise the impact of increasing stack size if there are more 64bit stats to be added in the future. What abou

Re: [PATCH net 1/5] tcp_bbr: cut pacing rate only if filled pipe

2017-07-15 Thread David Miller
Series applied and queued up for -stable. Please provide a proper "[PATCH net 0/N] " header posting next time. All patch series should have one.

Re: [PATCH V3 net] openvswitch: Fix for force/commit action failures

2017-07-15 Thread David Miller
From: Greg Rose Date: Fri, 14 Jul 2017 12:42:49 -0700 > When there is an established connection in direction A->B, it is > possible to receive a packet on port B which then executes > ct(commit,force) without first performing ct() - ie, a lookup. > In this case, we would expect that this packet c

Re: [PATCH] ipv4: ip_do_fragment: fix headroom tests

2017-07-15 Thread David Miller
From: Vasily Averin Date: Fri, 14 Jul 2017 12:04:16 +0300 > Some time ago David Woodhouse reported skb_under_panic > when we try to push ethernet header to fragmented ipv6 skbs. > It was fixed for ipv6 by Florian Westphal in > commit 1d325d217c7f ("ipv6: ip6_fragment: fix headroom tests and skb l

Re: [PATCHv2 1/1] mlx4_en: remove unnecessary returned value check

2017-07-15 Thread David Miller
From: Zhu Yanjun Date: Thu, 13 Jul 2017 23:01:27 -0400 > The function __mlx4_zone_remove_one_entry always returns zero. So > it is not necessary to check it. > > Cc: Joe Jin > Cc: Junxiao Bi > Signed-off-by: Zhu Yanjun > Reviewed-by: Yuval Shaia > --- > Change from v1 to v2: > Initializatio

Re: [PATCH 0/3] Extend BGMAC driver for Stingray SoC

2017-07-15 Thread David Miller
From: Abhishek Shah Date: Fri, 14 Jul 2017 00:34:06 +0530 > The patchset extends Broadcom BGMAC driver for Broadcom Stingray SoC. > > This patchset is based on Linux-4.12 and tested on NS2 and Stingray. Series applied.

Re: [PATCH] ioc3-eth: store pointer to net_device for priviate area

2017-07-15 Thread David Miller
From: "Jason A. Donenfeld" Date: Mon, 10 Jul 2017 14:00:32 +0200 > Computing the alignment manually for going from priv to pub is probably > not such a good idea, and in general the assumption that going from priv > to pub is possible trivially could change, so rather than relying on > that, we c

Re: [PATCH v2 1/2] dt-bindings: net: Add bindings for National Instruments XGE netdev

2017-07-15 Thread Andrew Lunn
> > > + ethernet_phy1: ethernet-phy@4 { > > > + compatible = "ethernet-phy-ieee802.3-c45"; > > > + reg = <4>; > > > + devices = <0xa>; > > > + }; > > > > Since you don't fully implement c45, does this example actually work? > > Yeah,

Re: [PATCH v2 1/2] dt-bindings: net: Add bindings for National Instruments XGE netdev

2017-07-15 Thread Moritz Fischer
Hi Andrew, On Sat, Jul 15, 2017 at 08:37:45PM +0200, Andrew Lunn wrote: > On Fri, Jul 14, 2017 at 01:48:45PM -0700, Moritz Fischer wrote: > > This adds bindings for the NI XGE 1G/10G network device. > > > > Signed-off-by: Moritz Fischer > > --- > > Documentation/devicetree/bindings/net/nixge.tx

Re: [PATCH v2 1/2] dt-bindings: net: Add bindings for National Instruments XGE netdev

2017-07-15 Thread Andrew Lunn
On Fri, Jul 14, 2017 at 01:48:45PM -0700, Moritz Fischer wrote: > This adds bindings for the NI XGE 1G/10G network device. > > Signed-off-by: Moritz Fischer > --- > Documentation/devicetree/bindings/net/nixge.txt | 32 > + > 1 file changed, 32 insertions(+) > create mod

[PATCH net-next v1] ip6: fix PMTU discovery when using /127 subnets

2017-07-15 Thread Vincent Bernat
The definition of an "anycast destination address" has been tweaked as a side-effect of commit 2647a9b07032 ("ipv6: Remove external dependency on rt6i_gateway and RTF_ANYCAST"). The first address of a point-to-point /127 subnet is now considered as an anycast address. This prevents ICMPv6 errors to

[PATCH] dt-bindings: net: Remove duplicate NSP Ethernet MAC binding document

2017-07-15 Thread Florian Fainelli
Commit 07d4510f5251 ("dt-bindings: net: bgmac: add bindings documentation for bgmac") added both brcm,amac-nsp.txt and brcm,bgmac-nsp.txt. The former is actually the one that got updated and is in use by the bgmac driver while the latter is duplicating the former and is not used nor updated. Fixes

Re: [PATCH] Broadcom Sysport: Support 64bit net status report on 32bit Platform

2017-07-15 Thread Florian Fainelli
On 07/15/2017 08:20 AM, ?? ? wrote: > When using Broadcom Sysport device in 32bit Platform, ifconfig can only > report up to 4G > tx,rx status, which will be wrapped to 0 when the number of incoming or > outgoing > packets exceeds 4G. The subject of this patch should be: net: systemport: Supp

Re: [PATCH v2 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-15 Thread Andrew Lunn
> +++ b/drivers/net/ethernet/ni/Kconfig > @@ -0,0 +1,27 @@ > +# > +# National Instuments network device configuration > +# > + > +config NET_VENDOR_NI > + bool "National Instruments Devices" > + default y > + ---help--- > + If you have a network (Ethernet) device belonging to this

Re: [PATCH] Broadcom Sysport: Support 64bit net status report on 32bit Platform

2017-07-15 Thread kiki good
When using Broadcom Sysport device in 32bit Platform, ifconfig can only report up to 4G tx,rx status, which will be wrapped to 0 when the number of incoming or outgoing packets exceeds 4G. The patch is used to add 64bit support for Broadcom Sysport device in 32bit Platform. On Sat, Jul 15, 2017 a

[PATCH] Broadcom Sysport: Support 64bit net status report on 32bit Platform

2017-07-15 Thread kiki good
Signed-off-by: Jianming Qiao --- drivers/net/ethernet/broadcom/bcmsysport.c | 81 - drivers/net/ethernet/broadcom/bcmsysport.h | 8 2 files changed, 68 insertions(+), 21 deletions(-) diff --git a/drivers/ne

Re: [PATCH 2/2] net: ethernet: nixge: Add support for National Instruments XGE netdev

2017-07-15 Thread kbuild test robot
Hi Moritz, [auto build test ERROR on net-next/master] [also build test ERROR on v4.12 next-20170714] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Moritz-Fischer/dt-bindings-net-Add-bindings-fo

Re: Lots of new warnings with gcc-7.1.1

2017-07-15 Thread Tejun Heo
Hello, On Wed, Jul 12, 2017 at 03:31:02PM +0200, Arnd Bergmann wrote: > > We also have about a bazillion > > > > warning: ‘*’ in boolean context, suggest ‘&&’ instead > > > > warnings in drivers/ata/libata-core.c, all due to a single macro that > > uses a pattern that gcc-7.1.1 doesn't like. T

Re: [PATCH v2] net: davicom: dm9000: Avoid spinlock recursion during dm9000_timeout routine

2017-07-15 Thread xiang fei
Hi, In this patch, I don't change the routine of dm9000_phy_write(). I just abstract the real phy operation from dm9000_phy_write() to make a new function dm9000_phy_write_reg(), which contains no lock. It is called in dm9000_phy_write() or dm9000_init_dm9000(). Since dm9000_timeout()