Re: [PATCH 0/2] of: fsl/fman: reuse the fixed node parsing code

2015-08-12 Thread Stas Sergeev
12.08.2015 16:26, Madalin-Cristian Bucur пишет: I've tried to make the smallest changes that allow me to retrieve those without modifying existing API. Why is it important to hide the default values from the MAC driver? My worry is that the fixed values are not really fixed, and therefore are

RE: [PATCH 0/2] of: fsl/fman: reuse the fixed node parsing code

2015-08-12 Thread Madalin-Cristian Bucur
-Original Message- From: Stas Sergeev [mailto:s...@list.ru] 12.08.2015 16:26, Madalin-Cristian Bucur пишет: I've tried to make the smallest changes that allow me to retrieve those without modifying existing API. Why is it important to hide the default values from the MAC driver?

[PATCH net-next] net: fec: Remove unneeded use of IS_ERR_VALUE() macro

2015-08-12 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com There is no need to use the IS_ERR_VALUE() macro for checking the return value from pm_runtime_* functions. Just do a simple negative test instead. The semantic patch that makes this change is available in scripts/coccinelle/api/pm_runtime.cocci.

Re: [PATCH 0/2] of: fsl/fman: reuse the fixed node parsing code

2015-08-12 Thread Stas Sergeev
12.08.2015 17:43, Madalin-Cristian Bucur пишет: -Original Message- From: Stas Sergeev [mailto:s...@list.ru] 12.08.2015 16:26, Madalin-Cristian Bucur пишет: I've tried to make the smallest changes that allow me to retrieve those without modifying existing API. Why is it important to

Re: [PATCH v2 0/2] net: thunder: Add ACPI support.

2015-08-12 Thread Catalin Marinas
On Tue, Aug 11, 2015 at 01:04:55PM -0700, David Daney wrote: On 08/11/2015 11:49 AM, David Miller wrote: From: David Daney ddaney.c...@gmail.com Date: Mon, 10 Aug 2015 17:58:35 -0700 Change from v1: Drop PHY binding part, use fwnode_property* APIs. The first patch (1/2) rearranges the

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-12 Thread Stephen Hemminger
On Wed, 12 Aug 2015 16:14:33 +0800 Zang MingJie zealot0...@gmail.com wrote: On Wed, Aug 12, 2015 at 4:52 AM, Alexander Duyck alexander.du...@gmail.com wrote: On 08/10/2015 04:50 AM, Hannes Frederic Sowa wrote: Hello, Zang MingJie zealot0...@gmail.com writes: Here comes several

RE: [PATCH 0/2] of: fsl/fman: reuse the fixed node parsing code

2015-08-12 Thread Madalin-Cristian Bucur
-Original Message- From: Stas Sergeev [mailto:s...@list.ru] snip But have you looked into the patch I pointed previously? https://lkml.org/lkml/2015/7/20/711 You code will likely clash with it because my patch extends of_phy_register_fixed_link(). I admin I failed to grasp the

Re: ipv6_mc_check_mld - kernel BUG at net/core/skbuff.c:1128

2015-08-12 Thread Eric Dumazet
On Tue, 2015-08-11 at 21:56 -0700, David Miller wrote: Calling pskb_expand_head() with a shared SKB is absolutely, positively, a bug. You just don't understand why it is. Definitely agree. Its a pain to find races otherwise. skb_get() in general is quite tricky. Better avoid it unless

[PATCH v2 net-next] bpf: fix bpf_perf_event_read() loop upper bound

2015-08-12 Thread Wei-Chun Chao
Verifier rejects programs incorrectly. Fixes: 35578d798400 (bpf: Implement function bpf_perf_event_read()) Cc: Kaixu Xia xiaka...@huawei.com Cc: Alexei Starovoitov a...@plumgrid.com Signed-off-by: Wei-Chun Chao weich...@plumgrid.com --- v2: better subject line --- kernel/bpf/verifier.c | 2 +-

Re: [net-next PATCH 1/3] net: make default tx_queue_len configurable

2015-08-12 Thread Eric Dumazet
On Tue, 2015-08-11 at 18:13 -0700, Alexei Starovoitov wrote: Also why introduce the flag? Why not just add 'tx_queue_len = 0;' to veth_setup() like the whole bunch of devices do? Sigh. Because some people install htb or pfifo on veth, leaving tx_queue_len unchanged. If you install htb while

Re: [PATCH v2 net-next] sky2: use random address if EEPROM is bad

2015-08-12 Thread Stephen Hemminger
On Wed, 12 Aug 2015 10:30:05 +0100 Liviu Dudau liviu.du...@arm.com wrote: On Tue, Aug 11, 2015 at 06:01:32PM +0100, Stephen Hemminger wrote: On Tue, 11 Aug 2015 15:35:56 +0100 Liviu Dudau liviu.du...@arm.com wrote: On some embedded systems the EEPROM does not contain a valid MAC

Re: [PATCH v2 0/2] net: thunder: Add ACPI support.

2015-08-12 Thread David Daney
On 08/12/2015 08:23 AM, Catalin Marinas wrote: On Tue, Aug 11, 2015 at 01:04:55PM -0700, David Daney wrote: On 08/11/2015 11:49 AM, David Miller wrote: From: David Daney ddaney.c...@gmail.com Date: Mon, 10 Aug 2015 17:58:35 -0700 Change from v1: Drop PHY binding part, use fwnode_property*

RE: [PATCH 4/6] dlm: use sctp 1-to-1 API

2015-08-12 Thread David Laight
From: Marcelo Ricardo Leitner Sent: 12 August 2015 14:16 Em 12-08-2015 07:23, David Laight escreveu: From: Marcelo Ricardo Leitner Sent: 11 August 2015 23:22 DLM is using 1-to-many API but in a 1-to-1 fashion. That is, it's not needed but this causes it to use sctp_do_peeloff() to mimic

Re: [PATCH 1/6] ip/ipnetns: prevent potential string buffer overflow

2015-08-12 Thread Stephen Hemminger
Rather than chopping the string off, I decided to solve the problem by changing network namespace cache to use variable length structure. -- 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

Re: [PATCH net-next 4/6] openvswitch: Use Geneve device.

2015-08-12 Thread Jesse Gross
On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar pshe...@nicira.com wrote: With help of tunnel metadata mode OVS can directly use Geneve devices to implement Geneve tunnels. This patch removes all of the OVS specific Geneve code and make OVS use a Geneve net_device. Basic geneve vport is

Re: [PATCH net-next 0/4] Add some more debug info

2015-08-12 Thread David Miller
From: Hariprasad Shenai haripra...@chelsio.com Date: Wed, 12 Aug 2015 16:55:03 +0530 This patch series adds the following. Add more info for sge_qinfo dump Differentiate tid and stids between different regions, and add a debugfs entry to dump all the tid info This patch series has been

Re: [PATCHv3 net-next 06/10] openvswitch: Allow matching on conntrack mark

2015-08-12 Thread Joe Stringer
On 12 August 2015 at 16:00, Pravin Shelar pshe...@nicira.com wrote: On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer joestrin...@nicira.com wrote: From: Justin Pettit jpet...@nicira.com Allow matching and setting the conntrack mark field. As with conntrack state and zone, these are populated by

Re: [PATCH net-next 1/2] net: track link status of ipv6 nexthops

2015-08-12 Thread David Miller
From: Andy Gospodarek go...@cumulusnetworks.com Date: Mon, 10 Aug 2015 14:46:52 -0400 I went this way as the idea of storing this info in a flags structure for 2 reasons: - This idea or marking on link status changes and checking for that mark during forwarding was done what was suggested

Re: [PATCH] net: eth: altera: Remove sgdmadesclen member from altera_tse_private

2015-08-12 Thread David Miller
From: Tobias Klauser tklau...@distanz.ch Date: Mon, 10 Aug 2015 12:26:32 +0200 altera_tse_private-sgdmadesclen is always assigned assigned the same value and never changes during runtime. Remove the struct member and use a new define for sizeof(struct sgdma_descrip) instead. Signed-off-by:

Re: [PATCH 1/2] Add a matching set of device_ functions for determining mac/phy

2015-08-12 Thread Florian Fainelli
On 12/08/15 15:06, Jeremy Linton wrote: OF has some helper functions for parsing MAC and PHY settings. In cases where the platform is providing this information rather than the device itself, there needs to be similar functions for ACPI. These functions are slightly modified versions of the

Re: [PATCH net-next] net: atl1c: add BQL support

2015-08-12 Thread Francois Romieu
Ron Angeles ronange...@gmail.com : This BQL implementation is mostly derived from its related driver, alx. Tested on AR8131 (rev c0) [1969:1063]. Saturated a 100mbps link with 5 concurrent runs of netperf. Ping latency dropped from 14ms to 3ms. Could you use some time to test the attached

RE: VxLAN support question

2015-08-12 Thread Andrew Qu
Hi Alexei, I run into following issue: root@ODLserver:/home/andrew# ip li add vxlan0 type vxlan id 42 remote 171.1.1.1 local 170.1.1.1 dev eth1 OK root@ODLserver:/home/andrew# ip li add vxlan1 type vxlan id 42 remote 172.1.1.1 local 170.1.1.1 dev eth2 == RTNETLINK answers: File exists

[PATCH 2/2] Convert smsc911x to use ACPI as well as DT

2015-08-12 Thread Jeremy Linton
Add ACPI bindings for the smsc911x driver. Convert the DT specific calls to nonspecific device* calls, This allows the driver to work with both ACPI and DT configurations. Ethernet should now work when using ACPI on ARM Juno. Signed-off-by: Jeremy Linton jeremy.lin...@arm.com ---

[PATCH 0/2] Enable smsc911x for use with ACPI

2015-08-12 Thread Jeremy Linton
This set of patches enables the front Ethernet port on the ARM Juno development platform when used with an ACPI enabled kernel. These patches covert the of_property* calls in the driver to the DT/ACPI agnostic device_property* calls, and add the arm hardware id to the acpi_match_table. To

Re: [PATCHv1 net-next 0/5] netlink: mmap: kernel panic and some issues

2015-08-12 Thread David Miller
From: Ken-ichirou MATSUZAWA chama...@gmail.com Date: Wed, 12 Aug 2015 17:28:24 +0900 It would be better if someone else is working on this. Or could you help me out? It's a tough work for me. If you are fixing a panic, you must show that panic message and describe in detail the exact sequence

[v2 11/11] soc/qman: add qman_delete_cgr_safe()

2015-08-12 Thread Roy Pledge
From: Madalin Bucur madalin.bu...@freescale.com Add qman_delete_cgr_safe() that can be called from any CPU. This in turn schedules qman_delete_cgr() on the proper CPU. Signed-off-by: Madalin Bucur madalin.bu...@freescale.com Signed-off-by: Roy Pledge roy.ple...@freescale.com ---

[v2 07/11] soc/bman: Add debugfs support for the BMan driver

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe geoff.tho...@freescale.com Add debugfs support for querying the state of hardware based Buffer Manager pools used in DPAA 1.0. Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com Signed-off-by: Emil Medve emilian.me...@freescale.com Signed-off-by: Roy Pledge

[patch] cosa: missing error code on failure in probe()

2015-08-12 Thread Dan Carpenter
If register_hdlc_device() fails, the current code returns 0 but we should return an error code instead. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index 7193b73..848ea6a 100644 --- a/drivers/net/wan/cosa.c +++

Re: [PATCH net] net: dsa: Do not override PHY interface if already configured

2015-08-12 Thread David Miller
From: Florian Fainelli f.faine...@gmail.com Date: Sat, 8 Aug 2015 12:58:57 -0700 In case we need to divert reads/writes using the slave MII bus, we may have already fetched a valid PHY interface property from Device Tree, and that mode is used by the PHY driver to make configuration

Re: [PATCH net-next 1/2] net: track link status of ipv6 nexthops

2015-08-12 Thread Andy Gospodarek
On Wed, Aug 12, 2015 at 02:32:26PM -0700, David Miller wrote: From: Andy Gospodarek go...@cumulusnetworks.com Date: Mon, 10 Aug 2015 14:46:52 -0400 I went this way as the idea of storing this info in a flags structure for 2 reasons: - This idea or marking on link status changes and

Re: [PATCH net-next 1/2] lan78xx: Fix Smatch Warnings

2015-08-12 Thread David Miller
From: woojung@microchip.com Date: Tue, 11 Aug 2015 15:21:41 + lan78xx.c:2282 tx_complete() warn: variable dereferenced before check 'skb' (see line 2249) lan78xx.c:2885 lan78xx_bh() info: ignoring unreachable code. lan78xx.c:3159 lan78xx_probe() info: ignoring unreachable code.

Re: [PATCH net-next 2/2] lan78xx: Remove BUG_ON()

2015-08-12 Thread David Miller
From: woojung@microchip.com Date: Tue, 11 Aug 2015 15:23:33 + Removing BUG_ON() Signed-off-by: Woojung Huh woojung@microchip.com Applied. -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More majordomo info

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-12 Thread Sander Eikelenboom
On 2015-08-12 23:40, David Miller wrote: From: li...@eikelenboom.it Date: Wed, 12 Aug 2015 22:50:42 +0200 On 2015-08-12 22:41, Eric Dumazet wrote: On Wed, 2015-08-12 at 21:19 +0200, li...@eikelenboom.it wrote: Hi, On my box running Xen with a 4.2-rc6 kernel i still get this splat in dom0,

Re: [PATCH net-next 3/6] geneve: Add support to collect tunnel metadata.

2015-08-12 Thread Pravin Shelar
On Wed, Aug 12, 2015 at 1:53 PM, Jesse Gross je...@nicira.com wrote: On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar pshe...@nicira.com wrote: diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c index 5e9bab8..a463383 100644 --- a/drivers/net/geneve.c +++ b/drivers/net/geneve.c

Re: [PATCH v2 net-next] bpf: fix bpf_perf_event_read() loop upper bound

2015-08-12 Thread David Miller
From: Wei-Chun Chao weich...@plumgrid.com Date: Wed, 12 Aug 2015 07:57:12 -0700 Verifier rejects programs incorrectly. Fixes: 35578d798400 (bpf: Implement function bpf_perf_event_read()) Cc: Kaixu Xia xiaka...@huawei.com Cc: Alexei Starovoitov a...@plumgrid.com Signed-off-by: Wei-Chun Chao

Re: [patch] cosa: missing error code on failure in probe()

2015-08-12 Thread David Miller
From: Dan Carpenter dan.carpen...@oracle.com Date: Thu, 13 Aug 2015 00:08:01 +0300 If register_hdlc_device() fails, the current code returns 0 but we should return an error code instead. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Applied, thanks Dan. -- To unsubscribe from this

[v2 08/11] soc/qman: Add debugfs support for the QMan driver

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe geoff.tho...@freescale.com Add debugfs sypport for querying the state of hardware based queues managed by the DPAA 1.0 Queue Manager. Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com Signed-off-by: Emil Medve emilian.me...@freescale.com Signed-off-by: Madalin Bucur

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-12 Thread David Miller
From: li...@eikelenboom.it Date: Wed, 12 Aug 2015 22:50:42 +0200 On 2015-08-12 22:41, Eric Dumazet wrote: On Wed, 2015-08-12 at 21:19 +0200, li...@eikelenboom.it wrote: Hi, On my box running Xen with a 4.2-rc6 kernel i still get this splat in dom0, which crashes the box. (i reported a

Re: [PATCH net-next] bpf: fix build warnings and add function read_trace_pipe()

2015-08-12 Thread David Miller
From: Kaixu Xia xiaka...@huawei.com Date: Wed, 12 Aug 2015 09:37:53 + There are two improvements in this patch: 1. Fix the build warnings; 2. Add function read_trace_pipe() to print the result on the screen; Before this patch, we can get the result through /sys/kernel/de

[v2 09/11] soc/bman: Add HOTPLUG_CPU support to the BMan driver

2015-08-12 Thread Roy Pledge
From: Hai-Ying Wang haiying.w...@freescale.com Add support for CPU hotplug for the DPAA 1.0 Buffer Manager driver Signed-off-by: Hai-Ying Wang haiying.w...@freescale.com Signed-off-by: Emil Medve emilian.me...@freescale.com Signed-off-by: Roy Pledge roy.ple...@freescale.com ---

[v2 10/11] soc/qman: Add HOTPLUG_CPU support to the QMan driver

2015-08-12 Thread Roy Pledge
From: Hai-Ying Wang haiying.w...@freescale.com Add support for CPU hotplug for the DPAA 1.0 Queue Manager driver. Signed-off-by: Hai-Ying Wang haiying.w...@freescale.com Signed-off-by: Emil Medve emilian.me...@freescale.com Signed-off-by: Roy Pledge roy.ple...@freescale.com ---

[v2 06/11] soc/qman: Add self-tester for QMan driver

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe geoff.tho...@freescale.com Add a self test for the DPAA 1.0 Queue Manager driver. The tests ensure that the driver can properly enqueue and dequeue from frame queues using the QMan portal infrastructure. Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com Signed-off-by:

[v2 02/11] soc/fsl: Introduce DPAA BMan device management driver

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe geoff.tho...@freescale.com This driver enables the Freescale DPAA 1.0 Buffer Manager block. BMan is a hardware buffer pool manager that allows accelerators connected to the SoC datapath to acquire and release buffers during data processing. Signed-off-by: Geoff Thorpe

[v2 00/11] Freescale DPAA QBMan Drivers

2015-08-12 Thread Roy Pledge
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 multiple CPU cores and the accelerators.

[v2 01/11] powerpc: re-add devm_ioremap_prot()

2015-08-12 Thread Roy Pledge
From: Emil Medve emilian.me...@freescale.com devm_ioremap_prot() was removed in commit dedd24a12, and was introduced in commit b41e5fffe8. This reverts commit dedd24a12fe6735898feeb06184ee346907abb5d. Signed-off-by: Emil Medve emilian.me...@freescale.com --- arch/powerpc/include/asm/io.h |

[v2 05/11] soc/bman: Add self-tester for BMan driver

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe geoff.tho...@freescale.com Add a self test for the DPAA 1.0 Buffer Manager driver. This test ensures that the driver can properly acquire and release buffers using the BMan portal infrastructure. Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com Signed-off-by: Emil Medve

Re: [PATCH] bonding: Gratuitous ARP gets dropped when first slave added

2015-08-12 Thread David Miller
From: Venkat Venkatsubra venkat.x.venkatsu...@oracle.com Date: Tue, 11 Aug 2015 07:57:23 -0700 When the first slave is added (such as during bootup) the first gratuitous ARP gets dropped. We don't see this drop during a failover. The packet gets dropped in qdisc (noop_enqueue). The fix is

Re: [PATCHv3 net-next 05/10] openvswitch: Add conntrack action

2015-08-12 Thread Pravin Shelar
On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer joestrin...@nicira.com wrote: Expose the kernel connection tracker via OVS. Userspace components can make use of the ct() action, followed by recirculate, to populate the conntracking state in the OVS flow key, and subsequently match on that state.

Re: [net-next PATCH] net: ipv4: increase dhcp inter device timeout

2015-08-12 Thread David Miller
From: Mugunthan V N mugunthan...@ti.com Date: Wed, 12 Aug 2015 15:31:43 +0530 When a system has multiple ethernet devices and during DHCP request (for using NFS), the system waits only for HZ/2 which is 500mS before switching to another interface for DHCP. There are some routers (Ex:

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-12 Thread Eric Dumazet
On Wed, 2015-08-12 at 21:19 +0200, li...@eikelenboom.it wrote: Hi, On my box running Xen with a 4.2-rc6 kernel i still get this splat in dom0, which crashes the box. (i reported a similar splat before (at rc4) here, http://www.spinics.net/lists/netdev/msg337570.html) Never seen this

Re: [PATCH net-next 3/6] geneve: Add support to collect tunnel metadata.

2015-08-12 Thread Jesse Gross
On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar pshe...@nicira.com wrote: diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c index 5e9bab8..a463383 100644 --- a/drivers/net/geneve.c +++ b/drivers/net/geneve.c +static struct geneve_dev *geneve_lookup(struct geneve_net *gn, +

Re: [PATCHv2 0/3] gianfar: filer changes

2015-08-12 Thread David Miller
From: Jakub Kicinski moorr...@wp.pl Date: Wed, 12 Aug 2015 02:41:54 +0200 respinning with examples as requested. Series applied, thanks. -- 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

Re: [PATCH v2 net-next] documentation: bring vxlan documentation more up-to-date

2015-08-12 Thread Rick Jones
On 08/12/2015 04:46 PM, David Miller wrote: From: r...@tardy.usa.hp.com (Rick Jones) Date: Wed, 12 Aug 2015 10:23:14 -0700 (PDT) From: Rick Jones rick.jon...@hp.com A few things have changed since the previous version of the vxlan documentation was written, so update it and correct some

Re: [PATCH net-next] net: fec: Remove unneeded use of IS_ERR_VALUE() macro

2015-08-12 Thread David Miller
From: Fabio Estevam feste...@gmail.com Date: Wed, 12 Aug 2015 12:10:23 -0300 From: Fabio Estevam fabio.este...@freescale.com There is no need to use the IS_ERR_VALUE() macro for checking the return value from pm_runtime_* functions. Just do a simple negative test instead. The semantic

Re: [PATCHv3 net-next 04/10] dst: Add __skb_dst_copy() variation

2015-08-12 Thread Pravin Shelar
On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer joestrin...@nicira.com wrote: This variation on skb_dst_copy() doesn't require two skbs. Signed-off-by: Joe Stringer joestrin...@nicira.com Acked-by: Pravin B Shelar pshe...@nicira.com -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH net] net: dsa: Do not override PHY interface if already configured

2015-08-12 Thread Guenter Roeck
On Wed, Aug 12, 2015 at 02:30:35PM -0700, David Miller wrote: From: Florian Fainelli f.faine...@gmail.com Date: Sat, 8 Aug 2015 12:58:57 -0700 In case we need to divert reads/writes using the slave MII bus, we may have already fetched a valid PHY interface property from Device Tree, and

Re: [PATCHv3 net-next 03/10] ipv6: Export nf_ct_frag6_gather()

2015-08-12 Thread Pravin Shelar
On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer joestrin...@nicira.com wrote: Signed-off-by: Joe Stringer joestrin...@nicira.com Acked-by: Thomas Graf tg...@suug.ch Acked-by: Pravin B Shelar pshe...@nicira.com -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a

Re: [PATCH net] net: dsa: Do not override PHY interface if already configured

2015-08-12 Thread Florian Fainelli
On 12/08/15 14:30, David Miller wrote: From: Florian Fainelli f.faine...@gmail.com Date: Sat, 8 Aug 2015 12:58:57 -0700 In case we need to divert reads/writes using the slave MII bus, we may have already fetched a valid PHY interface property from Device Tree, and that mode is used by the

Re: [PATCHv3 net-next 01/10] openvswitch: Serialize acts with original netlink len

2015-08-12 Thread Pravin Shelar
On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer joestrin...@nicira.com wrote: Previously, we used the kernel-internal netlink actions length to calculate the size of messages to serialize back to userspace. However,the sw_flow_actions may not be formatted exactly the same as the actions on the

Re: [PATCHv3 net-next 02/10] openvswitch: Move MASKED* macros to datapath.h

2015-08-12 Thread Pravin Shelar
On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer joestrin...@nicira.com wrote: This will allow the ovs-conntrack code to reuse these macros. Signed-off-by: Joe Stringer joestrin...@nicira.com Acked-by: Thomas Graf tg...@suug.ch Acked-by: Pravin B Shelar pshe...@nicira.com -- To unsubscribe from

Re: [PATCH net] net: dsa: Do not override PHY interface if already configured

2015-08-12 Thread David Miller
From: Florian Fainelli f.faine...@gmail.com Date: Wed, 12 Aug 2015 14:34:12 -0700 On 12/08/15 14:30, David Miller wrote: Applied to 'net', thanks Florian. Could you also schedule this for -stable, at least 4.1 is affected by this change, thank you! Done, thanks. -- To unsubscribe from this

Re: [PATCH net-next] net: atl1c: add BQL support

2015-08-12 Thread David Miller
From: Ron Angeles ronange...@gmail.com Date: Tue, 11 Aug 2015 23:01:20 -0700 This BQL implementation is mostly derived from its related driver, alx. Tested on AR8131 (rev c0) [1969:1063]. Saturated a 100mbps link with 5 concurrent runs of netperf. Ping latency dropped from 14ms to 3ms.

Re: [PATCH] IGMP: Inhibit reports for local multicast groups

2015-08-12 Thread David Miller
From: Philip Downey pdow...@brocade.com Date: Wed, 12 Aug 2015 17:13:53 +0100 IGMP reports are generated for link local multicast groups (224.0.0.1 - 224.0.0.255) used by the routing protocols such as RIP, OSPF etc. In general routers do not generate reports for local multicast groups. IGMP

Re: [PATCH v2 net-next] documentation: bring vxlan documentation more up-to-date

2015-08-12 Thread David Miller
From: r...@tardy.usa.hp.com (Rick Jones) Date: Wed, 12 Aug 2015 10:23:14 -0700 (PDT) From: Rick Jones rick.jon...@hp.com A few things have changed since the previous version of the vxlan documentation was written, so update it and correct some grammer and such while we are at it.

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-12 Thread linux
On 2015-08-12 22:41, Eric Dumazet wrote: On Wed, 2015-08-12 at 21:19 +0200, li...@eikelenboom.it wrote: Hi, On my box running Xen with a 4.2-rc6 kernel i still get this splat in dom0, which crashes the box. (i reported a similar splat before (at rc4) here,

Re: [PATCH net-next 1/2] hv_netvsc: Set vRSS with num_chn in RNDIS filter

2015-08-12 Thread David Miller
From: Andrew Schwartzmeyer andsc...@microsoft.com Date: Tue, 11 Aug 2015 17:14:31 -0700 Uses device_info-num_chn to pass user provided number of vRSS queues (from ethtool --set-channels) to rndis_filter_device_add. If nonzero and less than the maximum, set net_device-num_chn to the given

Re: [PATCH net-next 2/2] hv_netvsc: Implement set_channels ethtool op

2015-08-12 Thread David Miller
From: Andrew Schwartzmeyer andsc...@microsoft.com Date: Tue, 11 Aug 2015 17:14:32 -0700 This enables the use of ethtool --set-channels devname combined N to change the number of vRSS queues. Separate rx, tx, and other parameters are not supported. The maximum is rsscap.num_recv_que. It passes

Re: [PATCH net-next 5/6] geneve: Consolidate Geneve functionality in single module.

2015-08-12 Thread Jesse Gross
On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar pshe...@nicira.com wrote: diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index c18f9e6..0002ab7 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -181,7 +181,7 @@ config VXLAN config GENEVE tristate Generic

Re: [PATCH net-next 6/6] geneve: Remove duplicate dev list

2015-08-12 Thread Jesse Gross
On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar pshe...@nicira.com wrote: static void __net_exit geneve_exit_net(struct net *net) { struct geneve_net *gn = net_generic(net, geneve_net_id); - struct geneve_dev *geneve, *next; + struct hlist_head *vni_list_head; +

[PATCH 1/2] Add a matching set of device_ functions for determining mac/phy

2015-08-12 Thread Jeremy Linton
OF has some helper functions for parsing MAC and PHY settings. In cases where the platform is providing this information rather than the device itself, there needs to be similar functions for ACPI. These functions are slightly modified versions of the ones in of_net which can use information

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-12 Thread Eric Dumazet
On Wed, 2015-08-12 at 23:46 +0200, Sander Eikelenboom wrote: Thanks for the reminder, but luckily i was aware of that, seen enough of your replies asking for patches to be resubmitted against the other tree ;) Kernel with patch is currently running so fingers crossed. Thanks for testing. I

Re: [PATCHv3 net-next 06/10] openvswitch: Allow matching on conntrack mark

2015-08-12 Thread Pravin Shelar
On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer joestrin...@nicira.com wrote: From: Justin Pettit jpet...@nicira.com Allow matching and setting the conntrack mark field. As with conntrack state and zone, these are populated by executing the ct() action. Unlike these, the ct_mark is also a

Re: [PATCH net-next 5/6] geneve: Consolidate Geneve functionality in single module.

2015-08-12 Thread Pravin Shelar
On Wed, Aug 12, 2015 at 2:55 PM, Jesse Gross je...@nicira.com wrote: On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar pshe...@nicira.com wrote: diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index c18f9e6..0002ab7 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -181,7

Re: [PATCH] genet:Fix error handling in the function bcmgenet_fini_gma

2015-08-12 Thread Florian Fainelli
Le 08/12/15 19:27, Nicholas Krause a écrit : This fixes error handing in the function bcmgenet_fini_gma to properly check if its internal call to the function bcm_genet_teardown has failed by returning a error code and if so return immediately to this function's caller with a return statement

[PATCH net-next] cxgb4: Add MPS tracing support

2015-08-12 Thread Hariprasad Shenai
Handle TRACE_PKT, stack can sniff them on the first port Add debubfs enrty to configure tracing for offload traffic like iWARP iSCSI for debugging purpose. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 8 +

Re: [PATCH net-next 0/3] mpls: multipath support

2015-08-12 Thread roopa
On 8/12/15, 10:30 AM, Robert Shearman wrote: On 11/08/15 22:45, Roopa Prabhu wrote: From: Roopa Prabhu ro...@cumulusnetworks.com This patch series adds multipath support to mpls routes. resembles ipv4 multipath support. The multipath route nexthop selection algorithm is the same code as in

Re: [PATCH net-next 2/3] mpls: consistently use u8 to store number of labels

2015-08-12 Thread roopa
On 8/12/15, 12:17 PM, Robert Shearman wrote: On 11/08/15 22:45, Roopa Prabhu wrote: From: Roopa Prabhu ro...@cumulusnetworks.com change all types representing number of labels to u8 to be consistent. This also changes labels to u8 in the light weight mpls_tunnel_encap structure. This is

Re: [PATCH net-next 3/3] mpls: add multipath route support

2015-08-12 Thread roopa
On 8/12/15, 12:18 PM, Robert Shearman wrote: On 11/08/15 22:45, Roopa Prabhu wrote: From: Roopa Prabhu ro...@cumulusnetworks.com Adds support for MPLS multipath routes. supports parse/fill of RTA_MULTIPATH netlink attribute for multipath routes similar to ipv4 fib. Mostly based on multipath

Re: kernel warning in tcp_fragment

2015-08-12 Thread Martin KaFai Lau
On Mon, Aug 10, 2015 at 02:35:37PM -0400, Neal Cardwell wrote: On Mon, Aug 10, 2015 at 2:10 PM, Jovi Zhangwei j...@cloudflare.com wrote: Ping? We saw a lot of this warnings in our production system. It would be great appreciate if someone can give us the fix on this warnings. :) What

Re: [net-next PATCH 1/3] net: make default tx_queue_len configurable

2015-08-12 Thread Phil Sutter
On Tue, Aug 11, 2015 at 06:13:49PM -0700, Alexei Starovoitov wrote: On Tue, Aug 11, 2015 at 06:23:35PM +0200, Phil Sutter wrote: I have an unfinished solution in the oven, but being kept busy with other things for now. The action plan is as follows: 1) Introduce IFF_NO_QUEUE

RE: [PATCH iproute2] ip: replace exit with return

2015-08-12 Thread 张胜举
From: netdev-ow...@vger.kernel.org Sent: 11 August 2015 10:40 In our manual, we have this description of 'EXIT STATUS': Exit status is 0 if command was successful, and 1 if there is a syntax error. But we exit in command functions with code -1 when there is a syntax error. It's

Re: [PATCH net-next] net: atl1c: add BQL support

2015-08-12 Thread Ron Angeles
On 08/12/2015 03:40 PM, Francois Romieu wrote: Ron Angeles ronange...@gmail.com : This BQL implementation is mostly derived from its related driver, alx. Tested on AR8131 (rev c0) [1969:1063]. Saturated a 100mbps link with 5 concurrent runs of netperf. Ping latency dropped from 14ms to 3ms.

[PATCH] net: fix wrong skb_get() usage / crash in IGMP/MLD parsing code

2015-08-12 Thread Linus Lüssing
The recent refactoring of the IGMP and MLD parsing code into ipv6_mc_check_mld() / ip_mc_check_igmp() introduced a potential crash / BUG() invocation for bridges: I wrongly assumed that skb_get() could be used as a simple reference counter for an skb which is not the case. skb_get() bears

Re: [PATCH] net: fix wrong skb_get() usage / crash in IGMP/MLD parsing code

2015-08-12 Thread Alexei Starovoitov
On Thu, Aug 13, 2015 at 05:54:07AM +0200, Linus Lüssing wrote: The recent refactoring of the IGMP and MLD parsing code into ipv6_mc_check_mld() / ip_mc_check_igmp() introduced a potential crash / BUG() invocation for bridges: I wrongly assumed that skb_get() could be used as a simple

[PATCH net-next] rocker: hook ndo_neigh_destroy to cleanup neigh refs in driver

2015-08-12 Thread sfeldma
From: Scott Feldman sfel...@gmail.com Rocker driver tracks arp_tbl neighs to resolve IPv4 route nexthops. The driver uses NETEVENT_NEIGH_UPDATE for neigh adds and updates, but there is no event when the neigh is removed from the device (such as when the device goes admin down). This patches

[PATCH net-next] rocker: print switch ID consistent with phys_switch_id sysfs node

2015-08-12 Thread sfeldma
From: Scott Feldman sfel...@gmail.com On sucessful probe, driver prints the switch ID. This patch changes the format of the printed ID to match what's used in sysfs phys_switch_id node. Signed-off-by: Scott Feldman sfel...@gmail.com --- drivers/net/ethernet/rocker/rocker.c |3 ++- 1 file

RE: [Intel-wired-lan] [PATCH] igbvf: clear buffer_info-dma after dma_unmap_single()

2015-08-12 Thread Brown, Aaron F
From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Stefan Assmann Sent: Thursday, August 06, 2015 12:32 AM To: intel-wired-...@lists.osuosl.org Cc: netdev@vger.kernel.org; sassm...@kpanic.de Subject: [Intel-wired-lan] [PATCH] igbvf: clear buffer_info-dma

Re: [PATCH net-next 1/3] mpls: move mpls_route nexthop fields to a new nhlfe struct

2015-08-12 Thread roopa
On 8/12/15, 12:15 PM, Robert Shearman wrote: On 11/08/15 22:45, Roopa Prabhu wrote: From: Roopa Prabhu ro...@cumulusnetworks.com moves mpls_route nexthop fields to a new mpls_nhlfe struct. mpls_nhlfe represents a mpls nexthop label forwarding entry. It prepares mpls route structure for

[PATCH] net/fddi: remove HWM_REVERSE() macro

2015-08-12 Thread yalin wang
HWM_REVERSE() macro is unused, remove it. Signed-off-by: yalin wang yalin.wang2...@gmail.com --- drivers/net/fddi/skfp/h/hwmtm.h | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/net/fddi/skfp/h/hwmtm.h b/drivers/net/fddi/skfp/h/hwmtm.h index 5924d42..4ca2341 100644 ---

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-12 Thread Zang MingJie
On Wed, Aug 12, 2015 at 4:52 AM, Alexander Duyck alexander.du...@gmail.com wrote: On 08/10/2015 04:50 AM, Hannes Frederic Sowa wrote: Hello, Zang MingJie zealot0...@gmail.com writes: Here comes several options: 1. reject local next hop w/ EINVAL 2. delete route when local next hop

DO YOU NEED A PERSONAL OR BUSINESS LOAN

2015-08-12 Thread Sheree Kelly
Do you need credit for any legal purpose both business and personal?contact the Arab investment company now as We grant credit at 2% interest rate annually. Contact TAIC using the email: abdult...@qq.com -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a

[PATCHv1 net-next 2/5] netlink: mmap: apply mmaped skb helper functions

2015-08-12 Thread Ken-ichirou MATSUZAWA
Signed-off-by: Ken-ichirou MATSUZAWA cha...@h4.dion.ne.jp --- net/netfilter/nfnetlink_log.c|2 +- net/netfilter/nfnetlink_queue_core.c |6 +++--- net/netlink/af_netlink.c | 26 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git

[PATCHv1 net-next 3/5] netlink: mmap: fix status for not delivered skb

2015-08-12 Thread Ken-ichirou MATSUZAWA
Signed-off-by: Ken-ichirou MATSUZAWA cha...@h4.dion.ne.jp --- net/netlink/af_netlink.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 45c8502..c03fad0 100644 --- a/net/netlink/af_netlink.c +++

[PATCH net-next] bpf: fix verifier

2015-08-12 Thread Wei-Chun Chao
Wrong array boundary is used. Fixes: 35578d798400 bpf: Implement function bpf_perf_event_read()) Cc: Kaixu Xia xiaka...@huawei.com Cc: Alexei Starovoitov a...@plumgrid.com Signed-off-by: Wei-Chun Chao weich...@plumgrid.com --- kernel/bpf/verifier.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCHv1 net-next 1/5] netlink: mmap: introduce mmaped skb helper functions

2015-08-12 Thread Ken-ichirou MATSUZAWA
It seems that we need helper functions for skb which is allocated at netlink_alloc_skb() since it does not have skb_shared_info. Signed-off-by: Ken-ichirou MATSUZAWA cha...@h4.dion.ne.jp --- include/linux/netlink.h | 21 +- net/netlink/af_netlink.c | 55

[PATCHv1 net-next 4/5] netlink: mmap: update tx type check

2015-08-12 Thread Ken-ichirou MATSUZAWA
We need to accept msg_iter.type 1(WRITE) which is set in sendto/sendmsg. Signed-off-by: Ken-ichirou MATSUZAWA cha...@h4.dion.ne.jp --- net/netlink/af_netlink.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index

[PATCH iproute2 0/3] iplink: shortify printing the usage of bridge

2015-08-12 Thread Zhang Shengju
This patch set enables bridge related links to print usage with short format. Or else it is needed to use the following way: ip link { add | del | set } type TYPE help Zhang Shengju (3): iplink: add missing link type iplink: use the short format to print help info iplink:

[PATCH iproute2 2/3] iplink: use the short format to print help info

2015-08-12 Thread Zhang Shengju
Allow to print link type usage by: ip link help bridge Signed-off-by: Zhang Shengju zhangshen...@cmss.chinamobile.com --- ip/iplink_bridge.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c index 297160c..1e69960 100644

[PATCH net-next] net: atl1c: add BQL support

2015-08-12 Thread Ron Angeles
This BQL implementation is mostly derived from its related driver, alx. Tested on AR8131 (rev c0) [1969:1063]. Saturated a 100mbps link with 5 concurrent runs of netperf. Ping latency dropped from 14ms to 3ms. Signed-off-by: Ron Angeles ronange...@gmail.com ---

[PATCHv1 net-next 0/5] netlink: mmap: kernel panic and some issues

2015-08-12 Thread Ken-ichirou MATSUZAWA
Hi, It would be better if someone else is working on this. Or could you help me out? It's a tough work for me. Changes from RFC: * remove netlink_skb_zerocopy() I made a big mistake, and ``len = skb_tailroom(to)'' for mmaped skb is always true in nfqnl_build_packet_message() * copy

  1   2   >