[PATCH] net: xgene_enet: Set hardware dependency

2015-05-06 Thread Jean Delvare
The xgene_enet driver is only useful on X-Gene SoC. Signed-off-by: Jean Delvare jdelv...@suse.de Cc: Iyappan Subramanian isubraman...@apm.com Cc: Keyur Chudgar kchud...@apm.com --- drivers/net/ethernet/apm/xgene/Kconfig |1 + 1 file changed, 1 insertion(+) ---

Re: [PATCH net-next 6/6] netlink: allow to listen all netns

2015-05-06 Thread Thomas Graf
On 05/06/15 at 11:58am, Nicolas Dichtel wrote: More accurately, listen all netns that have a nsid assigned into the netns where the netlink socket is opened. For this purpose, a netlink socket option is added: NETLINK_LISTEN_ALL_NSID. When this option is set on a netlink socket, this socket

Re: [PATCH] stmmac: call local_irq_save other than disable_irq in poll_controller

2015-05-06 Thread David Miller
From: Sonic Zhang sonic@gmail.com Date: Wed, 6 May 2015 11:53:53 +0800 When I debug Linux kernel via KGDB over Ethernet, KGDB calls netpoll API and stmmac_poll_controller to send UDP packets with all interrupts disabled. KGDB assumes all interrupts keeps disabled when it is active and

[PATCH net-next 4/4] seccomp, filter: add and use bpf_prog_create_from_user from seccomp

2015-05-06 Thread Daniel Borkmann
Seccomp has always been a special candidate when it comes to preparation of its filters in seccomp_prepare_filter(). Due to the extra checks and filter rewrite it partially duplicates code and has BPF internals exposed. This patch adds a generic API inside the BPF code code that seccomp can use

[PATCH] netxen_nic: use spin_[un]lock_bh around tx_clean_lock (2)

2015-05-06 Thread Tony Camuso
This patch should have been part of the previous patch having the same summary. See http://marc.info/?l=linux-kernelm=143039470103795w=2 Unfortunately, I didn't check to see where else this lock was used before submitting that patch. This should take care of it for netxen_nic, as I did a thorough

Re: kernel = 4.0: crashes when using traceroute6 with isatap

2015-05-06 Thread Wolfgang Walter
Am Mittwoch, 6. Mai 2015, 11:15:18 schrieben Sie: (Cc'ing netdev.) On Sat, May 2, 2015 at 5:29 AM, Wolfgang Walter li...@stwm.de wrote: Am Samstag, 2. Mai 2015, 02:16:36 schrieb Wolfgang Walter: Hello, kernel 4.0 (and 4.0.1) crashes immediately when I use traceroute6 with an

Re: [PATCH v2 net-next 1/2] tcp: adjust window probe timers to safer values

2015-05-06 Thread Neal Cardwell
On Wed, May 6, 2015 at 5:26 PM, Eric Dumazet eduma...@google.com wrote: With the advent of small rto timers in datacenter TCP, (ip route ... rto_min x), the following can happen : 1) Qdisc is full, transmit fails. TCP sets a timer based on icsk_rto to retry the transmit, without

Re: [PATCH net-next] mpls: Move reserved label definitions

2015-05-06 Thread Stephen Hemminger
On Tue, 5 May 2015 09:06:30 -0700 Tom Herbert t...@herbertland.com wrote: Move to include/uapi/linux/mpls.h to be externally visibile. Signed-off-by: Tom Herbert t...@herbertland.com --- include/uapi/linux/mpls.h | 10 ++ net/mpls/af_mpls.c| 18 +-

Re: [PATCH net-next 6/7] packet: rollover huge flows before small flows

2015-05-06 Thread Eric Dumazet
On Wed, 2015-05-06 at 16:06 -0400, Willem de Bruijn wrote: Do you suggest running lockless, similar to the rfs table? I can reduce history length to make hist_idx fit in the same cacheline. I suggest not using hit_idx at all, and no lock either. for (i = 0; i ROLLOVER_HLEN; i++) if

[PATCH v2 net-next 0/2] tcp: more reliable window probes

2015-05-06 Thread Eric Dumazet
This series address a problem caused by small rto_min timers in DC, leading to either timer storms or early flow terminations. We also add two new SNMP counters for proper monitoring : TCPWinProbe and TCPKeepAlive v2: added TCPKeepAlive counter, as suggested by Yuchung Neal Eric Dumazet (2):

Re: kernel = 4.0: crashes when using traceroute6 with isatap

2015-05-06 Thread Eric Dumazet
On Wed, 2015-05-06 at 11:15 -0700, Cong Wang wrote: (Cc'ing netdev.) On Sat, May 2, 2015 at 5:29 AM, Wolfgang Walter li...@stwm.de wrote: Am Samstag, 2. Mai 2015, 02:16:36 schrieb Wolfgang Walter: Hello, kernel 4.0 (and 4.0.1) crashes immediately when I use traceroute6 with an

RE: [Intel-wired-lan] [PATCH v2 0/3] RSS fix for ixgbe/ixgbevf

2015-05-06 Thread Schmitt, Phillip J
-Original Message- From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Jeff Kirsher Sent: Thursday, April 30, 2015 6:00 AM To: Du, Fan Cc: netdev@vger.kernel.org; intel-wired-...@lists.osuosl.org Subject: Re: [Intel-wired-lan] [PATCH v2 0/3] RSS

Re: [PATCH V3 net-next 1/1] hv_netvsc: Use the xmit_more skb flag to optimize signaling the host

2015-05-06 Thread Eric Dumazet
On Wed, 2015-05-06 at 11:20 -0700, K. Y. Srinivasan wrote: Based on the information given to this driver (via the xmit_more skb flag), we can defer signaling the host if more packets are on the way. This will help make the host more efficient since it can potentially process a larger batch of

[PATCH 10/10] bnx2x, tg3: Replace put_page(virt_to_head_page()) with skb_free_frag()

2015-05-06 Thread Alexander Duyck
Signed-off-by: Alexander Duyck alexander.h.du...@redhat.com --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c |2 +- drivers/net/ethernet/broadcom/tg3.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c

[PATCH 05/10] net: Add skb_free_frag to replace use of put_page in freeing skb-head

2015-05-06 Thread Alexander Duyck
This change adds a function called skb_free_frag which is meant to compliment the function netdev_alloc_frag. The general idea is to enable a more lightweight version of page freeing since we don't actually need all the overhead of a put_page, and we don't quite fit the model of __free_pages.

Re: [PATCH net-next 4/4] seccomp, filter: add and use bpf_prog_create_from_user from seccomp

2015-05-06 Thread Alexei Starovoitov
On 5/6/15 7:12 AM, Daniel Borkmann wrote: Seccomp has always been a special candidate when it comes to preparation of its filters in seccomp_prepare_filter(). Due to the extra checks and filter rewrite it partially duplicates code and has BPF internals exposed. This patch adds a generic API