[PATCH iproute2] ip-link: enhance prompt message

2015-08-12 Thread Zhang Shengju
Enhance promtp message for 'spoofchk' and 'query_rss' flag, and fix a typo. Signed-off-by: Zhang Shengju --- ip/iplink.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ip/iplink.c b/ip/iplink.c index 1836889..520f750 100644 --- a/ip/iplink.c +++ b/ip/iplink.c @@ -329,7

Re: [PATCH iproute2 2/3] ip-link: fix and extend documentation

2015-08-12 Thread vkochan
On Wed, Aug 12, 2015 at 10:04:07PM +0200, Pavel Šimerda wrote: > From: Pavel Šimerda > > * Add `can` to list of supported link types > * Document `addrgenmode` > * Document `link-netnsid` > * Document VLAN link type > * Improve VXLAN link type documentation > - Fix VXLAN srcport/dstport

[GIT] Networking

2015-08-12 Thread David Miller
1) Workaround hw bug when acquiring PCI bos ownership of iwlwifi devices, from Emmanuel Grumbach. 2) Falling back to vmalloc in conntrack should not emit a warning, from Pablo Neira Ayuso. 3) Fix NULL deref when rtlwifi driver is used as an AP, from Luis Felipe Dominguez Vega. 4) Rocke

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 : 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 tim

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 ref

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 > state

[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 --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 8 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_

[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 --- 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 --- a/drivers/net/fddi/skfp/h/hwmtm.

[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 addition

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 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 is you

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 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 handling in ipv4 fib code.

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 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 because the light weight mpls i

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 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 multipath support. In the proces

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 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 ipv4 fib code. I understand

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->d

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 err

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

2015-08-12 Thread sfeldma
From: Scott Feldman 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 hooks ndo_neigh_destr

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

2015-08-12 Thread sfeldma
From: Scott Feldman 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 --- drivers/net/ethernet/rocker/rocker.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion

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: 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

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

2015-08-12 Thread David Miller
From: Dan Carpenter 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 Applied, thanks Dan. -- To unsubscribe from this list: send the line "unsubscribe netdev" in th

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

2015-08-12 Thread David Miller
From: Fabio Estevam Date: Wed, 12 Aug 2015 12:10:23 -0300 > From: Fabio Estevam > > 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 availa

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 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 w

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 > > 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. > > Signed-off-by: Rick

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

2015-08-12 Thread David Miller
From: Philip Downey 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 reports for lo

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

2015-08-12 Thread David Miller
From: Wei-Chun Chao 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 > Cc: Alexei Starovoitov > Signed-off-by: Wei-Chun Chao > --- > > v2: better subject line Applied, tha

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

2015-08-12 Thread David Miller
From: Hariprasad Shenai 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 created against net-

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 wrote: > On Tue, Aug 11, 2015 at 3:59 PM, Joe Stringer wrote: >> From: Justin Pettit >> >> 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

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

2015-08-12 Thread David Miller
From: Mugunthan V N 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: Trendnet routers) whi

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

2015-08-12 Thread David Miller
From: Kaixu Xia 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 > bug/tracing/trace_pi

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

2015-08-12 Thread David Miller
From: Ken-ichirou MATSUZAWA 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 of events and sta

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 wrote: > On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar 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 >

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

2015-08-12 Thread David Miller
From: Ron Angeles 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. > > Signed-off-by: Ron A

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 wrote: > On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar 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 *gen

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 wrote: > From: Justin Pettit > > 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 writable field. The set_field() action ma

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] 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

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

2015-08-12 Thread Francois Romieu
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. Could you use some time to test the attached experimental stuff as

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

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 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; > + struct hlist

[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 support

[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 provi

[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 --- drivers/net/ethernet/smsc/smsc911x.c

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 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 Network Virtua

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] 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, w

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

2015-08-12 Thread David Miller
From: Jakub Kicinski 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 http://vger.kernel.org/ma

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 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 > value; else default t

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

2015-08-12 Thread David Miller
From: Andrew Schwartzmeyer 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 the > given value to

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

2015-08-12 Thread David Miller
From: Date: Tue, 11 Aug 2015 15:23:33 + > Removing BUG_ON() > > Signed-off-by: Woojung Huh 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 at http://vger.kernel.org/majordomo-info.html

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 > 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

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

2015-08-12 Thread David Miller
From: 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. > > Reported-by: Dan Carpe

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

2015-08-12 Thread David Miller
From: Florian Fainelli 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 list: send the

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] 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. >>> (

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

2015-08-12 Thread David Miller
From: Venkat Venkatsubra 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 to delay the sending of grat

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 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. > > Example OD

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 wrote: > This will allow the ovs-conntrack code to reuse these macros. > > Signed-off-by: Joe Stringer > Acked-by: Thomas Graf Acked-by: Pravin B Shelar -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message t

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 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 wire, so store the o

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 > 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 t

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 wrote: > This variation on skb_dst_copy() doesn't require two skbs. > > Signed-off-by: Joe Stringer Acked-by: Pravin B Shelar -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org

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 > 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 i

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 wrote: > Signed-off-by: Joe Stringer > Acked-by: Thomas Graf Acked-by: Pravin B Shelar -- 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.ke

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

2015-08-12 Thread David Miller
From: Andy Gospodarek 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 by Alex et al for th

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

2015-08-12 Thread David Miller
From: Tobias Klauser 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: Tobias Klause

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

2015-08-12 Thread David Miller
From: Florian Fainelli 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 decisions. > > If we could

[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 diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index 7193b73..848ea6a 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c @@ -589,7 +589

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 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 still there to ha

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] 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, http://www.spinics.net/lists/netdev/ms

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 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: Linux 4.2-rc6 regression: RIP: e030:[] [] 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 see

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

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe Add debugfs sypport for querying the state of hardware based queues managed by the DPAA 1.0 Queue Manager. Signed-off-by: Geoff Thorpe Signed-off-by: Emil Medve Signed-off-by: Madalin Bucur Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/Makefile |1 + drive

[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. The

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

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe 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 Signed-off-by: Emil Medve Signed-

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

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe 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 Signed-off-by: Emil Medve Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbma

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

2015-08-12 Thread Roy Pledge
From: Emil Medve devm_ioremap_prot() was removed in commit dedd24a12, and was introduced in commit b41e5fffe8. This reverts commit dedd24a12fe6735898feeb06184ee346907abb5d. Signed-off-by: Emil Medve --- arch/powerpc/include/asm/io.h |3 +++ arch/powerpc/lib/Makefile |1 + arch/pow

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

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe 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 Signed-off-by: Emil Medve Signed-off-by: Roy Pledge --- drivers/soc/

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

2015-08-12 Thread Roy Pledge
From: Hai-Ying Wang Add support for CPU hotplug for the DPAA 1.0 Buffer Manager driver Signed-off-by: Hai-Ying Wang Signed-off-by: Emil Medve Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/bman_portal.c | 40 +++ drivers/soc/fsl/qbman/dpaa_sys.h|

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

2015-08-12 Thread Roy Pledge
From: Hai-Ying Wang Add support for CPU hotplug for the DPAA 1.0 Queue Manager driver. Signed-off-by: Hai-Ying Wang Signed-off-by: Emil Medve Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/qman_portal.c | 43 +++ 1 file changed, 43 insertions(+) diff -

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

2015-08-12 Thread Roy Pledge
From: Madalin Bucur 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 Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/qman_api.c | 46 ++ 1 file changed

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

2015-08-12 Thread Roy Pledge
From: Geoff Thorpe Add debugfs support for querying the state of hardware based Buffer Manager pools used in DPAA 1.0. Signed-off-by: Geoff Thorpe Signed-off-by: Emil Medve Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/Kconfig|7 ++ drivers/soc/fsl/qbman/Makefile |

[PATCH iproute2 3/3] ip-address: fix and extend documentation

2015-08-12 Thread Pavel Šimerda
From: Pavel Šimerda * Improve manual page synopsis and built-it help * Use full subcommand names (e.g. 'address' and 'maddress') * Specify when IPv4, IPv6 or both are affected * Add lifetimes, home and nodad * Remove any remaining excess spaces Commit 43d29f7 substantially improves generate

[PATCH iproute2 2/3] ip-link: fix and extend documentation

2015-08-12 Thread Pavel Šimerda
From: Pavel Šimerda * Add `can` to list of supported link types * Document `addrgenmode` * Document `link-netnsid` * Document VLAN link type * Improve VXLAN link type documentation - Fix VXLAN srcport/dstport docs - Document `udpcsum`, `udp6zerocsumtx` and `udp6zerocsumrx` --- man/m

[PATCH iproute2 1/3] ip: fix and extend documentation

2015-08-12 Thread Pavel Šimerda
From: Pavel Šimerda * Use unabbreviated `address` and `maddress` * Keep only `-n` and `-netns` for network namespace --- ip/ip.c | 4 ++-- man/man8/ip.8 | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ip/ip.c b/ip/ip.c index 0cf743f..e75447e 100644 --- a/ip/i

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

2015-08-12 Thread linux
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 one on 4.1, so it seems a regression. -- Sander [81133.193439] gener

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

2015-08-12 Thread Robert Shearman
On 11/08/15 22:45, Roopa Prabhu wrote: From: Roopa Prabhu 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 handling in ipv4 fib code. The multipath route nexthop selection algorith

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

2015-08-12 Thread Robert Shearman
On 11/08/15 22:45, Roopa Prabhu wrote: From: Roopa Prabhu 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 because the light weight mpls iptunnel code shares some of the label encoding

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

2015-08-12 Thread Robert Shearman
On 11/08/15 22:45, Roopa Prabhu wrote: From: Roopa Prabhu 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 multipath support. In the process moves mpls_route structure into internal.h.

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

2015-08-12 Thread Haiyang Zhang
> -Original Message- > From: Andy Schwartzmeyer > Sent: Tuesday, August 11, 2015 8:15 PM > To: Haiyang Zhang > Cc: KY Srinivasan ; Andy Schwartzmeyer > ; netdev@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: [PATCH net-next 1/2] hv_netvsc: Set vRSS with num_chn in RNDIS > fi

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

2015-08-12 Thread Haiyang Zhang
> -Original Message- > From: Andy Schwartzmeyer > Sent: Tuesday, August 11, 2015 8:15 PM > To: Haiyang Zhang > Cc: KY Srinivasan ; Andy Schwartzmeyer > ; netdev@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: [PATCH net-next 2/2] hv_netvsc: Implement set_channels ethtool > op

Re: [PATCH iproute2 net-next 2/2] iplink: bridge: add support for IFLA_BR_VLAN_FILTERING attribute

2015-08-12 Thread Nikolay Aleksandrov
> On Aug 12, 2015, at 7:21 PM, Stephen Hemminger > wrote: > > On Tue, 11 Aug 2015 15:56:24 +0300 > Nikolay Aleksandrov wrote: > >> From: Nikolay Aleksandrov >> >> This patch implements support for the IFLA_BR_VLAN_FILTERING attribute >> in iproute2 so it can enable/disable vlan_filtering. >

Re: [PATCH net-next 2/6] geneve: Make dst-port configurable.

2015-08-12 Thread Pravin Shelar
On Wed, Aug 12, 2015 at 11:13 AM, Jesse Gross wrote: > On Wed, Aug 12, 2015 at 10:57 AM, Pravin Shelar wrote: >> On Wed, Aug 12, 2015 at 10:00 AM, Jesse Gross wrote: >>> Not specific to this patch but I think that it will make things >>> significantly easier in the future if changelink was imple

[PATCH net-next v2 2/2] tcp: TLP retransmits last if failed to send new packet

2015-08-12 Thread Yuchung Cheng
When TLP fails to send new packet because of receive window limit, it should fall back to retransmit the last packet instead. Signed-off-by: Yuchung Cheng Signed-off-by: Neal Cardwell Signed-off-by: Nandita Dukkipati --- v2: condition the fallback retransmit on receiver window limit net/ipv4/

[PATCH net-next v2 1/2] tcp: don't extend RTO on failed loss probe attempts

2015-08-12 Thread Yuchung Cheng
If TLP was unable to send a probe, it extended the RTO to now + icsk_rto. But extending the RTO makes little sense if no TLP probe went out. With this commit, instead of extending the RTO we re-arm it relative to the transmit time of the write queue head. Signed-off-by: Yuchung Cheng Signed-off-b

[PATCH net-next v2 0/2] minor tail loss probe improvements

2015-08-12 Thread Yuchung Cheng
This patch series enhance the tail loss probe (TLP) on some error conditions. When TLP fails to send a probe, it will no longer extend the RTO. When it fails to send a new packet because of receiver window limit, it'll try to retransmit the last packet. Yuchung Cheng (2): tcp: don't extend RTO o

Re: [PATCH net-next 2/6] geneve: Make dst-port configurable.

2015-08-12 Thread Jesse Gross
On Wed, Aug 12, 2015 at 10:57 AM, Pravin Shelar wrote: > On Wed, Aug 12, 2015 at 10:00 AM, Jesse Gross wrote: >> Not specific to this patch but I think that it will make things >> significantly easier in the future if changelink was implemented. >> VXLAN has the same issue as well. > > Do you mea

Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-08-12 Thread Eric Dumazet
On Wed, 2015-08-12 at 09:13 -0700, Alex Gartrell wrote: > Hey Gregory, > > On Sun, Aug 2, 2015 at 2:28 PM, Gregory Hoggarth > wrote: > > I will apply the new suggested patch, reverting previous patch, and test > > overnight and update tomorrow. > > Did this solve your problem? If not, would yo

Re: [PATCH net-next 2/6] geneve: Make dst-port configurable.

2015-08-12 Thread Pravin Shelar
On Wed, Aug 12, 2015 at 10:00 AM, Jesse Gross wrote: > On Tue, Aug 11, 2015 at 10:17 PM, Pravin B Shelar wrote: >> diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c >> index 78d49d1..5e9bab8 100644 >> --- a/drivers/net/geneve.c >> +++ b/drivers/net/geneve.c >> @@ -378,6 +379,11 @@ static i

Re: [PATCH] net: Use SK_MEM_QUANTUM as minimum for tcp/udp rmem/wmem

2015-08-12 Thread Eric Dumazet
On Wed, 2015-08-12 at 20:00 +0300, Sorin Dumitru wrote: > Would clamping the values to a min value, like setsockopt(SO_SNDBUF) > does, be an option? > I still find it odd that SO_SNDBUF limits you, while the /proc > interface doesn't. If you think it's > too much, I'm ok with reverting it since it

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

2015-08-12 Thread Randy Dunlap
On 08/12/15 10:23, Rick Jones wrote: > From: Rick Jones > > A few things have changed since the previous version of the vxlan > documentation was written, so update it and correct some grammer and if there are more updates: grammar > such while we are at it. > >

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

2015-08-12 Thread Robert Shearman
On 11/08/15 22:45, Roopa Prabhu wrote: From: Roopa Prabhu 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 ipv4 fib code. I understand that the multipath algorithm in ipv4 is under

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

2015-08-12 Thread Rick Jones
From: Rick Jones 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. Signed-off-by: Rick Jones --- v2: Stephen Hemminger feedback to include dstport 4789 in command line example. A

Re: [PATCH] net: Use SK_MEM_QUANTUM as minimum for tcp/udp rmem/wmem

2015-08-12 Thread Sorin Dumitru
On Wed, Aug 12, 2015 at 5:21 PM, Eric Dumazet wrote: > On Tue, 2015-08-11 at 21:54 -0700, Calvin Owens wrote: >> Commit 8133534c760d4083 ("net: limit tcp/udp rmem/wmem to >> SOCK_{RCV,SND}BUF_MIN") modified four sysctls to enforce that the values >> written to them are not less than SOCK_MIN_{RCV,

  1   2   >