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

2015-05-12 Thread Jiri Pirko
Signed-off-by: Jiri Pirko j...@resnulli.us --- 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 @@

[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 j...@resnulli.us --- include/linux/skbuff.h | 1 - include/net/flow_dissector.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff

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 sergei.shtyl...@cogentembedded.com wrote: Hello. On 5/10/2015 12:39 PM, Amir Vadai wrote: From: Saeed Mahameed sae...@mellanox.com Introduce set/Query low level functions to access MTU in hardware. To be used by the netdev.

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

[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 f.faine...@gmail.com --- drivers/net/phy/mdio-bitbang.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[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

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 [] @@ -150,9

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 a...@arndb.de 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

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

2015-05-12 Thread David Miller
From: Andrew Morton a...@linux-foundation.org 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

[PATCH net] netlink: move nl_table in read_mostly section

2015-05-12 Thread Eric Dumazet
From: Eric Dumazet eduma...@google.com 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

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 sridhar.samudr...@intel.com 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()

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

2015-05-12 Thread David Miller
From: Nicolas Dichtel nicolas.dich...@6wind.com 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 nicolas.dich...@6wind.com --- David,

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

2015-05-12 Thread David Miller
From: Nicolas Schichan nschic...@freebox.fr Date: Thu, 7 May 2015 15:00:13 +0200 Signed-off-by: Nicolas Schichan nschic...@freebox.fr 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 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 example,

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

2015-05-12 Thread David Miller
From: Tejun Heo t...@kernel.org 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 =

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 t...@kernel.org 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

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

2015-05-12 Thread David Miller
From: David Ward david.w...@ll.mit.edu 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

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 david.lai...@aculab.com wrote: ... Wouldn't it involve far less churn to add a new function that uses a non-default namespace? The goal is comprehensible

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

2015-05-12 Thread David Miller
From: Hariprasad Shenai haripra...@chelsio.com 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

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 k...@microsoft.com 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

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 dvlas...@redhat.com 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.

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

2015-05-12 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com 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

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

2015-05-12 Thread David Miller
From: Andrew Morton a...@linux-foundation.org Date: Mon, 11 May 2015 13:36:52 -0700 On Sun, 10 May 2015 19:17:58 -0400 (EDT) David Miller da...@davemloft.net wrote: 4.9% build_skb 3.8%__napi_alloc_skb 2.5% __alloc_rx_skb 1.9% __napi_alloc_skb I

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

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

Re: [PATCH] Update be2net maintainers' email addresses

2015-05-12 Thread David Miller
From: Sathya Perla sathya.pe...@avagotech.com 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

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

2015-05-12 Thread David Miller
From: Michal Simek michal.si...@xilinx.com 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 michal.si...@xilinx.com Applied, thank you. -- To unsubscribe from this list: send the line unsubscribe netdev in the

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

2015-05-12 Thread David Miller
From: Ying Xue ying@windriver.com 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 ying@windriver.com Applied, thanks. -- To unsubscribe from this list: send the line

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

2015-05-12 Thread David Miller
From: Niklas Cassel niklas.cas...@axis.com 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

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

2015-05-12 Thread David Miller
From: David Ahern dsah...@gmail.com 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 dsah...@gmail.com Applied. -- To unsubscribe from this list: send the line

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

2015-05-12 Thread David Miller
From: David Ahern dsah...@gmail.com 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 dsah...@gmail.com Applied. -- To unsubscribe from this list: send the line unsubscribe

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

2015-05-12 Thread David Miller
From: Alexei Starovoitov a...@plumgrid.com Date: Tue, 12 May 2015 08:38:16 -0700 From: Michael Holzheu holz...@linux.vnet.ibm.com 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

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

2015-05-12 Thread David Miller
From: Justin Cormack jus...@myriabit.com 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

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

2015-05-12 Thread David Miller
From: Florian Fainelli f.faine...@gmail.com 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

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

2015-05-12 Thread David Miller
From: John W. Linville linvi...@tuxdriver.com 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

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

2015-05-12 Thread David Miller
From: Alexei Starovoitov a...@plumgrid.com 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

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

2015-05-12 Thread David Miller
From: Alexei Starovoitov a...@plumgrid.com Date: Mon, 11 May 2015 22:22:44 -0700 From: Michael Holzheu holz...@linux.vnet.ibm.com 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

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

2015-05-12 Thread David Miller
From: Alexei Starovoitov a...@plumgrid.com Date: Mon, 11 May 2015 21:25:51 -0700 From: Brenden Blanco bbla...@plumgrid.com 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

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

2015-05-12 Thread David Miller
From: Alexei Starovoitov a...@plumgrid.com 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

[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

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 holz...@linux.vnet.ibm.com From: Michael Holzheu holz...@linux.vnet.ibm.com 'From' tag somehow slipped in twice for some reason. Downloading the mbox and applying it shows the

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 i...@ru.ibm.com 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 i...@ru.ibm.com Please do not

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

2015-05-12 Thread David Miller
From: David Laight david.lai...@aculab.com 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

[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 dsah...@gmail.com Cc: Thomas Graf tg...@suug.ch Cc: Jeff Kirsher jeffrey.t.kirs...@intel.com --- drivers/net/ethernet/intel/e1000e/e1000.h | 1 + 1 file changed, 1

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 a...@plumgrid.com 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

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

2015-05-12 Thread Willem de Bruijn
From: Willem de Bruijn will...@google.com 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