[PATCH v3 net-next] phy: increase size of MII_BUS_ID_SIZE and bus_id

2017-01-19 Thread Volodymyr Bendiuga
Some bus names are pretty long and do not fit into 17 chars. Increase therefore MII_BUS_ID_SIZE and phy_fixup.bus_id to larger number. Now mii_bus.id can host larger name. Signed-off-by: Volodymyr Bendiuga Signed-off-by: Magnus Öberg ---

Re: [PATCH] net: ethtool: avoid allocation failure for dump_regs

2017-01-19 Thread John W. Linville
I forgot to Cc Johannes and Kalle... On Thu, Jan 19, 2017 at 09:15:09AM -0500, John W. Linville wrote: > On Thu, Jan 19, 2017 at 07:35:22AM -0500, David Arcari wrote: > > On 01/18/2017 11:45 AM, David Miller wrote: > > > From: David Arcari > > > Date: Wed, 18 Jan 2017

Re: [PATCH] ipv6: addrconf: Avoid addrconf_disable_change() using RCU read-side lock

2017-01-19 Thread David Miller
From: Kefeng Wang Date: Thu, 19 Jan 2017 16:26:21 +0800 > Just like commit 4acd4945cd1e ("ipv6: addrconf: Avoid calling > netdevice notifiers with RCU read-side lock"), it is unnecessary > to make addrconf_disable_change() use RCU iteration over the > netdev list,

Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class()

2017-01-19 Thread Russell King - ARM Linux
On Thu, Jan 19, 2017 at 05:30:13PM +0100, Greg KH wrote: > On Thu, Jan 19, 2017 at 03:53:15PM +0100, Andrew Lunn wrote: > > > > > struct dsa_platform_data { > > > > > /* > > > > > * Reference to a Linux network interface that connects > > > > > * to the root switch chip

Re: [PATCH v2 net-next] net:add one common config ARCH_WANT_RELAX_ORDER to support relax ordering.

2017-01-19 Thread Alexander Duyck
On Thu, Jan 19, 2017 at 3:43 AM, David Laight wrote: > From: Alexander Duyck >> Sent: 18 January 2017 17:25 >> On Wed, Jan 18, 2017 at 8:22 AM, David Laight >> wrote: >> > From: David Miller >> >> Sent: 17 January 2017 19:16 >> >> > Relax

Re: [PATCH net-next v2] macb: Common code to enable ptp support for MACB/GEM

2017-01-19 Thread Nicolas Ferre
Le 19/01/2017 à 08:56, Andrei Pistirica a écrit : > This patch does the following: > - MACB/GEM-PTP interface > - registers and bitfields for TSU > - capability flags to enable PTP per platform basis > > Signed-off-by: Andrei Pistirica Acked-by: Nicolas Ferre

Re: [Xen-devel] xennet_start_xmit assumptions

2017-01-19 Thread David Miller
From: Sowmini Varadhan Date: Thu, 19 Jan 2017 06:14:26 -0500 > I'll probably work on fixing packet_snd to return -EINVAL > or similar when the len is zero this week. I thought we had code which made sure that at least a minimal link layer header was present in the

[PATCH v2] xen-netfront: Fix Rx stall during network stress and OOM

2017-01-19 Thread Vineeth Remanan Pillai
From: Vineeth Remanan Pillai During an OOM scenario, request slots could not be created as skb allocation fails. So the netback cannot pass in packets and netfront wrongly assumes that there is no more work to be done and it disables polling. This causes Rx to stall. The

Re: [PATCH net] MAINTAINERS: update cxgb4 maintainer

2017-01-19 Thread David Miller
From: Hariprasad Shenai Date: Thu, 19 Jan 2017 11:50:32 +0530 > Ganesg will be taking over as maintainer from now > > Signed-off-by: Hariprasad Shenai Applied.

Re: [PATCH net-next] net: caif: Remove unused stats member from struct chnl_net

2017-01-19 Thread David Miller
From: Tobias Klauser Date: Thu, 19 Jan 2017 16:04:25 +0100 > The stats member of struct chnl_net is used nowhere in the code, so it > might as well be removed. > > Signed-off-by: Tobias Klauser Applied.

Re: [PATCH v3 net-next] phy: increase size of MII_BUS_ID_SIZE and bus_id

2017-01-19 Thread Andrew Lunn
On Thu, Jan 19, 2017 at 05:05:04PM +0100, Volodymyr Bendiuga wrote: > Some bus names are pretty long and do not fit into > 17 chars. Increase therefore MII_BUS_ID_SIZE and > phy_fixup.bus_id to larger number. Now mii_bus.id > can host larger name. > > Signed-off-by: Volodymyr Bendiuga

Re: [PATCH net] gianfar: Do not reuse pages from emergency reserve

2017-01-19 Thread David Miller
From: Eric Dumazet Date: Wed, 18 Jan 2017 19:44:42 -0800 > From: Eric Dumazet > > A driver using dev_alloc_page() must not reuse a page that had to > use emergency memory reserve. > > Otherwise all packets using this page will be immediately

Re: [PATCH v2] xen-netfront: Fix Rx stall during network stress and OOM

2017-01-19 Thread David Miller
From: Vineeth Remanan Pillai Date: Thu, 19 Jan 2017 08:35:39 -0800 > From: Vineeth Remanan Pillai > > During an OOM scenario, request slots could not be created as skb > allocation fails. So the netback cannot pass in packets and netfront > wrongly

Re: [PATCH net-next] net/sched: cls_flower: reduce fl_change stack size

2017-01-19 Thread David Miller
From: Arnd Bergmann Date: Thu, 19 Jan 2017 10:45:31 +0100 > The new ARP support has pushed the stack size over the edge on ARM, > as there are two large objects on the stack in this function (mask > and tb) and both have now grown a bit more: > > net/sched/cls_flower.c: In

Re: [PATCH iproute2 v4 3/4] ifstat: Add 64 bits based stats to extended statistics

2017-01-19 Thread Roopa Prabhu
On 1/19/17, 7:21 AM, Nogah Frankel wrote: >> -Original Message- >> From: Nogah Frankel >> Sent: Sunday, January 15, 2017 3:55 PM >> To: 'Stephen Hemminger' >> Cc: netdev@vger.kernel.org; roszenr...@gmail.com; ro...@cumulusnetworks.com; >> Jiri >> Pirko

Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class()

2017-01-19 Thread Greg KH
On Thu, Jan 19, 2017 at 03:53:15PM +0100, Andrew Lunn wrote: > > > > struct dsa_platform_data { > > > > /* > > > > * Reference to a Linux network interface that connects > > > > * to the root switch chip of the tree. > > > > */ > > > > struct device

Re: [PATCH] tcp: initialize max window for a new fastopen socket

2017-01-19 Thread David Miller
From: Alexey Kodanev Date: Thu, 19 Jan 2017 16:36:39 +0300 > Found that if we run LTP netstress test with large MSS (65K), > the first attempt from server to send data comparable to this > MSS on fastopen connection will be delayed by the probe timer. > > Here is an

Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class()

2017-01-19 Thread Russell King - ARM Linux
(This is mainly for Greg's benefit to help him understand the issue.) I think the diagram you gave initially made this confusing, as it talks about a CPU(sic) producing the "RGMII" and "MII-MGMT". Let's instead show a better representation that hopefully helps Greg understand networking. :)

Re: [PATCH v3 net-next] phy: increase size of MII_BUS_ID_SIZE and bus_id

2017-01-19 Thread David Miller
From: Volodymyr Bendiuga Date: Thu, 19 Jan 2017 17:05:04 +0100 > Some bus names are pretty long and do not fit into > 17 chars. Increase therefore MII_BUS_ID_SIZE and > phy_fixup.bus_id to larger number. Now mii_bus.id > can host larger name. > > Signed-off-by:

[PATCH v2 5/5] net: ethernet: ti: cpsw: clarify ethtool ops changing num of descs

2017-01-19 Thread Ivan Khoronzhuk
After adding cpsw_set_ringparam ethtool op, better to carry out common parts of similar ops splitting descriptors in runtime. It allows to reuse these parts and shows what the ops actually do. Signed-off-by: Ivan Khoronzhuk --- drivers/net/ethernet/ti/cpsw.c | 132

[PATCHv3 net-next 4/4] sctp: implement sender-side procedures for Add Incoming/Outgoing Streams Request Parameter

2017-01-19 Thread Xin Long
This patch is to implement Sender-Side Procedures for the Add Outgoing and Incoming Streams Request Parameter described in rfc6525 section 5.1.5-5.1.6. It is also to add sockopt SCTP_ADD_STREAMS in rfc6525 section 6.3.4 for users. Signed-off-by: Xin Long ---

[PATCHv3 net-next 3/4] sctp: add support for generating stream reconf add incoming/outgoing streams request chunk

2017-01-19 Thread Xin Long
This patch is to define Add Incoming/Outgoing Streams Request Parameter described in rfc6525 section 4.5 and 4.6. They can be in one same chunk trunk as rfc6525 section 3.1-7 describes, so make them in one function. Signed-off-by: Xin Long --- include/linux/sctp.h | 7

[PATCHv3 net-next 2/4] sctp: implement sender-side procedures for SSN/TSN Reset Request Parameter

2017-01-19 Thread Xin Long
This patch is to implement Sender-Side Procedures for the SSN/TSN Reset Request Parameter descibed in rfc6525 section 5.1.4. It is also to add sockopt SCTP_RESET_ASSOC in rfc6525 section 6.3.3 for users. Signed-off-by: Xin Long --- include/net/sctp/sctp.h | 1 +

[PATCHv3 net-next 1/4] sctp: add support for generating stream reconf ssn/tsn reset request chunk

2017-01-19 Thread Xin Long
This patch is to define SSN/TSN Reset Request Parameter described in rfc6525 section 4.3. Signed-off-by: Xin Long --- include/linux/sctp.h | 5 + include/net/sctp/sm.h| 2 ++ net/sctp/sm_make_chunk.c | 29 + 3 files changed, 36

[PATCH net] macsec: fix validation failed in asynchronous operation.

2017-01-19 Thread Ryder Lee
Add missing "macsec_skb_cb(skb)->valid = true" in callback function macsec_decrypt_done(), this fixes packet validation failed while decrypting asynchronously. Signed-off-by: Ryder Lee --- drivers/net/macsec.c | 1 + 1 file changed, 1 insertion(+) diff --git

<    1   2   3