[PATCH v3] iwlwifi: dvm: use alloc_ordered_workqueue()

2016-03-18 Thread Eva Rachel Retuya
Use alloc_ordered_workqueue() to allocate the workqueue instead of create_singlethread_workqueue() since the latter is deprecated and is scheduled for removal. There are work items doing related operations that shouldn't be swapped when queued in a certain order hence preserve the strict execution

Re: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get SIGPIPE

2016-03-18 Thread David Miller
From: Alexander Potapenko Date: Tue, 15 Mar 2016 10:03:44 +0100 > According to IEEE Std 1003.1, 2013, sending data to a SOCK_SEQPACKET > socketpair with MSG_NOSIGNAL flag set must result in a SIGPIPE if the > socket is no longer connected. > > I used the following program to check the kernel beh

Re: Extreme slowness in IPIP tunnel when routing through kernel 3.18 and later

2016-03-18 Thread Tom Herbert
On Thu, Mar 17, 2016 at 7:02 AM, Patrick Boutilier wrote: > I have an IPIP tunnel setup between two hosts in different buildings. The > Linux router they route through causes extreme slowness in the tunnel when > running kernels from 3.18 on . tcpdump shows many cksum errors which don't > show up

Re: [PATCH V3 net-next] ixgbe: Avoid unaligned access in ixgbe_atr() for LLC packets

2016-03-18 Thread Alexander Duyck
On Wed, Mar 16, 2016 at 4:01 PM, Sowmini Varadhan wrote: > On (03/16/16 15:58), Jeff Kirsher wrote: >> >> This does not apply since Alex Duyck beat you to the fix. Here is the >> patch he submitted on 3/15 which corrects the issue. So I am dropping >> your patch from the queue. >> > > That's wei

[patch net-next RFC 12/13] mlxsw: spectrum_buffers: Cache shared buffer configuration

2016-03-18 Thread Jiri Pirko
From: Jiri Pirko In order to achieve faster dumping of current setting and also for possibility to get pool mode without need to query hardware, cache the configuration in driver. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 28 .../net/ethernet/m

[PATCH net-next] net/mlx4_core: Fix backward compatibility on VFs

2016-03-18 Thread Eli Cohen
Commit 85743f1eb345 ("net/mlx4_core: Set UAR page size to 4KB regardless of system page size") introduced dependency where old VF drivers without this fix fail to load if the PF driver runs with this commit. To resolve this add a module parameter which disables that functionality by default. If b

Re: [PATCH (net-next.git) 2/2] stmmac: fix MDIO settings

2016-03-18 Thread Giuseppe CAVALLARO
Hello On 3/16/2016 12:03 PM, Andreas Färber wrote: Am 16.03.2016 um 12:01 schrieb Gabriel Fernandez: Hi Pepe, i have a kernel crash [2.714097] Unable to handle kernel NULL pointer dereference at virtual address 01d6 [2.722188] pgd = c0204000 [2.724886] [01d6] *pgd=

Re: [PATCH] openvswitch: call only into reachable nf-nat code

2016-03-18 Thread Pablo Neira Ayuso
On Wed, Mar 16, 2016 at 01:47:13PM +0100, Arnd Bergmann wrote: > The openvswitch code has gained support for calling into the > nf-nat-ipv4/ipv6 modules, however those can be loadable modules > in a configuration in which openvswitch is built-in, leading > to link errors: > > net/built-in.o: In fu

Re: [PATCH] net: phy: at803x: don't depend on GPIOLIB

2016-03-18 Thread Sebastian Frias
Hi Uwe, Daniel, On 03/18/2016 01:54 PM, Uwe Kleine-König wrote: > [expand cc a bit more] > > Hello, > > On Wed, Mar 16, 2016 at 06:25:59PM +0100, Sebastian Frias wrote: >> Commit 687908c2b649 ("net: phy: at803x: simplify using >> devm_gpiod_get_optional and its 4th argument") introduced a depend

Re: [PATCH v2 3/3] phy: mdio-thunder: Add driver for Cavium Thunder SoC MDIO buses.

2016-03-18 Thread Andreas Färber
Am 16.03.2016 um 23:54 schrieb David Daney: > On 03/16/2016 03:50 PM, Andreas Färber wrote: >> Am 11.03.2016 um 18:53 schrieb David Daney: >>> diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig >>> index 40faec9..075a4cc 100644 >>> --- a/drivers/net/phy/Kconfig >>> +++ b/drivers/net/phy

Re: [PATCH] openvswitch: call only into reachable nf-nat code

2016-03-18 Thread Arnd Bergmann
On Wednesday 16 March 2016 13:47:13 Arnd Bergmann wrote: > The openvswitch code has gained support for calling into the > nf-nat-ipv4/ipv6 modules, however those can be loadable modules > in a configuration in which openvswitch is built-in, leading > to link errors: > > net/built-in.o: In function

Re: [PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-18 Thread Alexey Brodkin
Hi Sergei, On Thu, 2016-03-17 at 14:59 +0300, Sergei Shtylyov wrote: > Hello. > > On 3/17/2016 2:41 PM, Vineet Gupta wrote: > > > > > > > > > > > > > > > > > > > > Following commit broke DW GMAC functionality on AXS10x boards: > > > > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/li

[PATCH] qmi_wwan: Added support for Gemalto's Cinterion PHxx WWAN interface

2016-03-18 Thread Schemmel Hans-Christoph
Added support for Gemalto's Cinterion PHxx WWAN interfaces by adding QMI_FIXED_INTF with Cinterion's VID and PID. PHxx can have: 2 RmNet Interfaces (PID 0x0082) or 1 RmNet + 1 USB Audio interface (PID 0x0083). Signed-off-by: Hans-Christoph Schemmel --- patch is against linux-4.5 --- linux/drive

[PATCH v5 1/4] net: ethernet: dwmac: add Ethernet glue logic for stm32 chip

2016-03-18 Thread Alexandre TORGUE
stm324xx family chips support Synopsys MAC 3.510 IP. This patch adds settings for logical glue logic: -clocks -mode selection MII or RMII. Reviewed-by: Joachim Eastwood Acked-by: Giuseppe Cavallaro Tested-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE diff --git a/drivers/net/ethernet/st

[RFC PATCH linux-next] net: dst_cache_per_cpu_dst_set() can be static

2016-03-18 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- dst_cache.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/core/dst_cache.c b/net/core/dst_cache.c index 3938f3f..554d364 100644 --- a/net/core/dst_cache.c +++ b/net/core/dst_cache.c @@ -28,8 +28,8 @@ struct dst_cache_pcpu {

Re: [PATCH] xfrm: don't segment UFO packets

2016-03-18 Thread Steffen Klassert
On Fri, Mar 18, 2016 at 10:36:53AM +0800, Herbert Xu wrote: > On Thu, Mar 17, 2016 at 06:08:55PM +0100, Jiri Bohac wrote: > > On Thu, Mar 17, 2016 at 11:24:59AM +0100, Steffen Klassert wrote: > > > In IPv6 this check is missing, so this could be the > > > problem if this is IPv6. > > > > indeed, t

Re: Extreme slowness in IPIP tunnel when routing through kernel 3.18 and later

2016-03-18 Thread Jesse Gross
On Thu, Mar 17, 2016 at 7:02 AM, Patrick Boutilier wrote: > I have an IPIP tunnel setup between two hosts in different buildings. The > Linux router they route through causes extreme slowness in the tunnel when > running kernels from 3.18 on . tcpdump shows many cksum errors which don't > show up

[PATCH][net-next] ipv6: rework the lock in addrconf_permanent_addr

2016-03-18 Thread roy . qing . li
From: Li RongQing 1. nothing of idev is changed, so read lock is enough 2. ifp is changed, so used ifp->lock or cmpxchg to protect it Signed-off-by: Li RongQing --- net/ipv6/addrconf.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/net/ipv6/addr

Re: [PATCH net-next] vxlan: fix too large pskb_may_pull with remote checksum

2016-03-18 Thread Tom Herbert
On Wed, Mar 16, 2016 at 9:35 AM, Jiri Benc wrote: > The vxlan header is pulled at this point, don't include it again in the > calculation. > Hmm, I think I missing something obvious. Where was the pull of the vxlan header done? Thanks, Tom > Signed-off-by: Jiri Benc > --- > This was previously

Re: [PATCH] iwlwifi: dvm: convert create_singlethread_workqueue() to alloc_workqueue()

2016-03-18 Thread t...@kernel.org
Hello, On Thu, Mar 17, 2016 at 12:43:35PM +, Grumbach, Emmanuel wrote: > > > > Use alloc_workqueue() to allocate the workqueue instead of > > create_singlethread_workqueue() since the latter is deprecated and is > > scheduled > > for removal. > > I can't see any indication of that in the cod

[iproute PATCH 5/8] man: tc-police.8: Emphasize on the two rate control mechanisms

2016-03-18 Thread Phil Sutter
As Jamal pointed out, there are two different approaches to bandwidth measurement. Try to make this clear by separating them in synopsis and also documenting the way to fine-tune avrate. Signed-off-by: Phil Sutter --- man/man8/tc-police.8 | 29 + 1 file changed, 25 in

[patch net-next RFC 08/13] mlxsw: core: Add devlink shared buffer callbacks

2016-03-18 Thread Jiri Pirko
From: Jiri Pirko Add middle layer in mlxsw core code to forward shared buffer calls into specific ASIC drivers. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/core.c | 105 - drivers/net/ethernet/mellanox/mlxsw/core.h | 20 ++ 2 files changed

Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-03-18 Thread Arnd Bergmann
On Thursday 17 March 2016 12:06:40 Rob Herring wrote: > > diff --git a/Documentation/devicetree/bindings/powerpc/fsl/guts.txt > > b/Documentation/devicetree/bindings/soc/fsl/guts.txt > > similarity index 91% > > rename from Documentation/devicetree/bindings/powerpc/fsl/guts.txt > > rename to Docum

Re: [PATCH net-next 0/6] bridge: support sending rntl info when we set attributes through sysfs/ioctl

2016-03-18 Thread David Miller
From: Xin Long Date: Wed, 16 Mar 2016 21:34:43 +0800 > This patchset is used to support sending rntl info to user in some places, > and ensure that whenever those attributes change internally or from sysfs, > that a netlink notification is sent out to listeners. This is too late for net-next, pl

[PATCH net-next 0/2] ovs: refresh a flow via netlink

2016-03-18 Thread Samuel Gauthier
This patchset adds a netlink api to refresh an existing flow in openvswitch. When a packet is sent in the openvswitch kernel datapath and no flow is found, the packet is sent to the ovs-vswitchd daemon, which will process the packet, and ask the kernel to create a new flow. The next packets for th

Re: [PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-18 Thread Vineet Gupta
On Thursday 17 March 2016 04:28 PM, Sergei Shtylyov wrote: > On 3/17/2016 12:41 PM, Alexey Brodkin wrote: > >> > Following commit broke DW GMAC functionality on AXS10x boards: >> > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e34d65696d2ef13dc32f2a162556c86c461ed763 >

Os empréstimos baratos de diamante Finanças

2016-03-18 Thread Você encontra a tentar obter um empréstimo intimidante?
Oferecemos empréstimos legítimos para a taxa de juro de apenas 1,8%, com as melhores condições, Sem garantias necessárias, apenas pessoas sérias Aplicar em baixo; Nomes completos: Endereço completo: ocupação: Montante do empréstimo : Empréstimo Duração: Finalidade do empréstimo: Telefone / Telemóve

Re: Micrel Phy - Is there a way to configure the Phy not to do 802.3x flow control?

2016-03-18 Thread Florian Fainelli
On March 16, 2016 8:08:14 AM PDT, Murali Karicheri >> What it means before your patch is that flow control is reported to >the >> PHY device if the link partner advertises that, with your patch >applied, >> it is reported only if the link partner and yourself advertise flow >control. >> >> You see

[patch net-next RFC 04/13] mlxsw: Pass mlxsw_core as a param of mlxsw_core_skb_transmit*

2016-03-18 Thread Jiri Pirko
From: Jiri Pirko Instead of passing around driver priv, pass struct mlxsw_core * directly. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/core.c | 15 +++ drivers/net/ethernet/mellanox/mlxsw/core.h | 5 ++--- drivers/net/ethernet/mellanox/mlxsw/spectrum.

[PATCH v2 net-next 0/2] lan78xx: patch series

2016-03-18 Thread Woojung.Huh
From: Woojung Huh Woojung Huh (2): lan78xx: handle statistics counter rollover lan78xx: add ndo_get_stats64 drivers/net/usb/lan78xx.c | 301 -- 1 file changed, 288 insertions(+), 13 deletions(-) -- 2.7.0

[RFC PATCH 7/9] GSO: Support partial segmentation offload

2016-03-18 Thread Alexander Duyck
This patch adds support for something I am referring to as GSO partial. The basic idea is that we can support a broader range of devices for segmentation if we use fixed outer headers and have the hardware only really deal with segmenting the inner header. The idea behind the naming is due to the

Re: [PATCH net 1/1] qlge: Fix receive packets drop.

2016-03-18 Thread David Miller
From: Manish Chopra Date: Tue, 15 Mar 2016 07:13:45 -0400 > When running small packets [length < 256 bytes] traffic, packets were > being dropped due to invalid data in those packets which were > delivered by the driver upto the stack. Using pci_dma_sync_single_for_cpu > ensures copying latest an

Re: [PATCH net] bnx2x: Prevent false warning for lack of FC NPIV

2016-03-18 Thread David Miller
From: Yuval Mintz Date: Tue, 15 Mar 2016 19:52:04 +0200 > Not all adapters have FC-NPIV configured. If bnx2fc is used with such an > adapter, driver would read irrelevant data from the the nvram and log > "FC-NPIV table with bad length..." In system logs. > > Simply accept that reading '0' as th

[patch net-next RFC 02/13] devlink: add shared buffer configuration

2016-03-18 Thread Jiri Pirko
From: Jiri Pirko Define userspace API and drivers API for configuration of shared buffers. Four basic objects are defined: shared buffer - attributes are size, number of pools and TCs pool - chunk of sharedbuffer definition, it has some size and either static or dynamic threshold port pool

Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-03-18 Thread Rob Herring
On Wed, Mar 09, 2016 at 06:08:49PM +0800, Yangbo Lu wrote: > Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ > since it's used by not only PowerPC but also ARM. And add a specification > for 'little-endian' property. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: >

Re: [PATCH ethtool 3/3] Documentation for IPv6 NFC

2016-03-18 Thread Edward Cree
On 13/03/16 16:47, Ben Hutchings wrote: > Why is ip6 added in the middle of the IPv4 flow-types here... > ...and here... > ...but not here? Good catch; I will make them all like the last one. > Missing nexthdr? On the contrary, it needed to be removed from all the other places - there is no nexthdr

Re: [PATCH 2/2] lan78xx: add ndo_get_stats64

2016-03-18 Thread Sergei Shtylyov
Hello. On 3/16/2016 1:52 AM, woojung@microchip.com wrote: From: Woojung Huh Add lan78xx_get_stats64 of ndo_get_stats64 to report all statistics counters including errors from HW statistics. Read from HW when auto suspend is disabled, use saved counter when auto suspend is enabled because

Re: [PATCH net-next v2 4/4] vxlan: implement GPE

2016-03-18 Thread Jiri Benc
On Wed, 16 Mar 2016 10:31:10 -0700, Tom Herbert wrote: > Sorry, I still don't like this. For VXLAN-GPE packets the above two > conditionals are a complete waste of time and I shouldn't have to go > pawing through configuration to determine what protocol has actually > be implemented. Please, at le

Re: [PATCH v2 1/2] Revert "vsock: Fix blocking ops call in prepare_to_wait"

2016-03-18 Thread Laura Abbott
On 03/17/2016 09:12 AM, Claudio Imbrenda wrote: This reverts commit 5988818008257ca42010d6b43a3e0e48afec9898 ("vsock: Fix blocking ops call in prepare_to_wait") I don't think having this as a separate patch does a lot of good. You can probably fold this into the next patch with a note saying t

[PATCH v2 ethtool 2/2] Documentation for IPv6 NFC

2016-03-18 Thread Edward Cree
Leaves 'src-ip' and 'dst-ip' documented as taking x.x.x.x, because there's more low-level nroff here than I can parse, let alone emit. Signed-off-by: Edward Cree --- ethtool.8.in | 29 - ethtool.c| 4 +++- 2 files changed, 23 insertions(+), 10 deletions(-) diff

[patch net-next RFC 03/13] mlxsw: Move devlink port registration into common core code

2016-03-18 Thread Jiri Pirko
From: Jiri Pirko Remove devlink port reg/unreg from spectrum and switchx2 code and rather do the common work in core. That also ensures code separation where devlink is only used in core.c. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/core.c | 22 ++ dr

[PATCH] net: removes duplicate skb_mark_napi_id() calls.

2016-03-18 Thread Weongyo Jeong
Because napi_gro_receive() function calls skb_mark_napi_id() function, it doesn't need to set it twice. Signed-off-by: Weongyo Jeong --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 14 -- drivers/net/ethernet/cisco/enic/enic_main.c | 7 --- drivers/net/ethernet/int

Re: [PATCH net 1/3] ipip: Properly mark ipip GRO packets as encapsulated.

2016-03-18 Thread Eric Dumazet
On Thu, 2016-03-17 at 11:25 -0700, Jesse Gross wrote: > ipip encapsulated packets can be merged together by GRO but the result > does not have the proper GSO type set or even marked as being > encapsulated at all. Later retransmission of these packets will likely > fail if the device does not suppo

[PATCH] openvswitch: reduce padding in struct sw_flow_key

2016-03-18 Thread Arnd Bergmann
It's been a while since the last time sw_flow_key was made smaller in 1139e241ec43 ("openvswitch: Compact sw_flow_key."), and it has seen five patches adding new members since then. With the current linux-next kernel and gcc-6.0 on ARM, this has tipped us slightly over the stack frame warning limi

Re: [RFC v2 -next 1/2] virtio: Start feature MTU support

2016-03-18 Thread Stephen Hemminger
On Tue, 15 Mar 2016 17:04:12 -0400 Aaron Conole wrote: > --- a/include/uapi/linux/virtio_net.h > +++ b/include/uapi/linux/virtio_net.h > @@ -55,6 +55,7 @@ > #define VIRTIO_NET_F_MQ 22 /* Device supports Receive Flow >* Steering */ > #define VIRT

Re: [PATCH v6 net-next 0/2] tcp: Redundant Data Bundling (RDB)

2016-03-18 Thread Bendik Rønning Opstad
On 14/03/16 22:59, Yuchung Cheng wrote: > OK that makes sense. > > I left some detailed comments on the actual patches. I would encourage > to submit an IETF draft to gather feedback from tcpm b/c the feature > seems portable. Thank you for the suggestion, we appreciate the confidence. We have had

Re: Micrel Phy - Is there a way to configure the Phy not to do 802.3x flow control?

2016-03-18 Thread Murali Karicheri
On 03/16/2016 11:08 AM, Murali Karicheri wrote: > On 03/11/2016 02:51 PM, Florian Fainelli wrote: >> On 11/03/16 10:31, Murali Karicheri wrote: >>> On 03/10/2016 02:38 PM, Murali Karicheri wrote: On 03/10/2016 01:05 PM, Florian Fainelli wrote: > On 10/03/16 08:48, Murali Karicheri wrote: >

Re: linux-next: manual merge of the rdma tree with the net-next tree

2016-03-18 Thread Linus Torvalds
On Wed, Mar 16, 2016 at 1:52 PM, Stephen Rothwell wrote: > > How about "This is now fixed as far as linux-next is concerned, but any > non trivial conflicts should be mentioned to your upstream maintainer > when your tree is submitted for merging. You may want also want to > consider cooperate wi

Re: [PATCH v2] netfilter: fix race condition in ipset save, swap and delete

2016-03-18 Thread Jozsef Kadlecsik
Hi, On Mon, 14 Mar 2016, Vishwanath Pai wrote: > I have updated the patch according to comments by Jozsef. Renamed > ref_kernel to ref_netlink, renamed _put/_get functions and updated the > description in commit log. Patch is applied to the ipset git tree - you use some older kernel tree and I

Re: [PATCH net-next v3] rocker: add debugfs support to dump internal tables

2016-03-18 Thread Murali Karicheri
David, On 08/18/2015 04:47 PM, David Miller wrote: > I see some drivers where the foo_debugfs.c file is larger than the rest > of the driver. Once people start using it, it's like crack, and they > dump every single debugging widget they found useful at some point into > there. > > This is not w

[iproute PATCH 0/8] Follow-up to my action man pages series

2016-03-18 Thread Phil Sutter
The following patch series aims at addressing feedback provided by Jamal and Alexei. Thanks a lot for your input! Phil Sutter (8): doc/tc-filters.tex: Drop overly subjective paragraphs tc: connmark, pedit: Rename BRANCH to CONTROL man: tc-csum.8: Add an example man: tc-mirred.8: Reword man

Re: [PATCH] sctp: align MTU to a word

2016-03-18 Thread Eric Dumazet
On Fri, 2016-03-18 at 18:39 -0300, Marcelo Ricardo Leitner wrote: > - transport->pathmtu = dst_mtu(transport->dst); > + transport->pathmtu = dst_mtu(transport->dst) & ~3; Well, surely a helper doing this would be better than spreading & ~3 all over the places ;)

Re: [RFC PATCH 6/9] ethtool: Add support for toggling any of the GSO offloads

2016-03-18 Thread Ben Hutchings
On Fri, 2016-03-18 at 17:30 -0700, Alexander Duyck wrote: > On Fri, Mar 18, 2016 at 5:18 PM, Ben Hutchings wrote: > > > > On Fri, 2016-03-18 at 16:25 -0700, Alexander Duyck wrote: > > > > > > > > The strings were missing for several of the GSO offloads that are > > > available.  This patch prov

Re: [PATCH] ipv6: Fix the pmtu path for connected UDP socket

2016-03-18 Thread Cong Wang
On Fri, Mar 18, 2016 at 2:26 PM, Wei Wang wrote: > I don't think ip6_sk_update_pmtu() is a good place to put it as all it > does is to call ip6_update_pmtu(). And ip6_update_pmtu() does the > route lookup and call __ip6_rt_update_pmtu. > We can put it in ip6_update_pmtu(). But that still means we

Re: [net-next] net: fix a comment typo

2016-03-18 Thread David Miller
From: Zhang Shengju Date: Wed, 16 Mar 2016 09:12:46 + > Fix a comment typo. > > Signed-off-by: Zhang Shengju Applied.

Re: [RFC PATCH 6/9] ethtool: Add support for toggling any of the GSO offloads

2016-03-18 Thread Ben Hutchings
On Fri, 2016-03-18 at 16:25 -0700, Alexander Duyck wrote: > The strings were missing for several of the GSO offloads that are > available.  This patch provides the missing strings so that we can toggle > or query any of them via the ethtool command. > > Signed-off-by: Alexander Duyck > --- >  ne

Re: [PATCH net-next] cls_bpf: reset class and reuse major in da

2016-03-18 Thread David Miller
From: Daniel Borkmann Date: Tue, 15 Mar 2016 22:41:22 +0100 > There are two issues with the current code. First one is that we need > to set res->class to 0 in case we use non-default classid matching. > > This is important for the case where cls_bpf was initially set up with > an optional bindi

Re: [PATCH] netdev: Move octeon/octeon_mgmt driver to cavium directory.

2016-03-18 Thread David Miller
From: David Daney Date: Mon, 14 Mar 2016 17:57:08 -0700 > From: David Daney > > No code changes. Since OCTEON is a Cavium product, move the driver to > the vendor directory to unclutter things a bit. > > Signed-off-by: David Daney Applied, thanks.

Re: [patch 2/2 net-next] mediatek: unlock on error in mtk_tx_map()

2016-03-18 Thread David Miller
From: Dan Carpenter Date: Tue, 15 Mar 2016 10:19:04 +0300 > There was a missing unlock on the error path. > > Fixes: 656e705243fd ('net-next: mediatek: add support for MT7623 ethernet') > Signed-off-by: Dan Carpenter Applied.

Re: [PATCH net-next v2 0/4] ldmvsw: Add ldmvsw driver

2016-03-18 Thread David Miller
From: Aaron Young Date: Tue, 15 Mar 2016 11:35:36 -0700 > This series adds a new Logical Domains vSwitch (ldmvsw) driver. Series applied, thanks Aaron.

[RFC PATCH 9/9] ixgbe/ixgbevf: Add support for GSO partial

2016-03-18 Thread Alexander Duyck
This patch adds support for partial GSO segmentation in the case of GRE or UDP encapsulated frames. The one bit in this patch that is a bit controversial is the fact that we are leaving the inner IPv4 IP ID as a static value in the case of segmentation. As per RFC6864 this should be acceptable as

[RFC PATCH 6/9] ethtool: Add support for toggling any of the GSO offloads

2016-03-18 Thread Alexander Duyck
The strings were missing for several of the GSO offloads that are available. This patch provides the missing strings so that we can toggle or query any of them via the ethtool command. Signed-off-by: Alexander Duyck --- net/core/ethtool.c |3 +++ 1 file changed, 3 insertions(+) diff --git

[RFC PATCH 8/9] i40e/i40evf: Add support for GSO partial with UDP_TUNNEL_CSUM and GRE_CSUM

2016-03-18 Thread Alexander Duyck
This patch makes it so that i40e and i40evf can use GSO_PARTIAL to support segmentation for frames with checksums enabled in outer headers. As a result we can now send data over these types of tunnels at over 20Gb/s versus the 12Gb/s that was previously possible on my system. The advantage with t

Re: [PATCH 1/1] net: stmmac: Don't search for phys if mdio node is defined.

2016-03-18 Thread David Miller
From: Phil Reid Date: Tue, 15 Mar 2016 15:34:33 +0800 > If a dt mdio entry has been added least assume that we wont > search for phys attached. The DT and of_mdiobus_register already do > this. This stops DSA phys being found and phys created for them, as > this is handled by the DSA driver. > >

Re: [PATCH net] ravb: fix result value overwrite

2016-03-18 Thread David Miller
From: Yoshihiro Kaneko Date: Wed, 16 Mar 2016 00:52:16 +0900 > The result value is overwritten by a return value of > ravb_ptp_interrupt(). > > Signed-off-by: Yoshihiro Kaneko Applied.

Re: [PATCH] sctp: align MTU to a word

2016-03-18 Thread Marcelo Ricardo Leitner
On Fri, Mar 18, 2016 at 03:09:34PM -0700, Eric Dumazet wrote: > On Fri, 2016-03-18 at 18:39 -0300, Marcelo Ricardo Leitner wrote: > > > - transport->pathmtu = dst_mtu(transport->dst); > > + transport->pathmtu = dst_mtu(transport->dst) & ~3; > > > Well, surely a helper doing t

Re: [RFC PATCH 6/9] ethtool: Add support for toggling any of the GSO offloads

2016-03-18 Thread Alexander Duyck
On Fri, Mar 18, 2016 at 7:01 PM, Jesse Gross wrote: > On Fri, Mar 18, 2016 at 6:42 PM, Ben Hutchings wrote: >> On Fri, 2016-03-18 at 17:30 -0700, Alexander Duyck wrote: >>> On Fri, Mar 18, 2016 at 5:18 PM, Ben Hutchings wrote: >>> > On Fri, 2016-03-18 at 16:25 -0700, Alexander Duyck wrote: >>> >

Re: [patch 1/2 net-next] mediatek: checking for IS_ERR() instead of NULL

2016-03-18 Thread David Miller
From: Dan Carpenter Date: Tue, 15 Mar 2016 10:18:49 +0300 > of_phy_connect() returns NULL on error, it never returns error pointers. > > Fixes: 656e705243fd ('net-next: mediatek: add support for MT7623 ethernet') > Signed-off-by: Dan Carpenter Applied.

Re: [PATCH net] vlan: propagate gso_max_segs

2016-03-18 Thread Eric Dumazet
On Wed, 2016-03-16 at 21:59 -0700, Eric Dumazet wrote: > From: Eric Dumazet > > vlan drivers lack proper propagation of gso_max_segs from > lower device. > BTW, I suspect bridge code needs an update too. This might be the time to add IFLA_MAX_GSO_SEGS and IFLA_MAX_GSO_SIZE to help debugging th

Re: [PATCH 0/5] net: macb: Checkpatch cleanups

2016-03-18 Thread Nicolas Ferre
Le 13/03/2016 20:10, Moritz Fischer a écrit : > Hi all, > > I backed out the variable scope changes and made a separate > patch for the ether_addr_copy change. > > Changes from v1: As it's v2, it's better to add it in each subject of the patch series like: "[PATCH v2 0/5] net: macb: Checkpatch c

RE: [PATCH] iwlwifi: dvm: convert create_singlethread_workqueue() to alloc_workqueue()

2016-03-18 Thread Grumbach, Emmanuel
> Hello, > > On Thu, Mar 17, 2016 at 01:43:22PM +0100, Johannes Berg wrote: > > On Thu, 2016-03-17 at 20:37 +0800, Eva Rachel Retuya wrote: > > > Use alloc_workqueue() to allocate the workqueue instead of > > > create_singlethread_workqueue() since the latter is deprecated and > > > is scheduled f

Re: [PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-18 Thread Vineet Gupta
On Thursday 17 March 2016 05:08 PM, Alexey Brodkin wrote: > Hi Sergei, > > On Thu, 2016-03-17 at 13:58 +0300, Sergei Shtylyov wrote: >> On 3/17/2016 12:41 PM, Alexey Brodkin wrote: >> >>> Following commit broke DW GMAC functionality on AXS10x boards: >>> http://git.kernel.org/cgit/linux/kernel/git/

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-18 Thread Alexey Kardashevskiy
On 03/16/2016 08:45 PM, Or Gerlitz wrote: On Wed, Mar 16, 2016 at 10:34 AM, Alexey Kardashevskiy wrote: Oh. ok. It also looks like even with the reverted patch, mlx4 VF does not work in a guest: So where is the breakage point for you? does 4.4 works? if not, what? Ah, my bad. It is unrelat

Re: [PATCH net-next v3] rocker: add debugfs support to dump internal tables

2016-03-18 Thread Murali Karicheri
On 03/17/2016 05:53 PM, Ido Schimmel wrote: > Thu, Mar 17, 2016 at 10:25:19PM IST, and...@lunn.ch wrote: >> On Thu, Mar 17, 2016 at 04:10:31PM -0400, Murali Karicheri wrote: >>> David, >>> >>> On 08/18/2015 04:47 PM, David Miller wrote: I see some drivers where the foo_debugfs.c file is larger

[PATCH net-next 0/6] bridge: support sending rntl info when we set attributes through sysfs/ioctl

2016-03-18 Thread Xin Long
This patchset is used to support sending rntl info to user in some places, and ensure that whenever those attributes change internally or from sysfs, that a netlink notification is sent out to listeners. It also make some adjustment in bridge sysfs so that we can implement this easily. I've done

[PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-18 Thread Alexey Brodkin
Following commit broke DW GMAC functionality on AXS10x boards: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e34d65696d2ef13dc32f2a162556c86c461ed763 That's what happens on eth0 up: --->8 libphy: PHY stmmac-0: not

Re: [PATCH] net: mvneta: bm: clarify dependencies

2016-03-18 Thread David Miller
From: Arnd Bergmann Date: Tue, 15 Mar 2016 22:47:14 +0100 > MVNETA_BM has a dependency on MVNETA, so we can only select the former > if the latter is enabled. However, the code dependency is the reverse: > The mvneta module can call into the mvneta_bm module, so mvneta cannot > be a built-in if m

Re: [PATCH v1 1/2] ethtool: minor doc update

2016-03-18 Thread Ben Hutchings
On Thu, 2016-03-17 at 17:03 -0700, David Decotigny wrote: > From: David Decotigny > > Updates: commit 793cf87de9d1 ("ethtool: Set cmd field in >  ETHTOOL_GLINKSETTINGS response to wrong nwords") > > Signed-off-by: David Decotigny Reviewed-by: Ben Hutchings > --- >  include/uapi/linux

Re: [PATCH] mac80211: fix order of flag descriptions

2016-03-18 Thread Luis de Bethencourt
On 18/03/16 17:46, Luis de Bethencourt wrote: > On 18/03/16 16:49, Johannes Berg wrote: >> On Fri, 2016-03-18 at 16:35 +, Luis de Bethencourt wrote: >>> Fix order of mac80211_rx_flags description to match the enum. >>> >>> Signed-off-by: Luis de Bethencourt >>> --- >>> Hi, >>> >>> I want ahead

[patch net-next RFC 05/13] mlxsw: Do not pass around driver_priv directly

2016-03-18 Thread Jiri Pirko
From: Jiri Pirko Instead of that, pass mlxsw_core and use a helper to get driver priv from driver code. Looks much cleaner that way. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/core.c | 19 +++ drivers/net/ethernet/mellanox/mlxsw/core.h | 11 ++

Re: [PATCH] net: removes duplicate skb_mark_napi_id() calls.

2016-03-18 Thread David Miller
From: Weongyo Jeong Date: Wed, 16 Mar 2016 10:04:53 -0700 > Because napi_gro_receive() function calls skb_mark_napi_id() function, > it doesn't need to set it twice. > > Signed-off-by: Weongyo Jeong Unless you can show a significant performance argument, or other significant improvement result

Re: [RFC net-next 0/2] Create ancient subdirectories for old hardware

2016-03-18 Thread Joe Perches
On Fri, 2016-03-18 at 22:11 -0400, David Miller wrote: > From: Joe Perches > Date: Fri, 18 Mar 2016 17:33:29 -0700 > > > Maybe something like this: > >  > > Old, rare, and unsupported hardware should be exposed as ancient. > >  > > The drivers for these ancient hardwares are generally untested wi

Re: [PATCH v3 1/9] net: arc_emac: make the rockchip emac document more compatible

2016-03-18 Thread Rob Herring
On Mon, Mar 14, 2016 at 04:01:52PM +0800, Caesar Wang wrote: > Add the rk3036 SoCs to match driver for document since the emac driver > has supported the rk3036 SoCs. > > This patch adds the rk3036/rk3066/rk3188 SoCS to compatible for rockchip > emac ducument. Also, that will suit for other SoCs i

Re: [RFC PATCH 6/9] ethtool: Add support for toggling any of the GSO offloads

2016-03-18 Thread Alexander Duyck
On Fri, Mar 18, 2016 at 5:18 PM, Ben Hutchings wrote: > On Fri, 2016-03-18 at 16:25 -0700, Alexander Duyck wrote: > >> The strings were missing for several of the GSO offloads that are >> available. This patch provides the missing strings so that we can toggle >> or query any of them via the etht

[RFC PATCH 3/9] geneve: Enforce IP ID verification on outer headers

2016-03-18 Thread Alexander Duyck
This change enforces the IP ID verification on outer headers. As a result if the DF flag is not set on the outer header we will force the flow to be flushed in the event that the IP ID is out of sequence with the existing flow. Signed-off-by: Alexander Duyck --- drivers/net/geneve.c | 14

[RFC PATCH 4/9] vxlan: Enforce IP ID verification on outer headers

2016-03-18 Thread Alexander Duyck
This change enforces the IP ID verification on outer headers. As a result if the DF flag is not set on the outer header we will force the flow to be flushed in the event that the IP ID is out of sequence with the existing flow. Signed-off-by: Alexander Duyck --- drivers/net/vxlan.c | 14 +

[RFC PATCH 2/9] gre: Enforce IP ID verification on outer headers

2016-03-18 Thread Alexander Duyck
This change enforces the IP ID verification on outer headers. As a result if the DF flag is not set on the outer header we will force the flow to be flushed in the event that the IP ID is out of sequence with the existing flow. Signed-off-by: Alexander Duyck --- net/ipv4/gre_offload.c | 14 ++

[RFC PATCH 5/9] gue: Enforce IP ID verification on outer headers

2016-03-18 Thread Alexander Duyck
This change enforces the IP ID verification on outer headers. As a result if the DF flag is not set on the outer header we will force the flow to be flushed in the event that the IP ID is out of sequence with the existing flow. Signed-off-by: Alexander Duyck --- net/ipv4/fou.c | 14 ++

[RFC net-next 0/2] Create ancient subdirectories for old hardware

2016-03-18 Thread Joe Perches
Maybe something like this: Old, rare, and unsupported hardware should be exposed as ancient. The drivers for these ancient hardwares are generally untested with current kernels. Joe Perches (2): drivers/net: Create an ANCIENT_NETDEVICES symbol chelsio: Move original cxgb driver into ancient

[RFC net-next 2/2] chelsio: Move original cxgb driver into ancient subdirectory

2016-03-18 Thread Joe Perches
This hardware is no longer sold or supported by Chelsio. The hardware is relatively rare, so move it to an ancient subdirectory. Signed-off-by: Joe Perches --- drivers/net/ethernet/chelsio/Kconfig| 2 +- drivers/net/ethernet/chelsio/Makefile

[RFC PATCH 0/9] RFC6864 compliant GRO and GSO partial offload

2016-03-18 Thread Alexander Duyck
This patch series addresses two things. First it enables what I am calling RFC6864 compliant GRO. Basically what I am doing is allowing one of two patterns for incoming frames. Either the IP ID will increment, or if the DF bit is set it can either increment or stay the same value. This allows u

[RFC PATCH 1/9] ipv4/GRO: Allow multiple frames to use the same IP ID

2016-03-18 Thread Alexander Duyck
In RFC 6864 it is stated that we can essentially ignore the IPv4 ID field if we have not and will not use fragmentation. Such a frame is defined as having the DF flag set to 1, and the MF and frag_offset as 0. Currently for GRO we were requiring that the inner header always have an increasing IPv

[RFC net-next 1/2] drivers/net: Create an ANCIENT_NETDEVICES symbol

2016-03-18 Thread Joe Perches
Many drivers are ancient and written for hardware that is no longer available. These drivers are effectively untested under current kernels. Add a symbol that could guard inclusions of these drivers into modern kernels unless specifically requested. Signed-off-by: Joe Perches --- drivers/net/K

Re: [RFC net-next 0/2] Create ancient subdirectories for old hardware

2016-03-18 Thread David Miller
From: Joe Perches Date: Fri, 18 Mar 2016 19:28:02 -0700 > On Fri, 2016-03-18 at 22:11 -0400, David Miller wrote: >> From: Joe Perches >> Date: Fri, 18 Mar 2016 17:33:29 -0700 >> >> > Maybe something like this: >> >  >> > Old, rare, and unsupported hardware should be exposed as ancient. >> >  >>

Re: [PATCH v2 net-next 0/2] lan78xx: patch series

2016-03-18 Thread David Miller
Series applied, thanks.

Re: [PATCH net] bonding: fix bond_get_stats()

2016-03-18 Thread David Miller
From: Eric Dumazet Date: Thu, 17 Mar 2016 17:23:36 -0700 > From: Eric Dumazet > > bond_get_stats() can be called from rtnetlink (with RTNL held) > or from /proc/net/dev seq handler (with RCU held) > > The logic added in commit 5f0c5f73e5ef ("bonding: make global bonding > stats more reliable")

Re: [PATCH net] net: bcmgenet: fix dma api length mismatch

2016-03-18 Thread David Miller
From: Eric Dumazet Date: Thu, 17 Mar 2016 11:57:06 -0700 > From: Eric Dumazet > > When un-mapping skb->data in __bcmgenet_tx_reclaim(), > we must use the length that was used in original dma_map_single(), > instead of skb->len that might be bigger (includes the frags) > > We simply can store s

Re: [PATCH v2] net: smc911x: convert pxa dma to dmaengine

2016-03-18 Thread David Miller
From: Robert Jarzmik Date: Wed, 16 Mar 2016 18:26:02 +0100 > Convert the dma transfers to be dmaengine based, now pxa has a dmaengine > slave driver. This makes this driver a bit more PXA agnostic. > > The driver was only compile tested. The risk is quite small as no > current PXA platform I'm a

Re: [RFC PATCH 9/9] ixgbe/ixgbevf: Add support for GSO partial

2016-03-18 Thread Jesse Gross
On Fri, Mar 18, 2016 at 4:25 PM, Alexander Duyck wrote: > This patch adds support for partial GSO segmentation in the case of GRE or > UDP encapsulated frames. > > The one bit in this patch that is a bit controversial is the fact that we > are leaving the inner IPv4 IP ID as a static value in the

Re: [PATCH] phy: mdio-thunder: Fix some Kconfig typos

2016-03-18 Thread David Miller
From: Andreas Färber Date: Thu, 17 Mar 2016 00:23:37 +0100 > Drop two extra occurrences of "on" in option title and help text. > > Fixes: 379d7ac7ca31 ("phy: mdio-thunder: Add driver for Cavium Thunder SoC > MDIO buses.") > Cc: David Daney > Signed-off-by: Andreas Färber Applied.

  1   2   >