[GIT] Networking

2015-05-12 Thread David Miller
1) Handle max TX power properly wrt. VIFs and the MAC in iwlwifi, from Avri Altman. 2) Use the correct FW API for scan completions in iwlwifi, from Avraham Stern. 3) FW monitor in iwlwifi accidently uses unmapped memory, fix from Liad Kaufman. 4) rhashtable conversion of mac80211 stati

Re: [PATCH 1/2] e1000e: Add pm_qos header

2015-05-12 Thread David Miller
From: David Ahern Date: Tue, 12 May 2015 09:36:59 -0600 > Commit e2c6544829f moved pm_qos_req to e1000_adapter. Add the header file > that defines the struct. > > Signed-off-by: David Ahern Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message t

Re: [PATCH 2/2] net: Remove remaining remnants of pm_qos from netdevice.h

2015-05-12 Thread David Miller
From: David Ahern Date: Tue, 12 May 2015 09:37:00 -0600 > Commit e2c6544829f removed pm_qos from struct net_device but left the > comment and header file. Remove those. > > Signed-off-by: David Ahern Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a

Re: [PATCH v2 net-next] test_bpf: add 173 new testcases for eBPF

2015-05-12 Thread David Miller
From: Alexei Starovoitov Date: Tue, 12 May 2015 08:38:16 -0700 > From: Michael Holzheu > > add an exhaustive set of eBPF tests bringing total to: > test_bpf: Summary: 233 PASSED, 0 FAILED, [0/226 JIT'ed] > > Signed-off-by: Michael Holzheu > Signed-off-by: Alexei Starovoitov > Acked-by: Danie

Re: [PATCH net-next] net: make skb_dst_pop routine static

2015-05-12 Thread David Miller
From: Ying Xue Date: Tue, 12 May 2015 18:29:44 +0800 > As xfrm_output_one() is the only caller of skb_dst_pop(), we should > make skb_dst_pop() localized. > > Signed-off-by: Ying Xue Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message

Re: [PATCH v5] net: phy: micrel: Fix regression in kszphy_probe

2015-05-12 Thread David Miller
From: Niklas Cassel Date: Tue, 12 May 2015 09:43:14 +0200 > Don't do clock-mode-select if clk == NULL, > since when building without CONFIG_HAVE_CLK, > clk_get returns NULL and clk_get_rate returns 0. > > Doing clock-mode-select in this cause causes kszphy_probe to > return -EINVAL and thus prev

Re: [PATCH v2] net: ll_temac: Fix DMA map size bug

2015-05-12 Thread David Miller
From: Michal Simek Date: Tue, 12 May 2015 08:06:15 +0200 > DMA allocates skb->len instead of headlen > which is used for DMA. > > Signed-off-by: Michal Simek Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kern

Re: [PATCH net-next] test_bpf: add 173 new testcases for eBPF

2015-05-12 Thread David Miller
From: Alexei Starovoitov Date: Mon, 11 May 2015 22:22:44 -0700 > From: Michael Holzheu > > add an exhaustive set of eBPF tests bringing total to: > test_bpf: Summary: 233 PASSED, 0 FAILED, [0/226 JIT'ed] > > Signed-off-by: Michael Holzheu > Signed-off-by: Alexei Starovoitov Applied. -- To u

Re: [PATCH net-next] samples/bpf: fix in-source build of samples with clang

2015-05-12 Thread David Miller
From: Alexei Starovoitov Date: Mon, 11 May 2015 21:25:51 -0700 > From: Brenden Blanco > > in-source build of 'make samples/bpf/' was incorrectly > using default compiler instead of invoking clang/llvm. > out-of-source build was ok. > > Fixes: a80857822b0c ("samples: bpf: trivial eBPF program i

Re: [PATCH net] x86: bpf_jit: fix FROM_BE16 and FROM_LE16/32 instructions

2015-05-12 Thread David Miller
From: Alexei Starovoitov Date: Mon, 11 May 2015 23:25:16 -0700 > FROM_BE16: > 'ror %reg, 8' doesn't clear upper bits of the register, > so use additional 'movzwl' insn to zero extend 16 bits into 64 > > FROM_LE16: > should zero extend lower 16 bits into 64 bit > > FROM_LE32: > should zero exten

Re: [PATCH net-next] cxgb4/cxgb4vf: Cleanup macros, add comments and add new MACROS

2015-05-12 Thread David Miller
From: Hariprasad Shenai Date: Tue, 12 May 2015 04:43:43 +0530 > Cleanup few MACROS left out in t4_hw.h to be consistent with the > existing ones. Also replace few hardcoded values with MACROS. Also > update comments for some code > > Signed-off-by: Hariprasad Shenai Applied, thanks. -- To unsu

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

2015-05-12 Thread David Miller
From: "K. Y. Srinivasan" Date: Mon, 11 May 2015 15:39:46 -0700 > 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 ba

Re: [PATCH net-next] pktgen: fix packet generation

2015-05-12 Thread David Miller
From: Alexei Starovoitov Date: Mon, 11 May 2015 15:19:48 -0700 > pkt_gen->last_ok was not set properly, so after the first burst > pktgen instead of allocating new packet, will reuse old one, advance > eth_type_trans further, which would mean the stack will be seeing very > short bogus packets. >

Re: [PATCH net-next 0/2] net: systemport: interrupt coalescing support

2015-05-12 Thread David Miller
From: Florian Fainelli Date: Mon, 11 May 2015 15:12:40 -0700 > This patch series adds support for RX & TX interrupt coalescing in the > systemport driver. This looks fine, series applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to maj

Re: [PATCH v2 5/5] geneve: add initial netdev driver for GENEVE tunnels

2015-05-12 Thread David Miller
From: "John W. Linville" Date: Mon, 11 May 2015 16:51:06 -0400 > This is an initial implementation of a netdev driver for GENEVE > tunnels. This implementation uses a fixed UDP port, and only supports > point-to-point links with specific partner endpoints. Only IPv4 > links are supported at thi

Re: [PATCH] net: deinline netif_tx_stop_all_queues(), remove WARN_ON in netif_tx_stop_queue()

2015-05-12 Thread David Miller
From: Denys Vlasenko Date: Mon, 11 May 2015 21:17:53 +0200 > These functions compile to 60 bytes of machine code each. > With this .config: http://busybox.net/~vda/kernel_config > there are 617 calls of netif_tx_stop_queue() > and 49 calls of netif_tx_stop_all_queues() in vmlinux. > > To fix thi

Re: [PATCH v4] macvtap add missing ioctls - fix wrapping

2015-05-12 Thread David Miller
From: Justin Cormack Date: Mon, 11 May 2015 20:00:10 +0100 > The macvtap driver tries to emulate all the ioctls supported by a normal > tun/tap driver, however it was missing the generic SIOCGIFHWADDR and > SIOCSIFHWADDR ioctls to get and set the mac address that are supported > by tun/tap. This

Re: [PATCH 4/4] netconsole: implement extended console support

2015-05-12 Thread David Miller
From: Andrew Morton Date: Tue, 12 May 2015 16:36:02 -0700 > There's no such thing as CON_EXTENDED. Not sure what this is trying to > say. Please read the patch series that, in the title posting of this series, Tejun explains this series depends upon. -- To unsubscribe from this list: send the l

[PATCH net] netlink: move nl_table in read_mostly section

2015-05-12 Thread Eric Dumazet
From: Eric Dumazet netlink sockets creation and deletion heavily modify nl_table_users and nl_table_lock. If nl_table is sharing one cache line with one of them, netlink performance is really bad on SMP. 81ff5f00 B nl_table 81ff5f0c b nl_table_users Putting nl_table in read_mos

Re: [PATCH 4/4] netconsole: implement extended console support

2015-05-12 Thread Andrew Morton
On Mon, 11 May 2015 12:41:34 -0400 Tejun Heo wrote: > printk logbuf keeps various metadata and optional key=value dictionary > for structured messages, both of which are stripped when messages are > handed to regular console drivers. > > It can be useful to have this metadata and dictionary avai

Re: [PATCH 4/4] netconsole: implement extended console support

2015-05-12 Thread David Miller
From: Tejun Heo Date: Mon, 11 May 2015 16:37:45 -0400 > The current code does produce the latter outcome. > > header = msg; > body = memchr(msg, ';', msg_len); > if (WARN_ON_ONCE(!body)) > return; > > header_len = body - header; > body_len = msg_len -

Re: [PATCH net] netns: return RTM_NEWNSID instead of RTM_GETNSID on a get

2015-05-12 Thread David Miller
From: Nicolas Dichtel Date: Mon, 11 May 2015 15:57:31 +0200 > Usually, RTM_NEWxxx is returned on a get (same as a dump). > > Fixes: 0c7aecd4bde4 ("netns: add rtnl cmd to add and get peer netns ids") > Signed-off-by: Nicolas Dichtel > --- > > David, FYI, this patch will conflict with my last se

Re: [PATCH net-next v7 00/24] switchdev: spring cleanup

2015-05-12 Thread David Miller
From: sfel...@gmail.com Date: Sun, 10 May 2015 09:47:45 -0700 > The main theme of this patch set is to cleanup swdev in preparation for > new features or fixes to be added soon. We have a pretty good idea now how > to handle stacked drivers in swdev, but there where some loose ends. For > exampl

Re: [PATCH net-next] net_sched: gred: add TCA_GRED_LIMIT attribute

2015-05-12 Thread David Miller
From: David Ward Date: Sat, 9 May 2015 22:01:46 -0400 > In a GRED qdisc, if the default "virtual queue" (VQ) does not have drop > parameters configured, then packets for the default VQ are not subjected > to RED and are only dropped if the queue is larger than the net_device's > tx_queue_len. Th

Re: [PATCH v2] ARM: net: add JIT support for loads from struct seccomp_data.

2015-05-12 Thread David Miller
From: Nicolas Schichan Date: Thu, 7 May 2015 15:00:13 +0200 > Signed-off-by: Nicolas Schichan 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/majordomo-inf

Re: [PATCH net-next] switchdev: add support for fdb add/del/dump via switchdev_port_obj ops.

2015-05-12 Thread David Miller
From: Sridhar Samudrala Date: Wed, 6 May 2015 14:54:13 -0700 > - introduce port fdb obj and generic switchdev_port_fdb_add/del/dump() > - use switchdev_port_fdb_add/del/dump in rocker/team/bonding ndo ops. > - add support for fdb obj in switchdev_port_obj_add/del/dump() > - switch rocker to impl

Re: [PATCH RFC 0/2] stmmac: stand alone platform drivers

2015-05-12 Thread Joachim Eastwood
On 12 May 2015 at 21:49, Arnd Bergmann wrote: > On Tuesday 12 May 2015 19:20:45 Joachim Eastwood wrote: >> >> I have now created a generic dt dwmac driver which contain all compat >> strings that doesn't have any match data. As long as this driver is >> linked last this works for my built-in drive

Re: [PATCH net-next v1 2/7] amd-xgbe: Add netif_msg_* support for driver messages

2015-05-12 Thread Joe Perches
On Tue, 2015-05-12 at 14:22 -0500, Tom Lendacky wrote: > Add support for the network interface message level settings for > determining whether to issue some of the driver messages. [] > diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-dcb.c > b/drivers/net/ethernet/amd/xgbe/xgbe-dcb.c [] > @@ -1

[PATCH net-next 3/3] net: phy: mdio-gpio: Handle phy_ignore_ta_mask

2015-05-12 Thread Florian Fainelli
Update mdiobb_read() to read whether the PHY has a broken turn-around, and if it does, ignore it to make the read succeeed. Signed-off-by: Florian Fainelli --- drivers/net/phy/mdio-bitbang.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/mdio-bitbang.c

[RFC PATCH 06/13] xen-netback: copy buffer on xenvif_start_xmit()

2015-05-12 Thread Joao Martins
By introducing persistent grants we speed up the RX thread with the decreased copy cost, that leads to a throughput decrease of 20%. It is observed that the rx_queue stays mostly at 10% of its capacity, as opposed to full capacity when using grant copy. And a finer measure with lock_stat (below wit

Re: [PATCH net v3] rtnl/bond: don't send rtnl msg for unregistered iface

2015-05-12 Thread Jiri Pirko
Tue, May 12, 2015 at 06:10:56PM CEST, nicolas.dich...@6wind.com wrote: >Le 12/05/2015 17:58, Jiri Pirko a écrit : >>Tue, May 12, 2015 at 05:17:45PM CEST, nicolas.dich...@6wind.com wrote: >[snip] >>>First, nobody seems to care about NETDEV_CHANGEINFODATA (commit >>>d4261e565000 says that it was put

[PATCH net-next v3 5/6] packet: rollover huge flows before small flows

2015-05-12 Thread Willem de Bruijn
From: Willem de Bruijn Migrate flows from a socket to another socket in the fanout group not only when the socket is full. Start migrating huge flows early, to divert possible 4-tuple attacks without affecting normal traffic. Introduce fanout_flow_is_huge(). This detects huge flows, which are de

Re: [PATCH net-next] pktgen: fix packet generation

2015-05-12 Thread Alexei Starovoitov
On 5/12/15 1:19 AM, Jesper Dangaard Brouer wrote: On Mon, 11 May 2015 15:19:48 -0700 Alexei Starovoitov wrote: pkt_gen->last_ok was not set properly, so after the first burst pktgen instead of allocating new packet, will reuse old one, advance eth_type_trans further, which would mean the stack

[PATCH 1/2] e1000e: Add pm_qos header

2015-05-12 Thread David Ahern
Commit e2c6544829f moved pm_qos_req to e1000_adapter. Add the header file that defines the struct. Signed-off-by: David Ahern Cc: Thomas Graf Cc: Jeff Kirsher --- drivers/net/ethernet/intel/e1000e/e1000.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/intel/e1000e/e10

Re: [PATCH net-next] test_bpf: add 173 new testcases for eBPF

2015-05-12 Thread Alexei Starovoitov
On 5/12/15 12:58 AM, Daniel Borkmann wrote: On 05/12/2015 07:22 AM, Alexei Starovoitov wrote: From: Michael Holzheu From: Michael Holzheu 'From' tag somehow slipped in twice for some reason. Downloading the mbox and applying it shows the second on in the git log. hmm, that's odd. I've act

Re: [PATCH 1/2] ibm-emac: changes of emac_regs structure accordingly within driver emac_regs structure

2015-05-12 Thread David Miller
From: Ivan Mikhaylov Date: Tue, 12 May 2015 17:11:44 +0400 > In ibm_emac.c in ethtool size of emac structure which passing through to > driver > is nailed down and not correlating with current emac_regs structure. > > Signed-off-by: Ivan Mikhaylov Please do not submit patches for two differen

Re: [PATCH 2/6] net: Add a struct net parameter to sock_create_kern

2015-05-12 Thread David Miller
From: David Laight Date: Tue, 12 May 2015 08:24:11 + > Changing the function prototype will a PITA for anyone doing back-ports of > fixes. > (And more so for anyone trying to get a driver to build against kernels > that might have this change back-ported.) As someone who actually does such

Re: [PATCH] Update be2net maintainers' email addresses

2015-05-12 Thread David Miller
From: Sathya Perla Date: Tue, 12 May 2015 02:13:50 -0400 > Emulex developers' email addresses are now "@avagotech" instead of > "@emulex". I'm also replacing Subbu with Padmanabh and Sriharsha in the > maintainers list. The driver's heading was outdated and did not include > some of the chip type

[PATCH iproute2 1/2] tests: Run each test in network namespace

2015-05-12 Thread Vadim Kochan
From: Vadim Kochan Changed to forcely running each test in network namespace to do not affect on current network setup. Signed-off-by: Vadim Kochan --- testsuite/Makefile | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/testsuite/Makefile b/testsuite/Makefile index a2c

Re: [PATCH 00/10] Refactor netdev page frags and move them into mm/

2015-05-12 Thread David Miller
From: Andrew Morton Date: Mon, 11 May 2015 13:36:52 -0700 > On Sun, 10 May 2015 19:17:58 -0400 (EDT) David Miller > wrote: > >> > 4.9% build_skb 3.8%__napi_alloc_skb >> > 2.5% __alloc_rx_skb >> > 1.9% __napi_alloc_skb >> >> I like this series, but again I n

Re: [PATCH v2 net-next 1/5] net: Get skb hash over flow_keys structure

2015-05-12 Thread David Miller
From: Eric Dumazet Date: Mon, 11 May 2015 21:56:46 -0700 > On Mon, 2015-05-11 at 20:26 -0700, Tom Herbert wrote: ... > This (2) is not a multiple of 4, so some arches will have unaligned word > accesses ? ... >> -static __always_inline u32 __flow_hash_3words(u32 a, u32 b, u32 c, u32 >> keyval)

Re: [PATCH 2/6] net: Add a struct net parameter to sock_create_kern

2015-05-12 Thread Nicolas Dichtel
Le 12/05/2015 13:48, David Laight a écrit : From: Eric W. Biederman Sent: 12 May 2015 09:55 On May 12, 2015 3:24:11 AM CDT, David Laight wrote: ... Wouldn't it involve far less churn to add a new function that uses a non-default namespace? The goal is comprehensible and maintainable kernel

Re: [PATCH net-next V3 08/11] net/mlx5_core: Set/Query port MTU commands

2015-05-12 Thread Amir Vadai
On Sun, May 10, 2015 at 7:32 PM, Sergei Shtylyov wrote: > Hello. > > On 5/10/2015 12:39 PM, Amir Vadai wrote: > >> From: Saeed Mahameed > > >> Introduce set/Query low level functions to access MTU in hardware. To be >> used by the netdev. > > >> Signed-off-by: Saeed Mahameed >> Signed-off-by: Am

[patch net-next v2 11/15] flow_dissector: add missing header includes

2015-05-12 Thread Jiri Pirko
Signed-off-by: Jiri Pirko --- include/net/flow_dissector.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/net/flow_dissector.h b/include/net/flow_dissector.h index 0c8d406..1add891 100644 --- a/include/net/flow_dissector.h +++ b/include/net/flow_dissector.h @@ -1,6 +1,9 @@ #ifnde

[patch net-next v2 05/15] net: move __skb_get_hash function declaration to flow_dissector.h

2015-05-12 Thread Jiri Pirko
Since the definition of the function is in flow_dissector.c, it makes sense to have the declaration in flow_dissector.h Signed-off-by: Jiri Pirko --- include/linux/skbuff.h | 1 - include/net/flow_dissector.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux