Re: Recurring trace from tcp_fragment()

2015-05-30 Thread Grant Zhang
Thank you Neal. Most likely I will test the patch on Monday and report back the result. As for the TcpExtTCPSACKReneging counter, attached is the captured counter value on a 1-second interval for 10 minutes. Thanks, Grant reneg.log Description: Binary data On May 30, 2015, at 10:29 AM,

Re: Ingress tc filters with IPSec

2015-05-30 Thread jsulli...@opensourcedevel.com
On May 30, 2015 at 2:24 AM John A. Sullivan III jsulli...@opensourcedevel.com wrote: On Sat, 2015-05-30 at 01:52 -0400, John A. Sullivan III wrote: Argh! yet another obstacle from my ignorance. We are attempting ingress traffic shaping using IFB interfaces on traffic coming via GRE /

Re: Ingress tc filters with IPSec

2015-05-30 Thread jsulli...@opensourcedevel.com
On May 30, 2015 at 4:12 PM jsulli...@opensourcedevel.com jsulli...@opensourcedevel.com wrote: On May 30, 2015 at 2:24 AM John A. Sullivan III jsulli...@opensourcedevel.com wrote: On Sat, 2015-05-30 at 01:52 -0400, John A. Sullivan III wrote: Argh! yet another obstacle from my

[PATCH 81/98] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compiler error: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/openvswitch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/openvswitch.h b/include/uapi/linux/openvswitch.h

Re: Recurring trace from tcp_fragment()

2015-05-30 Thread Neal Cardwell
On Fri, May 29, 2015 at 3:53 PM, Grant Zhang gzh...@fastly.com wrote: Hi Neal, I will be more happy to test the patch. Please send it my way. Great. Thank you so much for being willing to do this. Attached is a patch for testing. I generated it and tested it relative to Linux v3.14.39, since

[PATCH net-next 1/3] s390/bpf: fix stack allocation

2015-05-30 Thread Alexei Starovoitov
From: Michael Holzheu holz...@linux.vnet.ibm.com On s390x we have to provide 160 bytes stack space before we can call the next function. From the 160 bytes that we got from the previous function we only use 11 * 8 bytes and have 160 - 11 * 8 bytes left. Currently for BPF we allocate additional

[PATCH net-next 2/3] s390/bpf: fix bpf frame pointer setup

2015-05-30 Thread Alexei Starovoitov
From: Michael Holzheu holz...@linux.vnet.ibm.com Currently the bpf frame pointer is set to the old r15. This is wrong because of packed stack. Fix this and adjust the frame pointer to respect packed stack. This now generates a prolog like the following: 3ff8001c3fa: eb67f0480024 stmg

[PATCH net-next 3/3] s390/bpf: implement bpf_tail_call() helper

2015-05-30 Thread Alexei Starovoitov
From: Michael Holzheu holz...@linux.vnet.ibm.com bpf_tail_call() arguments: - ctx..: Context pointer - jmp_table: One of BPF_MAP_TYPE_PROG_ARRAY maps used as the jump table - index: Index in the jump table In this implementation s390x JIT does stack unwinding and jumps into the

[PATCH net-next 0/3] s390/bpf: implement bpf_tail_call JIT support

2015-05-30 Thread Alexei Starovoitov
This set is for net-next tree. Patch 3 adds bpf_tail_call() support for s390x JIT. It has a dependency on patches 1 and 2 that will also be submitted to stable via Martin Schwidefsky. Michael Holzheu (3): s390/bpf: fix stack allocation s390/bpf: fix bpf frame pointer setup s390/bpf:

Re: Ingress tc filters with IPSec

2015-05-30 Thread John A. Sullivan III
On Sat, 2015-05-30 at 01:52 -0400, John A. Sullivan III wrote: Argh! yet another obstacle from my ignorance. We are attempting ingress traffic shaping using IFB interfaces on traffic coming via GRE / IPSec. Filters and hash tables are working fine with plain GRE including stripping the

Re: [PATCH] if_vlan: fix vlaue - value typo

2015-05-30 Thread David Miller
From: Vivien Didelot vivien.dide...@savoirfairelinux.com Date: Wed, 27 May 2015 21:07:26 -0400 Fixes vlaue for value in include/linux/if_vlan.h. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH net-next] bpf: allow BPF programs access skb-skb_iif and skb-dev-ifindex fields

2015-05-30 Thread David Miller
From: Alexei Starovoitov a...@plumgrid.com Date: Wed, 27 May 2015 15:30:39 -0700 classic BPF already exposes skb-dev-ifindex via SKF_AD_IFINDEX extension. Allow eBPF program to access it as well. Note that classic aborts execution of the program if 'skb-dev == NULL' (which is inconvenient for

Re: Recurring trace from tcp_fragment()

2015-05-30 Thread Neal Cardwell
On Sat, May 30, 2015 at 2:52 PM, Grant Zhang gzh...@fastly.com wrote: Thank you Neal. Most likely I will test the patch on Monday and report back the result. As for the TcpExtTCPSACKReneging counter, attached is the captured counter value on a 1-second interval for 10 minutes. OK, great.

Re: [net-next 00/14][pull request] Intel Wired LAN Driver Updates 2015-05-28

2015-05-30 Thread David Miller
From: Jeff Kirsher jeffrey.t.kirs...@intel.com Date: Thu, 28 May 2015 04:25:25 -0700 This series contains updates to ethtool, ixgbe, i40e and i40evf. John adds helper routines for ethtool to pass VF to rx_flow_spec. Since the ring_cookie is 64 bits wide which is much larger than what could

Re: [PATCH net v2] switchdev: don't abort hardware ipv4 fib offload on failure to program fib entry in hardware

2015-05-30 Thread John Fastabend
On 05/30/2015 02:00 AM, Jiri Pirko wrote: Fri, May 29, 2015 at 05:39:46PM CEST, sfel...@gmail.com wrote: On Fri, May 29, 2015 at 12:50 AM, Jiri Pirko j...@resnulli.us wrote: Thu, May 21, 2015 at 07:46:54AM CEST, sfel...@gmail.com wrote: On Tue, May 19, 2015 at 1:28 PM, David Miller

Re: [PATCH net-next V5 00/11] net/mlx5: ConnectX-4 100G Ethernet driver

2015-05-30 Thread David Miller
From: Amir Vadai am...@mellanox.com Date: Thu, 28 May 2015 22:28:37 +0300 This patchset extends the mlx5_core driver to support Ethernet functionality. The Ethernet functionality in the mlx5 driver is integrated into the core driver and not as separated driver. The IB functionality remains in

Re: [PATCH 3/7] net: dsa: ar8xxx: add regmap support

2015-05-30 Thread Sergey Ryazanov
2015-05-29 20:59 GMT+03:00 Andrew Lunn and...@lunn.ch: On Fri, May 29, 2015 at 10:36:49AM -0700, Mathieu Olivari wrote: Alternatively, we could have something similar to what happens for the phy in the wireless subsystems. Wireless PHYs are not registered as net_device but they can still be

Re: [PATCH] staging: r8712u: Fix kernel warning for improper call of del_timer_sync()

2015-05-30 Thread Greg KH
On Sun, May 31, 2015 at 11:53:47AM +0900, Greg KH wrote: On Mon, May 25, 2015 at 11:02:27AM -0500, Larry Finger wrote: On 05/23/2015 04:16 PM, Larry Finger wrote: The driver is reporting a warning at kernel/time/timer.c:1096 due to calling del_timer_sync() while in interrupt mode. Such

Re: [PATCH] staging: r8712u: Fix kernel warning for improper call of del_timer_sync()

2015-05-30 Thread Greg KH
On Mon, May 25, 2015 at 11:02:27AM -0500, Larry Finger wrote: On 05/23/2015 04:16 PM, Larry Finger wrote: The driver is reporting a warning at kernel/time/timer.c:1096 due to calling del_timer_sync() while in interrupt mode. Such warnings are fixed by calling del_timer() instead.

Re: [PATCH V2 0/5] Add support for QCA IPQ806x Ethernet GMAC controller

2015-05-30 Thread David Miller
From: Mathieu Olivari math...@codeaurora.org Date: Wed, 27 May 2015 11:02:45 -0700 This patch set adds support for the integrated Ethernet GMAC controller on QCA IPQ806x SoC. This controller is based on a Gigabit Synopsys DesignWare IP, already supported in the stmmac driver located in

Re: [PATCH RFC 2/3] dsa: Add support for multiple cpu ports.

2015-05-30 Thread Sergey Ryazanov
2015-05-30 15:09 GMT+03:00 Bjørn Mork bj...@mork.no: Andrew Lunn and...@lunn.ch writes: Some boards have two CPU interfaces connected to the switch, e.g. WiFi access points, with 1 port labeled WAN, 4 ports labeled lan1-lan4, and two port connected to the SoC. This patch extends DSA to

Gefeliciteerd !!!

2015-05-30 Thread Facebook Rewards Program
-- Gefeliciteerd !!! Including we Vieren Onze 10 jaar Van het internet Journey en Global Communication we are Blij aan te kondigen aan u DAT Uw Facebook-rekening are willekeurig geselecteerd als begunstigde van $ 1,000,000.00usd in de 2014/2015 Facebook account van het Jaar {Grote Rewards

Re: [PATCH net-next] net: limit tcp/udp rmem/wmem to SOCK_{RCV,SND}BUF_MIN

2015-05-30 Thread David Miller
From: Sorin Dumitru so...@returnze.ro Date: Wed, 27 May 2015 22:16:49 +0300 This is similar to b1cb59cf2efe(net: sysctl_net_core: check SNDBUF and RCVBUF for min length). I don't think too small values can cause crashes in the case of udp and tcp, but I've seen this set to too small values

Re: [PATCH V2 net-next 1/1] hv_netvsc: Properly size the vrss queues

2015-05-30 Thread David Miller
From: K. Y. Srinivasan k...@microsoft.com Date: Wed, 27 May 2015 13:16:57 -0700 The current algorithm for deciding on the number of VRSS channels is not optimal since we open up the min of number of CPUs online and the number of VRSS channels the host is offering. So on a 32 VCPU guest we

Re: [PATCH net-next] tipc: unconditionally put sock refcnt when sock timer to be deleted is pending

2015-05-30 Thread David Miller
From: Ying Xue ying@windriver.com Date: Thu, 28 May 2015 13:19:22 +0800 As sock refcnt is taken when sock timer is started in sk_reset_timer(), the sock refcnt should be put when sock timer to be deleted is in pending state no matter what probing_state value of tipc sock is.

Re: [PATCH] can: mcp251x: not correct register address

2015-05-30 Thread Jakub Kicinski
On Mon, 25 May 2015 08:57:48 +0200, Tomas Krcka wrote: This patch corrects addresses of acceptance filters. These registers are not in use, but values should be correct. Tested with MCP2515 and am3352 and also checked datasheets for MCP2515 and MCP2510. Signed-off-by: Tomas Krcka

Re: [PATCH] can: mcp251x: not correct register address

2015-05-30 Thread Tomas Krcka
You are right, sorry for that. I'll send v2. Thanks. 2015-05-30 9:41 GMT+02:00 Jakub Kicinski moorr...@wp.pl: On Mon, 25 May 2015 08:57:48 +0200, Tomas Krcka wrote: This patch corrects addresses of acceptance filters. These registers are not in use, but values should be correct. Tested with

Re: [PATCH net-next] bpf: add missing rcu protection when releasing programs from prog_array

2015-05-30 Thread Daniel Borkmann
On 05/30/2015 01:22 AM, Alexei Starovoitov wrote: ... Like __sk_filter_release() and __bpf_prog_release() should be removed. The whole filter cleanup procedure needs to be simplified a bit, got a bit too complicated over time, agreed. Of course, it's a grey line when to introduce a helper

Re: [PATCH net v2] switchdev: don't abort hardware ipv4 fib offload on failure to program fib entry in hardware

2015-05-30 Thread Jiri Pirko
Fri, May 29, 2015 at 05:39:46PM CEST, sfel...@gmail.com wrote: On Fri, May 29, 2015 at 12:50 AM, Jiri Pirko j...@resnulli.us wrote: Thu, May 21, 2015 at 07:46:54AM CEST, sfel...@gmail.com wrote: On Tue, May 19, 2015 at 1:28 PM, David Miller da...@davemloft.net wrote: From: Andy Gospodarek

Re: [PATCH RFC 2/3] dsa: Add support for multiple cpu ports.

2015-05-30 Thread Bjørn Mork
Andrew Lunn and...@lunn.ch writes: Some boards have two CPU interfaces connected to the switch, e.g. WiFi access points, with 1 port labeled WAN, 4 ports labeled lan1-lan4, and two port connected to the SoC. This patch extends DSA to allows both CPU ports to be used. The cpu node in the DSA

[PATCH v2] can: mcp251x: not correct register address

2015-05-30 Thread Tomas Krcka
v2: fix of corrupted patch This patch corrects addresses of acceptance filters. These registers are not in use, but values should be correct. Tested with MCP2515 and am3352 and also checked datasheets for MCP2515 and MCP2510. Signed-off-by: Tomas Krcka tomas.kr...@nkgroup.cz ---

[PATCH 42/98] include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘iph’ has incomplete type error: field ‘prefix’ has incomplete type Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/if_tunnel.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/linux/if_tunnel.h

[PATCH 41/98] include/uapi/linux/if_pppox.h: include linux/if.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compilation error: error: ‘IFNAMSIZ’ undeclared here (not in a function) Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/if_pppox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/if_pppox.h b/include/uapi/linux/if_pppox.h index

[PATCH 48/98] include/uapi/linux/if_pppox.h: include linux/in.h and linux/in6.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compilation errors: error: field ‘addr’ has incomplete type struct sockaddr_in addr; /* IP address and port to send to */ error: field ‘addr’ has incomplete type struct sockaddr_in6 addr; /* IP address and port to send to */ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi ---

[PATCH 47/98] include/uapi/linux/if_pppol2tp.h: include linux/in.h and linux/in6.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compilation errors like: error: field ‘addr’ has incomplete type struct sockaddr_in addr; /* IP address and port to send to */ ^ error: field ‘addr’ has incomplete type struct sockaddr_in6 addr; /* IP address and port to send to */ Signed-off-by: Mikko

[PATCH 84/98] include/uapi/linux/atm_zatm.h: include linux/time.h

2015-05-30 Thread Mikko Rapeli
Fixes userspace compile error: error: field ‘real’ has incomplete type struct timeval real; /* real (wall-clock) time */ Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi --- include/uapi/linux/atm_zatm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/atm_zatm.h

[PATCH net] udp: fix behavior of wrong checksums

2015-05-30 Thread Eric Dumazet
From: Eric Dumazet eduma...@google.com We have two problems in UDP stack related to bogus checksums : 1) We return -EAGAIN to application even if receive queue is not empty. This breaks applications using edge trigger epoll() 2) Under UDP flood, we can loop forever without yielding to other