[PATCH net-next] vxlan: Use proper endian type for vni in vxlan[6]_xmit_skb

2015-07-22 Thread Thomas Graf
Silences the following sparse warnings: drivers/net/vxlan.c:1818:21: warning: incorrect type in assignment (different base types) drivers/net/vxlan.c:1818:21:expected restricted __be32 [usertype] vx_vni drivers/net/vxlan.c:1818:21:got unsigned int [unsigned] [usertype] vni

[PATCH 00/10] dpaa_eth: Add the Freescale DPAA Ethernet driver

2015-07-22 Thread Madalin Bucur
This patch series adds the Ethernet driver for the Freescale QorIQ Data Path Acceleration Architecture (DPAA). This version includes changes following the feedback received on previous RFC versions from Eric Dumazet, Bob Cochran, Joe Perches, Paul Bolle, Joakim Tjernlund, Scott Wood - thank you

[v3, 5/9] fsl/fman: Add Frame Manager support

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com Add Frame Manger Driver support. This patch adds The FMan configuration, initialization and runtime control routines. Signed-off-by: Igal Liberman igal.liber...@freescale.com --- drivers/net/ethernet/freescale/fman/Kconfig|1 -

[v3, 8/9] fsl/fman: Add FMan Port Support

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com This patch adds The FMan Port configuration, initialization and runtime control routines. Signed-off-by: Igal Liberman igal.liber...@freescale.com --- drivers/net/ethernet/freescale/fman/Makefile |2 +-

[v3, 6/9] fsl/fman: Add FMan MAC support

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com Add Frame Manger MAC Driver support. This patch adds The FMan MAC configuration, initialization and runtime control routines. This patch contains support for these types of MACs: tGEC, dTSEC and mEMAC Signed-off-by: Igal Liberman

[v3, 7/9] fsl/fman: Add FMan SP support

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com Add Storage Profiles support. The Storage Profiles contain parameters that are used by the FMan in order to store frames being received on the Rx ports, or to determine the parameters that affect writing the Internal Context in the frame margin on

Re: via rhine build regression for arch/sh

2015-07-22 Thread Antonio Borneo
On Wed, Jul 22, 2015 at 9:54 PM, Paul Gortmaker paul.gortma...@windriver.com wrote: The builds of arch/sh are failing in linux-next with: drivers/net/ethernet/via/via-rhine.c:1098:2: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration]

Re: [PATCH iproute2] tc: fix bpf compilation with old glibc

2015-07-22 Thread Stephen Hemminger
On Wed, 22 Jul 2015 13:05:32 + Daniel Borkmann dan...@iogearbox.net wrote: On 07/22/2015 02:29 PM, Nicolas Dichtel wrote: Error was: f_bpf.o: In function `bpf_parse_opt': f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv' m_bpf.o: In function `parse_bpf':

RE: [PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver

2015-07-22 Thread Woojung.Huh
Hi David, +static int eee_control = -1; +module_param(eee_control, int, 0444); +MODULE_PARM_DESC(eee_control, EEPROM default(-1), disable(0) enable(1)); Please don't add module parameters for things configurable via ethtool and other generic, standard, mechanisms. Per your comments,

[v3, 2/9] fsl/fman: Add the FMan port FLIB

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com The FMan Port FLib provides basic API used by the drivers to configure and control the FMan Port hardware. Signed-off-by: Igal Liberman igal.liber...@freescale.com --- drivers/net/ethernet/freescale/fman/Kconfig|1 +

[v3, 4/9] fsl/fman: Add FMan MURAM support

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com Add Frame Manager Multi-User RAM support. Signed-off-by: Igal Liberman igal.liber...@freescale.com --- drivers/net/ethernet/freescale/fman/Kconfig|1 + drivers/net/ethernet/freescale/fman/Makefile |6 +-

[PATCH] net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected

2015-07-22 Thread Antonio Borneo
The builds of arch/sh are failing in linux-next with: drivers/net/ethernet/via/via-rhine.c:1098:2: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration] drivers/net/ethernet/via/via-rhine.c:1119:2: error: implicit declaration of function 'pci_iounmap'

[PATCH 04/10] dpaa_eth: add support for S/G frames

2015-07-22 Thread Madalin Bucur
Add support for Scater/Gather (S/G) frames. The FMan can place the frame content into multiple buffers and provide a S/G Table (SGT) into one first buffer with references to the others. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c

Re: reproducable panic eviction work queue

2015-07-22 Thread Frank Schreuder
Op 7/22/2015 om 4:14 PM schreef Nikolay Aleksandrov: On 07/22/2015 04:03 PM, Nikolay Aleksandrov wrote: On 07/22/2015 03:58 PM, Florian Westphal wrote: Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: On 07/22/2015 10:17 AM, Frank Schreuder wrote: I got some additional information

[PATCH 02/10] dpaa_eth: add support for DPAA Ethernet

2015-07-22 Thread Madalin Bucur
This introduces the Freescale Data Path Acceleration Architecture (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, BMan, PAMU and FMan drivers to deliver Ethernet connectivity on the Freescale DPAA QorIQ platforms. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com ---

[PATCH 05/10] dpaa_eth: add driver's Tx queue selection mechanism

2015-07-22 Thread Madalin Bucur
Allow the selection of the transmission queue based on the CPU id. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com --- drivers/net/ethernet/freescale/dpaa/Kconfig | 10 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.c| 3 +++

[PATCH 03/10] dpaa_eth: add configurable bpool thresholds

2015-07-22 Thread Madalin Bucur
Allow the user to tweak the refill threshold and the total number of buffers in the buffer pool. The provided values are for one CPU. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com --- drivers/net/ethernet/freescale/dpaa/Kconfig | 18 ++

[PATCH 07/10] dpaa_eth: add sysfs exports

2015-07-22 Thread Madalin Bucur
Export Frame Queue and Buffer Pool IDs through sysfs. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com --- drivers/net/ethernet/freescale/dpaa/Makefile | 2 +- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 + drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 3 +

[v3, 0/9] Freescale DPAA FMan

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by

Re: [ovs-dev] [PATCH net-next 00/22 v2] Lightweight flow based encapsulation

2015-07-22 Thread roopa
On 7/22/15, 1:58 AM, thomas.mo...@orange.com wrote: Hi Thomas, This looks promising. One question: will this approach allow MPLS-in-GRE and MPLS-in-UDP ? The current series was focused on IP to MPLS tunnels. But, the infrastructure allows associating encap state with routes and calling the

[PATCH 09/10] dpaa_eth: add debugfs entries

2015-07-22 Thread Madalin Bucur
Export per CPU counters through debugfs. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com --- drivers/net/ethernet/freescale/dpaa/Kconfig| 7 + drivers/net/ethernet/freescale/dpaa/Makefile | 3 + drivers/net/ethernet/freescale/dpaa/dpaa_debugfs.c | 273

[PATCH 10/10] dpaa_eth: add trace points

2015-07-22 Thread Madalin Bucur
Add trace points on the hot processing path. Signed-off-by: Ruxandra Ioana Radulescu ruxandra.radule...@freescale.com --- drivers/net/ethernet/freescale/dpaa/Makefile | 1 + drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 12 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.h |

[PATCH 06/10] dpaa_eth: add ethtool functionality

2015-07-22 Thread Madalin Bucur
Add support for basic ethtool operations. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com --- drivers/net/ethernet/freescale/dpaa/Makefile | 2 +- .../net/ethernet/freescale/dpaa/dpaa_eth_common.c | 2 + .../net/ethernet/freescale/dpaa/dpaa_eth_common.h | 3 +

[PATCH 08/10] dpaa_eth: add debugfs counters

2015-07-22 Thread Madalin Bucur
Add a series of counters to be exported through debugfs: - add detailed counters for reception errors; - add detailed counters for QMan enqueue reject events; - count the number of fragmented skbs received from the stack; - count all frames received on the Tx confirmation path; - add congestion

[v3, 1/9] fsl/fman: Add the FMan FLIB

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com The FMan FLib provides the basic API used by the FMan drivers to configure and control the FMan hardware. Signed-off-by: Igal Liberman igal.liber...@freescale.com --- drivers/net/ethernet/freescale/Kconfig |1 +

[v3, 9/9] fsl/fman: Add FMan MAC driver

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com This patch adds the Ethernet MAC driver support. Signed-off-by: Igal Liberman igal.liber...@freescale.com Signed-off-by: Madalin Bucur madalin.bu...@freescale.com --- drivers/net/ethernet/freescale/fman/inc/mac.h | 134

[v3, 3/9] fsl/fman: Add the FMan MAC FLIB

2015-07-22 Thread igal.liberman
From: Igal Liberman igal.liber...@freescale.com The FMan MAC FLib provides basic API used by the drivers to configure and control the FMan MAC hardware. Signed-off-by: Igal Liberman igal.liber...@freescale.com --- drivers/net/ethernet/freescale/fman/Makefile |1 +

Re: [v3, 2/9] fsl/fman: Add the FMan port FLIB

2015-07-22 Thread Stephen Hemminger
On Wed, 22 Jul 2015 14:21:48 +0300 igal.liber...@freescale.com wrote: diff --git a/drivers/net/ethernet/freescale/fman/Kconfig b/drivers/net/ethernet/freescale/fman/Kconfig index 8aeae29..af42c3a 100644 --- a/drivers/net/ethernet/freescale/fman/Kconfig +++

Re: [PATCH 03/10] dpaa_eth: add configurable bpool thresholds

2015-07-22 Thread Joe Perches
On Wed, 2015-07-22 at 19:16 +0300, Madalin Bucur wrote: Allow the user to tweak the refill threshold and the total number of buffers in the buffer pool. The provided values are for one CPU. Any value in making these module parameters instead? +config FSL_DPAA_ETH_MAX_BUF_COUNT + int

Re: [PATCH net-next 0/6] bnx2x: update FW, rebrand and more

2015-07-22 Thread David Miller
From: Yuval Mintz yuval.mi...@qlogic.com Date: Wed, 22 Jul 2015 09:16:21 +0300 This patch series does several things - it updates the bnx2x FW into 7.12.30 which both contains some small fixes as well as opening the door for several new features for the device - mainly vxlan/geneve offloads

Re: [PATCH net-next] bridge: mcast: when multicast is disabled flush the groups

2015-07-22 Thread Nikolay Aleksandrov
On 07/22/2015 07:03 PM, Cong Wang wrote: On Wed, Jul 22, 2015 at 3:28 AM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: From: Satish Ashok sas...@cumulusnetworks.com Once multicast gets disabled we should flush the groups. Example: # bridge mdb add dev br0 port eth3 grp 239.0.0.1

Re: [PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver

2015-07-22 Thread David Miller
DO not reply to feedback to post a new version of your patch. Instead, make a new, fresh, patch posting. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver

2015-07-22 Thread Woojung.Huh
Thanks. Will post new patch. -Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Wednesday, July 22, 2015 2:06 PM To: Woojung Huh - C21699 Cc: netdev@vger.kernel.org Subject: Re: [PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: Thomas Graf tg...@suug.ch Date: Wed, 22 Jul 2015 14:23:09 +0200 On 07/22/15 at 12:10am, Roopa Prabhu wrote: From: Roopa Prabhu ro...@cumulusnetworks.com seen with CONFIG_IPV6 disabled. Wrap the code around IS_ENABLED(CONFIG_IPV6) Reported-by: kbuild test robot

Re: [linuxwifi] [PATCH] iwlwifi:Fix error handling in the function iwl_pcie_enqueue_hcmd

2015-07-22 Thread Grumbach, Emmanuel
On 07/22/2015 08:30 PM, nick wrote: On 2015-07-22 01:28 PM, Grumbach, Emmanuel wrote: On 07/22/2015 07:39 PM, Nicholas Krause wrote: This fixes error handling in the function iwl_pcie_enqueue_hcmd by checking if all calls to the function wl_pcie_txq_build_tfd have failed by returning a

Re: [PATCH 02/10] dpaa_eth: add support for DPAA Ethernet

2015-07-22 Thread Joe Perches
On Wed, 2015-07-22 at 19:16 +0300, Madalin Bucur wrote: This introduces the Freescale Data Path Acceleration Architecture (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, BMan, PAMU and FMan drivers to deliver Ethernet connectivity on the Freescale DPAA QorIQ platforms.

Re: [PATCH net-next v5] ipv6: sysctl to restrict candidate source addresses

2015-07-22 Thread David Miller
From: Erik Kline e...@google.com Date: Wed, 22 Jul 2015 16:38:25 +0900 Per RFC 6724, section 4, Candidate Source Addresses: It is RECOMMENDED that the candidate source addresses be the set of unicast addresses assigned to the interface that will be used to send to the

Re: ARP response with link local IP, why not broadcast

2015-07-22 Thread David Miller
From: Sebastian Fett db_ext...@gmx.de Date: Wed, 22 Jul 2015 09:49:49 +0200 I think that behaviour is acceptable because it only happens in local networks. Waking up sleeping devices will not be a concern there. No, it is not acceptable. If your laptop or cell phone's wireless interface is

Re: Several races in usbnet module (kernel 4.1.x)

2015-07-22 Thread Eugene Shatokhin
21.07.2015 17:22, Oliver Neukum пишет: On Mon, 2015-07-20 at 21:13 +0300, Eugene Shatokhin wrote: And here, the code clears EVENT_RX_KILL bit in dev-flags, which may execute concurrently with the above operation: #0 clear_bit (bitops.h:113, inlined) #1 usbnet_bh (usbnet.c:1475) /*

Re: [PATCH net-next] bridge: mcast: when multicast is disabled flush the groups

2015-07-22 Thread Cong Wang
On Wed, Jul 22, 2015 at 3:28 AM, Nikolay Aleksandrov niko...@cumulusnetworks.com wrote: From: Satish Ashok sas...@cumulusnetworks.com Once multicast gets disabled we should flush the groups. Example: # bridge mdb add dev br0 port eth3 grp 239.0.0.1 # bridge mdb dev br0 port eth3 grp

[PATCH] MIPS: Remove most of the custom gpio.h

2015-07-22 Thread Alban Bedel
Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS machines, and each machine type provides its own gpio.h. However only the Alchemy machine really use the feature, all other machines only use the default wrappers. For most machine types we can just remove the custom gpio.h, as well

Re: [PATCH] net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected

2015-07-22 Thread David Miller
From: Antonio Borneo borneo.anto...@gmail.com Date: Thu, 23 Jul 2015 00:34:14 +0800 - depends on (PCI || OF_IRQ) + depends on (PCI || (OF_IRQ GENERIC_PCI_IOMAP)) Having GENERIC_PCI_IOMAP withut PCI makes absolutely no sense to me. I can't see why a platform would provide

[PATCH 01/10] devres: add devm_alloc_percpu()

2015-07-22 Thread Madalin Bucur
Introduce managed counterparts for alloc_percpu() and free_percpu(). Add devm_alloc_percpu() and devm_free_percpu() into the managed interfaces list. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com --- Documentation/driver-model/devres.txt | 4 +++ drivers/base/devres.c

Re: [PATCH net-next] r8152: support the new RTL8153 chip

2015-07-22 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Wed, 22 Jul 2015 15:27:41 +0800 Support the new USB gigabit ethernet. Signed-off-by: Hayes Wang hayesw...@realtek.com Applied. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org

Re: [PATCH net-next] ip_tunnel: Provide tunnel metadata API for CONFIG_INET=n

2015-07-22 Thread David Miller
From: Thomas Graf tg...@suug.ch Date: Wed, 22 Jul 2015 14:43:58 +0200 Account for the configuration FIB_RULES=y INET=n as FIB_RULES can be selected by IPV6 or DECNET without INET. Fixes: e7030878fc84 (fib: Add fib rule match on tunnel id) Fixes: 3093fbe7ff4b (route: Per route IP tunnel

[PATCH V2 net-next 1/1] hv_netvsc: Wait for sub-channels to be processed during probe

2015-07-22 Thread K. Y. Srinivasan
The current code returns from probe without waiting for the proper handling of subchannels that may be requested. If the netvsc driver were to be rapidly loaded/unloaded, we can trigger a panic as the unload will be tearing down state that may not have been fully setup yet. We fix this issue by

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: Thomas Graf tg...@suug.ch Date: Wed, 22 Jul 2015 21:57:06 +0200 On 07/22/15 at 12:30pm, roopa wrote: diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig +++ b/net/mpls/Kconfig @@ -24,6 +24,8 @@ config NET_MPLS_GSO config

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 10:49 AM, David Miller wrote: From: Thomas Graf tg...@suug.ch Date: Wed, 22 Jul 2015 14:23:09 +0200 On 07/22/15 at 12:10am, Roopa Prabhu wrote: From: Roopa Prabhu ro...@cumulusnetworks.com seen with CONFIG_IPV6 disabled. Wrap the code around IS_ENABLED(CONFIG_IPV6) Reported-by:

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 5:23 AM, Thomas Graf wrote: On 07/22/15 at 12:10am, Roopa Prabhu wrote: From: Roopa Prabhu ro...@cumulusnetworks.com seen with CONFIG_IPV6 disabled. Wrap the code around IS_ENABLED(CONFIG_IPV6) Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Roopa Prabhu

Re: [PATCH net-next] ipv6: Avoid rt6_probe() taking writer lock in the fast path

2015-07-22 Thread Martin KaFai Lau
On Wed, Jul 22, 2015 at 11:10:59AM +0900, YOSHIFUJI Hideaki wrote: You have to take some lock when accessing neigh-nud_state theoretically. I don't think read_lock can buy us a lot of extra protection either. If it has missed the train, the next ip6_pol_route() call will trigger rt6_probe().

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread David Miller
From: roopa ro...@cumulusnetworks.com Date: Wed, 22 Jul 2015 12:30:19 -0700 diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig +++ b/net/mpls/Kconfig @@ -24,6 +24,8 @@ config NET_MPLS_GSO config MPLS_ROUTING tristate MPLS:

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 1:17 PM, Thomas Graf wrote: On 07/22/15 at 01:04pm, David Miller wrote: From: Thomas Graf tg...@suug.ch Date: Wed, 22 Jul 2015 21:57:06 +0200 On 07/22/15 at 12:30pm, roopa wrote: diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig

kernel warning in tcp_fragment

2015-07-22 Thread Jovi Zhangwei
Hi Neal and Martin, Sorry for disturbing, our production system(3.14 and 3.18 stable kernel) have many tcp_fragment warnings, the trace is same as below one which you discussed before. http://comments.gmane.org/gmane.linux.network/365658 But I didn't found the final solution in that mail

[PATCH net-next 1/1] Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver

2015-07-22 Thread Woojung.Huh
This patch adds a driver for LAN7800 family of USB 2.0 USB 3.0 to Gigabit Ethernet. - remove module param which can be configurable by standard mechanism. Signed-off-by: Woojung Huh woojung@microchip.com --- drivers/net/usb/Kconfig | 10 + drivers/net/usb/Makefile |1 +

Re: [PATCH nf 0/6] IPVS Fixes for v4.2

2015-07-22 Thread Pablo Neira Ayuso
Hi Simon, On Thu, Jul 16, 2015 at 11:14:07AM +0900, Simon Horman wrote: Hi Pablo, please consider this fix for v4.2. For reasons that are not clear to me it is a bumper crop. It seems to me that they are all relevant to stable. Please let me know if you need my help to get the fixes into

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Thomas Graf
On 07/22/15 at 12:30pm, roopa wrote: diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig +++ b/net/mpls/Kconfig @@ -24,6 +24,8 @@ config NET_MPLS_GSO config MPLS_ROUTING tristate MPLS: routing support + depends on INET +

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread roopa
On 7/22/15, 1:04 PM, David Miller wrote: From: Thomas Graf tg...@suug.ch Date: Wed, 22 Jul 2015 21:57:06 +0200 On 07/22/15 at 12:30pm, roopa wrote: diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig +++ b/net/mpls/Kconfig @@ -24,6 +24,8 @@

Re: [PATCH] iwlwifi:Fix error handling in the function iwl_pcie_enqueue_hcmd

2015-07-22 Thread Grumbach, Emmanuel
On 07/22/2015 07:39 PM, Nicholas Krause wrote: This fixes error handling in the function iwl_pcie_enqueue_hcmd by checking if all calls to the function wl_pcie_txq_build_tfd have failed by returning a error code and if so jump to the goto label out from the cleaning up of acquired resources

Re: [PATCH net-next] mpls_iptunnel: fix sparse warn: remove incorrect rcu_dereference

2015-07-22 Thread David Miller
From: Roopa Prabhu ro...@cumulusnetworks.com Date: Tue, 21 Jul 2015 22:49:00 -0700 From: Roopa Prabhu ro...@cumulusnetworks.com fix for: net/mpls/mpls_iptunnel.c:73:19: sparse: incompatible types in comparison expression (different address spaces) remove incorrect rcu_dereference

Re: [PATCH net-next] af_mpls: fix undefined reference to ip6_route_output

2015-07-22 Thread Thomas Graf
On 07/22/15 at 01:04pm, David Miller wrote: From: Thomas Graf tg...@suug.ch Date: Wed, 22 Jul 2015 21:57:06 +0200 On 07/22/15 at 12:30pm, roopa wrote: diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig index 5c467ef..2b28615 100644 --- a/net/mpls/Kconfig +++ b/net/mpls/Kconfig @@

[GIT] Networking

2015-07-22 Thread David Miller
1) Don't use shared bluetooth antenna in iwlwifi driver for management frames, from Emmanuel Grumbach. 2) Fix device ID check in ath9k driver, from Felix Fietkau. 3) Off by one in xen-netback BUG checks, from Dan Carpenter. 4) Fix IFLA_VF_PORT netlink attribute validation, from Daniel

RE: A Regression between v4.2-rc2 and v4.2-rc3

2015-07-22 Thread Duan Andy
From: Peter Chen peter.c...@freescale.com Sent: Wednesday, July 22, 2015 1:45 PM To: netdev@vger.kernel.org Cc: Andrew Lunn; Duan Fugang-B38611; David S. Miller Subject: A Regression between v4.2-rc2 and v4.2-rc3 Hi List, I run out a kernel oops [2] for nfsroot at several imx6 boards

[net-next:master 83/84] af_mpls.c:undefined reference to `ip6_route_output'

2015-07-22 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 0b2c2a931a051e75f9df429b520bb2c2f2bb056b commit: 01faef2cebae02685e2bcfc9bbee8416d5ec19fc [83/84] mpls: make RTA_OIF optional config: i386-randconfig-n1-201529 (attached as .config) reproduce: git checkout

[PATCH net-next] r8152: support the new RTL8153 chip

2015-07-22 Thread Hayes Wang
Support the new USB gigabit ethernet. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 7f6419e..57b72ec 100644 ---

[PATCH net 1/2] ipv4: fib_select_default should match the prefix

2015-07-22 Thread Julian Anastasov
fib_trie starting from 4.1 can link fib aliases from different prefixes in same list. Make sure the alternative gateways are in same table and for same prefix (0) by checking tb_id and fa_slen. Fixes: 79e5ad2ceb00 (fib_trie: Remove leaf_info) Signed-off-by: Julian Anastasov j...@ssi.bg ---

[PATCH net 2/2] ipv4: consider TOS in fib_select_default

2015-07-22 Thread Julian Anastasov
fib_select_default considers alternative routes only when res-fi is for the first alias in res-fa_head. In the common case this can happen only when the initial lookup matches the first alias with highest TOS value. This prevents the alternative routes to require specific TOS. This patch solves

Re: ARP response with link local IP, why not broadcast

2015-07-22 Thread Sebastian Fett
On Tue, Jul 21, 2015 at 4:38 PM, Sebastian Fett db_ext...@gmx.de wrote: Hello! According to RFC3927 every ARP packet (reply and request) should be sent as link layer broadcast as long as the sender IP is a link local address. (see chapter 2.5). Because broadcast replies are noisy and should

Re: reproducable panic eviction work queue

2015-07-22 Thread Frank Schreuder
I got some additional information from syslog: Jul 22 09:49:33 dommy0 kernel: [ 675.987890] NMI watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [kworker/3:1:42] Jul 22 09:49:42 dommy0 kernel: [ 685.114033] INFO: rcu_sched self-detected stall on CPU { 3} (t=39918 jiffies g=988 c=987

[PATCH V3 net-next 0/5] net: implement SMC-R solution

2015-07-22 Thread Ursula Braun
From: Ursula Braun ursula.br...@de.ibm.com Dave, this is V3 of my SMC-R patches, containing mainly a new version of the required tcp changes. Dave, you requested the new feature to be nearly zero cost. Thus my approach is a technique using Static Keys. Do you basicly agree with such an approach?

[PATCH V3 net-next 1/5] tcp: TCP experimental option for SMC - definitions

2015-07-22 Thread Ursula Braun
From: Ursula Braun ursula.br...@de.ibm.com The SMC-R protocol defines dynamic discovery of peers. This is done by implementing experimental TCP options as defined in RFC6994. The TCP code needs to be extended to support RFC6994. Setting the TCP experimental option for SMC-R [2] will be triggered

[PATCH V3 net-next 3/5] net: introduce socket family constants

2015-07-22 Thread Ursula Braun
From: Ursula Braun ursula.br...@de.ibm.com The new socket family is assigned the next available address / protocol family constant 41. Implementing SO_KEEPALIVE for SMC-R requires an extra hook in net/ipv4/timer.c. Signed-off-by: Ursula Braun ursula.br...@de.ibm.com --- include/linux/socket.h |

[PATCH net-next v5] ipv6: sysctl to restrict candidate source addresses

2015-07-22 Thread Erik Kline
Per RFC 6724, section 4, Candidate Source Addresses: It is RECOMMENDED that the candidate source addresses be the set of unicast addresses assigned to the interface that will be used to send to the destination (the outgoing interface). Add a sysctl to enable this behaviour.

Re: reproducable panic eviction work queue

2015-07-22 Thread Frank Schreuder
Op 7/21/2015 om 8:34 PM schreef Florian Westphal: Frank Schreuder fschreu...@transip.nl wrote: [ inet frag evictor crash ] We believe we found the bug. This patch should fix it. We cannot share list for buckets and evictor, the flag member is subject to race conditions so flags

[PATCH V3 net-next 2/5] tcp: TCP experimental option for SMC - TCP hooks

2015-07-22 Thread Ursula Braun
From: Ursula Braun ursula.br...@de.ibm.com The SMC-R protocol defines dynamic discovery of peers. This is done by implementing experimental TCP options as defined in RFC6994. The TCP code needs to be extended to support RFC6994. Setting the TCP experimental option for SMC-R [2] will be triggered

[PATCH V3 net-next 5/5] smc: increase / decrease static key

2015-07-22 Thread Ursula Braun
From: Ursula Braun ursula.br...@de.ibm.com To activate the smc-specific hooks in the TCP-code, static key tcp_have_smc is increased and decreased. For now this is done at module load / unload time. Signed-off-by: Ursula Braun ursula.br...@de.ibm.com --- net/smc/af_smc.c | 2 ++ 1 file changed,

Re: reproducable panic eviction work queue

2015-07-22 Thread Nikolay Aleksandrov
On 07/22/2015 10:17 AM, Frank Schreuder wrote: I got some additional information from syslog: Jul 22 09:49:33 dommy0 kernel: [ 675.987890] NMI watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [kworker/3:1:42] Jul 22 09:49:42 dommy0 kernel: [ 685.114033] INFO: rcu_sched self-detected

A Regression between v4.2-rc2 and v4.2-rc3

2015-07-22 Thread Peter Chen
Hi List, I run out a kernel oops [2] for nfsroot at several imx6 boards when rebase to v4.2-rc3, after revert below patch [1], it is ok. This patch is just adding runtime pm for ipg clock, I am wonder why it takes as a bug fix. [1] commit 6c3e921b18edca290099adfddde8a50236bf2d80 Author: Andrew

Re: [ovs-dev] [PATCH net-next 00/22 v2] Lightweight flow based encapsulation

2015-07-22 Thread thomas.morin
Hi Thomas, This looks promising. One question: will this approach allow MPLS-in-GRE and MPLS-in-UDP ? -Thomas 2015-07-21, Thomas Graf: This series combines the work previously posted by Roopa, Robert and myself. It's according to what we discussed at NFWS. The motivation of this series is

[PATCH net-next 4/6] bnx2x: new Multi-function mode - BD

2015-07-22 Thread Yuval Mintz
This adds support to a new multi-function mode, enabling driver to initialize such devices and correctly interacting with management FW for fully utilizing their features. Signed-off-by: Yuval Mintz yuval.mi...@qlogic.com Signed-off-by: Ariel Elior ariel.el...@qlogic.com ---

[PATCH net-next 2/6] bnx2x: Rebrand from 'broadcom' into 'qlogic'

2015-07-22 Thread Yuval Mintz
bnx2x still appears as a Broadcom driver even though the devices it utilizes belong to Qlogic for more than a year. This patch changes the various headers and the device strings to indicate the correct ownership of the device. Signed-off-by: Yuval Mintz yuval.mi...@qlogic.com Signed-off-by:

[PATCH net-next 3/6] bnx2x: Add 84858 phy support

2015-07-22 Thread Yuval Mintz
From: Yaniv Rosner yaniv.ros...@qlogic.com This adds support to a new copper phy. Signed-off-by: Yaniv Rosner yaniv.ros...@qlogic.com Signed-off-by: Yuval Mintz yuval.mi...@qlogic.com --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h | 3 + drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c

[PATCH net-next 0/6] bnx2x: update FW, rebrand and more

2015-07-22 Thread Yuval Mintz
This patch series does several things - it updates the bnx2x FW into 7.12.30 which both contains some small fixes as well as opening the door for several new features for the device - mainly vxlan/geneve offloads and vlan filtering offload. It then adds a new Multi-function mode [BD] which

[PATCH net-next 1/6] bnx2x: Utilize FW 7.12.30

2015-07-22 Thread Yuval Mintz
This moves bnx2x into using 7.12.30 FW. Said firmware fixes the following: - Packets from a VF with pvid configured which were sent with a different vlan were transmitted instead of being discarded. - FCoE traffic might not recover after a failue while there's traffic to another

[PATCH net-next 5/6] bnx2x: Add MFW dump support

2015-07-22 Thread Yuval Mintz
Devices with up-to-date management FW will be able to store register dumps on their persistent storage - in case management FW identifies a fatal error it would gather and store such dumps, which could later be retrieved using specific debug tools. This patch adds the necessary part in the driver

Re: [RFC PATCH v2 net-next 3/3] tcp: add NV congestion control

2015-07-22 Thread Neal Cardwell
On Wed, Jul 22, 2015 at 2:50 AM, Yuchung Cheng ych...@google.com wrote: On Tue, Jul 21, 2015 at 9:21 PM, Lawrence Brakmo bra...@fb.com wrote: This is a request for comments. TCP-NV (New Vegas) is a major update to TCP-Vegas. An earlier version of NV was presented at 2010's LPC (slides). It is

Re: [PATCH] virtio_net: don't require ANY_LAYOUT with VERSION_1

2015-07-22 Thread Michael S. Tsirkin
On Mon, Jul 20, 2015 at 12:42:59PM -0700, David Miller wrote: From: Michael S. Tsirkin m...@redhat.com Date: Wed, 15 Jul 2015 15:26:19 +0300 ANY_LAYOUT is a compatibility feature. It's implied for VERSION_1 devices, and non-transitional devices might not offer it. Change code to behave

[PATCH v1 net-next 1/1] net: fec: add stop mode request on/off implemention

2015-07-22 Thread Fugang Duan
The current driver depends on platform data to implement stop mode request on/off that call api pdata-sleep_mode_enable(). To reduce arch platform redundancy code, since the function only set SOC GPR register bit to request stop mode of/off, so we can move the function into driver. And the

[PATCH v2] cgroup: net_cls: fix false-positive suspicious RCU usage

2015-07-22 Thread Konstantin Khlebnikov
In dev_queue_xmit() net_cls protected with rcu-bh. [ 270.730026] === [ 270.730029] [ INFO: suspicious RCU usage. ] [ 270.730033] 4.2.0-rc3+ #2 Not tainted [ 270.730036] --- [ 270.730040] include/linux/cgroup.h:353 suspicious

RE: [PATCH V3 3/7] Drivers: hv: vmbus: add APIs to send/recv hvsock packet and get the r/w-ability

2015-07-22 Thread Dexuan Cui
From: Vitaly Kuznetsov Sent: Tuesday, July 21, 2015 22:07 diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c ... +int vmbus_recvpacket_hvsock(struct vmbus_channel *channel, void *buffer, + u32 bufferlen, u32 *buffer_actual_len) +{ + struct

[PATCH net-next] bridge: mcast: when multicast is disabled flush the groups

2015-07-22 Thread Nikolay Aleksandrov
From: Satish Ashok sas...@cumulusnetworks.com Once multicast gets disabled we should flush the groups. Example: # bridge mdb add dev br0 port eth3 grp 239.0.0.1 # bridge mdb dev br0 port eth3 grp 239.0.0.1 temp # echo 0 multicast_snooping # bridge mdb Signed-off-by: Satish Ashok

[PATCH net] bridge: netlink: fix slave_changelink/br_setport race conditions

2015-07-22 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov niko...@cumulusnetworks.com Since slave_changelink support was added there have been a few race conditions when using br_setport() since some of the port functions it uses require the bridge lock. It is very easy to trigger a lockup due to some internal spin_lock() usage

Re: [PATCH V3 3/7] Drivers: hv: vmbus: add APIs to send/recv hvsock packet and get the r/w-ability

2015-07-22 Thread Dan Carpenter
On Wed, Jul 22, 2015 at 10:09:10AM +, Dexuan Cui wrote: I'd suggest you do something like if (ret == -EAGIAIN) return 0; else if (ret) return ret; to make it future-proof (e.g. when a new error is returned by hv_ringbuffer_peek). And a comment would

Re: reproducable panic eviction work queue

2015-07-22 Thread Frank Schreuder
Hi Nikolay, Thanks for this patch. I'm no longer able to reproduce this panic on our test environment! The server has been handling 120k fragmented UDP packets per second for over 40 minutes So far everything is running stable without stacktraces in the logs. All other panics happened within

Re: [RFC PATCH v2 net-next 1/3] tcp: replace cnt rtt with struct in pkts_acked()

2015-07-22 Thread Neal Cardwell
On Wed, Jul 22, 2015 at 1:46 AM, Eric Dumazet eric.duma...@gmail.com wrote: On Tue, 2015-07-21 at 21:21 -0700, Lawrence Brakmo wrote: Replace 2 arguments (cnt and rtt) in the congestion control modules' pkts_acked() function with a struct. This will allow adding more information without having

Re: [RFC net-next 1/1] : sctp: denoise deprecation log on SCTP_EVENTS

2015-07-22 Thread Daniel Borkmann
On 07/22/2015 01:48 PM, David Laight wrote: From: Jamal Hadi Salim Sent: 09 July 2015 11:38 In the newer kernels this message is extremely noisy. After a quick discussion with Daniel it seems to me it will be very hard to get existing apps that nobody is going to update to continue to work

Re: [PATCH v2] cgroup: net_cls: fix false-positive suspicious RCU usage

2015-07-22 Thread Daniel Borkmann
On 07/22/2015 02:03 PM, Konstantin Khlebnikov wrote: On 22.07.2015 14:56, Daniel Borkmann wrote: On 07/22/2015 11:23 AM, Konstantin Khlebnikov wrote: In dev_queue_xmit() net_cls protected with rcu-bh. ... Signed-off-by: Konstantin Khlebnikov khlebni...@yandex-team.ru ---

[PATCH net-next] ip_tunnel: Provide tunnel metadata API for CONFIG_INET=n

2015-07-22 Thread Thomas Graf
Account for the configuration FIB_RULES=y INET=n as FIB_RULES can be selected by IPV6 or DECNET without INET. Fixes: e7030878fc84 (fib: Add fib rule match on tunnel id) Fixes: 3093fbe7ff4b (route: Per route IP tunnel metadata via lightweight tunnel) Reported-by: kbuild test robot

Re: [PATCH net] bridge: netlink: fix slave_changelink/br_setport race conditions

2015-07-22 Thread Jiri Pirko
Wed, Jul 22, 2015 at 01:03:40PM CEST, ra...@blackwall.org wrote: From: Nikolay Aleksandrov niko...@cumulusnetworks.com Since slave_changelink support was added there have been a few race conditions when using br_setport() since some of the port functions it uses require the bridge lock. It is

Re: [PATCH iproute2] tc: fix bpf compilation with old glibc

2015-07-22 Thread Daniel Borkmann
On 07/22/2015 02:29 PM, Nicolas Dichtel wrote: Error was: f_bpf.o: In function `bpf_parse_opt': f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv' m_bpf.o: In function `parse_bpf': m_bpf.c:(.text+0x587): undefined reference to `secure_getenv' collect2: error: ld returned 1 exit status

[RFC PATCH 0/5] netlink: mmap kernel panic and some issues

2015-07-22 Thread Ken-ichirou MATSUZAWA
Hello, I got a kernel panic below when I dumped using mmaped netlink socket while monitoring it by nlmon tap device. I realized it is because mmaped netlink skb does not have skb_shared_info but don't know how to fix it in sane. This patch series seems to work fine for me but I'm not sure it's

  1   2   >