Re: [PATCH net-next 0/2] be2net Patch series

2016-02-11 Thread David Miller
From: ajit.khapa...@broadcom.com Date: Wed, 10 Feb 2016 22:45:52 +0530 > Please consider applying these two patches to net-next Series applied, thanks.

Re: [PATCH v3] openvswitch: allow management from inside user namespaces

2016-02-11 Thread pravin shelar
On Fri, Feb 5, 2016 at 5:20 PM, Tycho Andersen wrote: > Operations with the GENL_ADMIN_PERM flag fail permissions checks because > this flag means we call netlink_capable, which uses the init user ns. > > Instead, let's introduce a new flag, GENL_UNS_ADMIN_PERM for

Re: [PATCH 3/5] net/mlx4: fix some error handling in mlx4_multi_func_init()

2016-02-11 Thread Jack Morgenstein
On Wed, 10 Feb 2016 19:15:20 +0100 Rasmus Villemoes wrote: > On Wed, Feb 10 2016, Yishai Hadas wrote: > > >> @@ -2429,7 +2429,7 @@ err_thread: > >>flush_workqueue(priv->mfunc.master.comm_wq); > >>

Re: [PATCH net-next] bonding: 3ad: allow to set ad_actor settings while the bond is up

2016-02-11 Thread David Miller
From: Nikolay Aleksandrov Date: Thu, 4 Feb 2016 17:42:28 +0100 > From: Nikolay Aleksandrov > > No need to require the bond down while changing these settings, the change > will be reflected immediately and the 3ad mode will sort itself out. >

Re: [PATCH v3 2/4] ipv4: add option to drop gratuitous ARP packets

2016-02-11 Thread David Miller
From: Johannes Berg Date: Thu, 4 Feb 2016 13:31:18 +0100 > From: Johannes Berg > > In certain 802.11 wireless deployments, there will be ARP proxies > that use knowledge of the network to correctly answer requests. > To prevent gratuitous

Re: [PATCH v3 1/4] ipv4: add option to drop unicast encapsulated in L2 multicast

2016-02-11 Thread David Miller
From: Johannes Berg Date: Thu, 4 Feb 2016 13:31:17 +0100 > From: Johannes Berg > > In order to solve a problem with 802.11, the so-called hole-196 attack, > add an option (sysctl) called "drop_unicast_in_l2_multicast" which, if > enabled,

Re: [PATCH v3 4/4] ipv6: add option to drop unsolicited neighbor advertisements

2016-02-11 Thread David Miller
From: Johannes Berg Date: Thu, 4 Feb 2016 13:31:20 +0100 > From: Johannes Berg > > In certain 802.11 wireless deployments, there will be NA proxies > that use knowledge of the network to correctly answer requests. > To prevent unsolicitd

Re: [PATCH v3 3/4] ipv6: add option to drop unicast encapsulated in L2 multicast

2016-02-11 Thread David Miller
From: Johannes Berg Date: Thu, 4 Feb 2016 13:31:19 +0100 > From: Johannes Berg > > In order to solve a problem with 802.11, the so-called hole-196 attack, > add an option (sysctl) called "drop_unicast_in_l2_multicast" which, if > enabled,

Re: [PATCH net-next v4 0/7] Faster SO_REUSEPORT for TCP

2016-02-11 Thread David Miller
From: Craig Gallek Date: Wed, 10 Feb 2016 11:50:34 -0500 > This patch series complements an earlier series (6a5ef90c58da) > which added faster SO_REUSEPORT lookup for UDP sockets by > extending the feature to TCP sockets. It uses the same > array-based data structure

Re: [PATCH net-next] MAINTAINERS: Update tg3 maintainer

2016-02-11 Thread David Miller
From: skallam Date: Thu, 4 Feb 2016 15:20:47 +0530 > From: Siva Reddy Kallam > > Signed-off-by: Siva Reddy Kallam > Signed-off-by: Michael Chan > Acked-by: Prashant Sreedharan

[GIT] Networking

2016-02-11 Thread David Miller
1) Fix BPF handling of branch offset adjustmnets on backjumps, from Daniel Borkmann. 2) Make sure selinux knows about SOCK_DESTROY netlink messages, from Lorenzo Colitti. 3) Fix openvswitch tunnel mtu regression, from David Wragg. 4) Fix ICMP handling of TCP sockets in syn_recv state,

Re: [PATCH net v4] r8169: Bad implementation of netif_carrier_*

2016-02-11 Thread David Miller
From: Corcodel Marian Date: Thu, 11 Feb 2016 08:27:43 +0200 > On probe stage what carrier to stop and rest two situation > netif_carrier_* is slow and disturbing autonegociation process. > > Signed-off-by: Corcodel Marian This doesn't tell us

Re: pull request [net-next]: batman-adv 20160210

2016-02-11 Thread David Miller
From: Antonio Quartulli Date: Wed, 10 Feb 2016 23:57:06 +0800 > this is another pull request intended for net-next. > > Here you have a batch of patches by Sven Eckelmann that > drops our private reference counting implementation and > substitutes it with the kref

Re: [PATCH] bpf_dbg: do not initialise statics to 0

2016-02-11 Thread David Miller
From: Wei Tang Date: Thu, 4 Feb 2016 17:36:23 +0800 > This patch fixes the checkpatch.pl error to bpf_dbg.c: > > ERROR: do not initialise statics to 0 > > Signed-off-by: Wei Tang Applied, thanks.

[PATCH net-next v1] tipc: refactor node xmit and fix memory leaks

2016-02-11 Thread Richard Alpe
Refactor tipc_node_xmit() to fail fast and fail early. Fix several potential memory leaks in unexpected error paths. Reported-by: Dmitry Vyukov Reviewed-by: Jon Maloy Signed-off-by: Richard Alpe --- net/tipc/link.c | 8

[PATCH net-next] tcp: add tcpi_min_rtt and tcpi_notsent_bytes to tcp_info

2016-02-11 Thread Eric Dumazet
From: Eric Dumazet tcpi_min_rtt reports the minimal rtt observed by TCP stack for the flow, in usec unit. Might be ~0U if not yet known. tcpi_notsent_bytes reports the amount of bytes in the write queue that were not yet sent. This is done in a single patch to not add a

[PATCH net] tcp: md5: release request socket instead of listener

2016-02-11 Thread Eric Dumazet
If tcp_v4_inbound_md5_hash() returns an error, we must release the refcount on the request socket, not on the listener. The bug was added for IPv4 only. Fixes: 079096f103fac ("tcp/dccp: install syn_recv requests into ehash table") Signed-off-by: Eric Dumazet ---

Re: [PATCH net-next,V2] Add LAN9352 Ethernet Driver

2016-02-11 Thread Andrew Lunn
On Thu, Feb 11, 2016 at 06:18:25PM -0800, Florian Fainelli wrote: > On 11/02/16 10:58, bryan.whiteh...@microchip.com wrote: > > This is the initial submission of an ethernet driver for > > the Microchip LAN9352. > > > > The LAN9352 is a 2-Port 10/100 Managed Ethernet Switch with > > 16-Bit

Re: [PATCH net v4] r8169: Bad implementation of netif_carrier_*

2016-02-11 Thread Corcodel Marian
On Thu, 2016-02-11 at 03:39 -0500, David Miller wrote: > From: Corcodel Marian > Date: Thu, 11 Feb 2016 08:27:43 +0200 > > > On probe stage what carrier to stop and rest two situation > > netif_carrier_* is slow and disturbing autonegociation process. > > > >

Re: [PATCH 0/6] net: thunderx: Setting IRQ affinity hints and other optimizations

2016-02-11 Thread David Miller
From: Sunil Kovvuri Date: Thu, 11 Feb 2016 18:56:48 +0530 > If time permits, can you please look at this patchset. You were given feedback and I expect you to address that feedback and resubmit this series. This is what the "Changed Requested" state in patchwork means.

Re: net: mv643xx: interface does not transmit after some time

2016-02-11 Thread Ezequiel Garcia
(let's expand the Cc a bit) On 10 February 2016 at 19:57, Andrew Lunn wrote: > On Wed, Feb 10, 2016 at 07:40:54PM +0100, Thomas Schlöter wrote: >> >> > Am 08.02.2016 um 19:49 schrieb Thomas Schlöter : >> > >> > >> >> Am 07.02.2016 um 22:07 schrieb Thomas

Re: [PATCH v3] openvswitch: allow management from inside user namespaces

2016-02-11 Thread David Miller
From: Tycho Andersen Date: Fri, 5 Feb 2016 09:20:52 -0700 > Operations with the GENL_ADMIN_PERM flag fail permissions checks because > this flag means we call netlink_capable, which uses the init user ns. > > Instead, let's introduce a new flag,

Re: [PATCH] codel: add forgotten inline to functions in header file

2016-02-11 Thread Grumbach, Emmanuel
fixing linux-wireless address ... On 02/11/2016 04:30 PM, Eric Dumazet wrote: > On Thu, 2016-02-11 at 16:08 +0200, Emmanuel Grumbach wrote: >> Signed-off-by: Emmanuel Grumbach >> --- >> -static bool codel_should_drop(const struct sk_buff *skb, >> -

Re: [PATCH 0/6] net: thunderx: Setting IRQ affinity hints and other optimizations

2016-02-11 Thread Robert Richter
On 11.02.16 09:33:41, David Miller wrote: > From: Sunil Kovvuri > Date: Thu, 11 Feb 2016 18:56:48 +0530 > > > If time permits, can you please look at this patchset. > > You were given feedback and I expect you to address that feedback > and resubmit this series. > >

Re: [PATCH] net: hamradio: baycom_ser_fdx: Replace timeval with timespec64

2016-02-11 Thread David Miller
From: Amitoj Kaur Chawla Date: Wed, 10 Feb 2016 10:08:54 +0530 > 32 bit systems using 'struct timeval' will break in the year 2038, so > we replace the code appropriately. However, this driver is not broken > in 2038 since we are only using microseconds portion of the time.

Re: [RFC PATCH v2 00/18] CALIPSO Implementation

2016-02-11 Thread Huw Davies
On Sun, Feb 07, 2016 at 02:56:18PM -0500, Paul Moore wrote: > Thanks for fixing this patchset up and sending out a v2. I took a closer > look > and just sent out my comments, let me know if you have any questions. > > Once we get to a v3 patchset, I think it's time to reach out Oracle and try

Re: [PATCH] bonding: Return correct error code

2016-02-11 Thread David Miller
From: Amitoj Kaur Chawla Date: Sun, 7 Feb 2016 10:56:25 +0530 > The return value of kzalloc on failure of allocation of memory should > be -ENOMEM and not -1. > > Found using Coccinelle. A simplified version of the semantic patch > used is: ... > The single call site only

Re: [PATCH net-next] vrf: duplicate include of rtnetlink.h

2016-02-11 Thread David Miller
From: Stephen Hemminger Date: Tue, 9 Feb 2016 22:11:27 -0800 > Signed-off-by: Stephen Hemminger Applied.

Re: [PATCH net-next] vxlan: udp_tunnel duplicate include net/udp_tunnel.h

2016-02-11 Thread David Miller
From: Stephen Hemminger Date: Tue, 9 Feb 2016 22:07:29 -0800 > Signed-off-by: Stephen Hemminger Applied.

Re: [PATCH net-next] rds: duplicate include net/tcp.h

2016-02-11 Thread David Miller
From: Stephen Hemminger Date: Tue, 9 Feb 2016 22:04:47 -0800 > Duplicate include detected. > > Signed-off-by: Stephen Hemminger Applied.

Re: [RFC PATCH v2 08/18] ipv6: Add ipv6_renew_options_kern() that accepts a kernel mem pointer.

2016-02-11 Thread Huw Davies
On Sun, Feb 07, 2016 at 02:56:05PM -0500, Paul Moore wrote: > On Friday, January 08, 2016 09:52:44 AM Huw Davies wrote: > > The functionality is equivalent to ipv6_renew_options() except > > that the newopt pointer is in kernel, not user, memory > > > > The kernel memory implementation will be

Re: [PATCH repost net-next] ethtool: future-proof interface for speed extensions

2016-02-11 Thread David Miller
From: "Michael S. Tsirkin" Date: Sun, 7 Feb 2016 23:27:55 +0200 > Many virtual and not quite virtual devices allow any speed to be set > through ethtool. In particular, this applies to the virtio-net devices. > Document this fact to make sure people don't assume the enum lists

Re: [RFC PATCH v2 10/18] calipso: Set the calipso socket label to match the secattr.

2016-02-11 Thread Huw Davies
On Sun, Feb 07, 2016 at 02:56:08PM -0500, Paul Moore wrote: > On Friday, January 08, 2016 09:52:46 AM Huw Davies wrote: > > +/** > > + * calipso_genopt - Generate a CALIPSO option > > + * @buf: the option buffer > > + * @start: offset from which to write > > + * @buf_len: the size of opt_buf > > +

Re: [net-next v2] bonding: use return instead of goto

2016-02-11 Thread David Miller
From: Zhang Shengju Date: Tue, 9 Feb 2016 10:37:46 + > Replace 'goto' with 'return' to remove unnecessary check at label: > err_undo_flags. > > The reason is that 'err_undo_flags' do two things for the first slave device: > 1.revert bond mac address if it

Re: [PATCH] codel: add forgotten inline to functions in header file

2016-02-11 Thread Eric Dumazet
On Thu, 2016-02-11 at 15:05 +, Grumbach, Emmanuel wrote: > Yeah :) codel_should_drop seemed very long indeed... I wanted to use the > codel_get_time and associated utils (_before, _after) in iwlwifi. > They're better than jiffies... So maybe I can just copy that code to > iwlwifi. You

RE: [PATCH net-next 2/3] lan78xx: setting phy features in phy driver

2016-02-11 Thread Woojung.Huh
I'll submit patch for review. - Woojung > On 10/02/2016 15:18, woojung@microchip.com wrote: > >>> +static int lan88xx_config_init(struct phy_device *phydev) > >>> +{ > >>> + phydev->supported &= phydev->drv->features; > >>> + phydev->advertising &= phydev->drv->features; > >> > >> This looks

Re: [PATCH net-next 1/2] nsh: encapsulation module

2016-02-11 Thread Brian Russell
On 11/02/16 16:39, David Miller wrote: > From: Brian Russell > Date: Thu, 11 Feb 2016 10:35:13 + > >> +++ b/include/net/nsh.h >> +struct nsh_metadata { >> +u_short class; >> +u_char crit; >> +u_char type; >> +u_int len; /* 4 byte words */ >> +void

[PATCH net-next,V2] Add LAN9352 Ethernet Driver

2016-02-11 Thread Bryan.Whitehead
This is the initial submission of an ethernet driver for the Microchip LAN9352. The LAN9352 is a 2-Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface. The CPU interface includes a basic ethernet controller interface whose virtual phy is connected internally to a 3rd port on the

Re: [PATCH] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-02-11 Thread Vijay Pandurangan
Just as a followup, I wrote a short blog detailing the bug and our resolution: (https://twitter.com/vijayp/status/697837808417779716) Thanks again for your help in guiding us through our first kernel patch. This was a great experience! direct link:

[PATCH net] af_unix: Guard against other == sk in unix_dgram_sendmsg

2016-02-11 Thread Rainer Weikusat
The unix_dgram_sendmsg routine use the following test if (unlikely(unix_peer(other) != sk && unix_recvq_full(other))) { to determine if sk and other are in an n:1 association (either established via connect or by using sendto to send messages to an unrelated socket identified by address). This

[PATCH net-next v2 2/2] vxlan: support GPE/NSH

2016-02-11 Thread Brian Russell
Support the Generic Protocol Extension to VxLAN which extends VxLAN to allow multi-protocol encapsulation. IPv4, IPv6, MPLS unicast and NSH encapsulated packets can be sent and received in addition to ethernet frames. As defined in: https://tools.ietf.org/html/draft-ietf-nvo3-vxlan-gpe-01

[PATCH net-next v2 0/2] NSH and VxLAN-GPE

2016-02-11 Thread Brian Russell
These patches add a new module to support encap/decap of Network Service Header (NSH) as defined in: https://tools.ietf.org/html/draft-ietf-sfc-nsh-01 Both NSH Type 1 and Type 2 metadata are supported with a simple registration hook to allow listeners to register to see packets with Type 1 or a

[PATCH net-next v2 1/2] nsh: encapsulation module

2016-02-11 Thread Brian Russell
Support encap/decap of Network Service Header (NSH) as defined in https://tools.ietf.org/html/draft-ietf-sfc-nsh-01 Includes support for Type 1 and Type 2 metadata and a simple registration for listeners to see decapsulated packets based on the Type/Class. Signed-off-by: Brian Russell

Re: [PATCH net-next] be2net: don't report EVB for older chipsets when SR-IOV is disabled

2016-02-11 Thread Sathya Perla
On Wed, Feb 10, 2016 at 1:13 PM, Ivan Vecera wrote: > > The EVB (virtual bridge) functionality should be disabled on older BE3 > and Lancer chips if SR-IOV is disabled in the NIC's BIOS. This setting > is identified by the zero value of total VFs reported by the card. > The

Re: [PATCH net-next] lwt: fix rx checksum setting for lwt devices tunneling over ipv6

2016-02-11 Thread Jiri Benc
On Wed, 10 Feb 2016 16:47:21 +0100, Paolo Abeni wrote: > --- a/drivers/net/geneve.c > +++ b/drivers/net/geneve.c > @@ -1441,7 +1441,8 @@ struct net_device *geneve_dev_create_fb(struct net > *net, const char *name, > return dev; > > err = geneve_configure(net, dev,

Re: [PATCH net-next] be2net: don't report EVB for older chipsets when SR-IOV is disabled

2016-02-11 Thread Ivan Vecera
On 11.2.2016 10:56, Sathya Perla wrote: On Wed, Feb 10, 2016 at 1:13 PM, Ivan Vecera wrote: The EVB (virtual bridge) functionality should be disabled on older BE3 and Lancer chips if SR-IOV is disabled in the NIC's BIOS. This setting is identified by the zero value of

Re: [PATCH net v4] r8169: Bad implementation of netif_carrier_*

2016-02-11 Thread David Miller
From: Corcodel Marian Date: Thu, 11 Feb 2016 12:52:49 +0200 > On Thu, 2016-02-11 at 03:39 -0500, David Miller wrote: >> From: Corcodel Marian >> Date: Thu, 11 Feb 2016 08:27:43 +0200 >> >> > On probe stage what carrier to stop and rest two

[PATCH net-next 0/7] net: unify dst caching for tunnel devices

2016-02-11 Thread Paolo Abeni
This patch series try to unify the dst cache implementations currently present in the kernel, namely in ip_tunnel.c and ip6_tunnel.c, introducing a new generic implementation, replacing the existing ones, and then using the new implementation in other tunnel devices which currently lack it. The

Re: [PATCH net-next] lwt: fix rx checksum setting for lwt devices tunneling over ipv6

2016-02-11 Thread David Miller
From: Jiri Benc Date: Thu, 11 Feb 2016 11:41:24 +0100 > On Wed, 10 Feb 2016 16:47:21 +0100, Paolo Abeni wrote: >> --- a/drivers/net/geneve.c >> +++ b/drivers/net/geneve.c >> @@ -1441,7 +1441,8 @@ struct net_device *geneve_dev_create_fb(struct net >> *net, const char *name, >>

Re: [PATCH net-next 4/7] net: use dst_cache for vxlan device

2016-02-11 Thread Jiri Benc
On Thu, 11 Feb 2016 11:12:00 +0100, Paolo Abeni wrote: > @@ -1857,6 +1867,7 @@ static void vxlan_xmit_one(struct sk_buff *skb, struct > net_device *dev, > struct rtable *rt = NULL; > const struct iphdr *old_iph; > union vxlan_addr *dst; > + struct dst_entry *ndst; >

[PATCH] pcnet_cs: add new id

2016-02-11 Thread Ken Kawasaki
add new id (CONTEC C-NET(PC)C-100TX2) Signed-off-by: Ken Kawasaki --- --- linux-4.4.1/drivers/net/ethernet/8390/pcnet_cs.c.orig 2016-02-11 19:26:02.281108472 +0900 +++ linux-4.4.1/drivers/net/ethernet/8390/pcnet_cs.c2016-02-11 19:27:21.353595301 +0900 @@

[PATCH net-next v2] be2net: don't report EVB for older chipsets when SR-IOV is disabled

2016-02-11 Thread Ivan Vecera
The EVB (virtual bridge) functionality should be disabled on older BE3 and Lancer chips if SR-IOV is disabled in the NIC's BIOS. This setting is identified by the zero value of total VFs reported by the card. The GET_HSW_CONFIG command cannot be used as it is not supported by these older chipset's

Re: [PATCH net v4] r8169: Bad implementation of netif_carrier_*

2016-02-11 Thread Corcodel Marian
On Thu, 2016-02-11 at 06:12 -0500, David Miller wrote: > From: Corcodel Marian > Date: Thu, 11 Feb 2016 12:52:49 +0200 > > > On Thu, 2016-02-11 at 03:39 -0500, David Miller wrote: > >> From: Corcodel Marian > >> Date: Thu, 11 Feb 2016 08:27:43 +0200

Re: [PATCH V2 net-next] hv_netvsc: cleanup netdev feature flags for netvsc

2016-02-11 Thread David Miller
From: Simon Xiao Date: Thu, 4 Feb 2016 15:49:34 -0800 > 1. Adding NETIF_F_TSO6 feature flag; > 2. Adding NETIF_F_HW_CSUM. NETIF_F_IPV6_CSUM and NETIF_F_IP_CSUM are > being deprecated; > 3. Cleanup the coding style of flag assignment by using macro. > > Signed-off-by:

Re: [PATCH net-next] lwt: fix rx checksum setting for lwt devices tunneling over ipv6

2016-02-11 Thread Jiri Benc
On Thu, 11 Feb 2016 13:16:52 +0100, Jiri Benc wrote: > I don't see a better way out of this now. Fortunately, this does not > affect route based tunneling. > > Acked-by: Jiri Benc Oh, and this should go to net, not net-next. Jiri -- Jiri Benc

Re: [PATCH v4 net-next 0/8] Local Checksum Offload

2016-02-11 Thread David Miller
From: Edward Cree Date: Fri, 5 Feb 2016 20:39:34 + > Tested with VxLAN, GRE and FOU-IPIP tunnels. Not tested with GENEVE, > because iproute2 doesn't support enabling checksums on GENEVE tunnels. > Also tested VxLAN with IPv6 (as both inner and outer protocol). This

[PATCH net-next 1/2] nsh: encapsulation module

2016-02-11 Thread Brian Russell
Support encap/decap of Network Service Header (NSH) as defined in https://tools.ietf.org/html/draft-ietf-sfc-nsh-01 Includes support for Type 1 and Type 2 metadata and a simple registration for listeners to see decapsulated packets based on the Type/Class. Signed-off-by: Brian Russell

[PATCH net-next 2/2] vxlan: support GPE/NSH

2016-02-11 Thread Brian Russell
Support the Generic Protocol Extension to VxLAN which extends VxLAN to allow multi-protocol encapsulation. IPv4, IPv6, MPLS unicast and NSH encapsulated packets can be sent and received in addition to ethernet frames. As defined in: https://tools.ietf.org/html/draft-ietf-nvo3-vxlan-gpe-01

[PATCH iproute2 net-next] iplink: vxlan: gpe support

2016-02-11 Thread Brian Russell
Add VXLAN GPE support to ip link Signed-off-by: Brian Russell --- include/linux/if_link.h | 1 + ip/iplink_vxlan.c | 21 ++--- man/man8/ip-link.8.in | 12 +++- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git

[PATCH net-next 0/2] NSH and VxLAN-GPE

2016-02-11 Thread Brian Russell
These patches add a new module to support encap/decap of Network Service Header (NSH) as defined in: https://tools.ietf.org/html/draft-ietf-sfc-nsh-01 Both NSH Type 1 and Type 2 metadata are supported with a simple registration hook to allow listeners to register to see packets with Type 1 or a

Re: [PATCH net-next V2 0/8] net: fec: cleanup/fixes

2016-02-11 Thread David Miller
From: Troy Kisky Date: Fri, 5 Feb 2016 14:52:42 -0700 > > V2 is a rebase on top of johannes endian-safe patch and > is only the 1st eight patches. > The testing for this series was done on a nitrogen6x. > The base commit was > commit

[PATCH] pcnet_cs: add new id

2016-02-11 Thread Ken Kawasaki
add new id (CONTEC C-NET(PC)C-100TX2) Signed-off-by: Ken Kawasaki --- --- linux-4.4.1/drivers/net/ethernet/8390/pcnet_cs.c.orig 2016-02-11 19:26:02.281108472 +0900 +++ linux-4.4.1/drivers/net/ethernet/8390/pcnet_cs.c2016-02-11 19:27:21.353595301 +0900 @@

Re: [PATCH for-next 0/3] Add TOS support and some cleanup

2016-02-11 Thread David Miller
From: Hariprasad Shenai Date: Fri, 5 Feb 2016 11:43:27 +0530 > This series adds TOS support for iWARP and also does some cleanup to make > code more readable. Patch series is created against infiniband tree and > includes patches on iw_cxgb4 and cxgb4 driver. > > We

Re: [PATCH net-next] lwt: fix rx checksum setting for lwt devices tunneling over ipv6

2016-02-11 Thread Jiri Benc
On Thu, 11 Feb 2016 12:38:51 +0100, Paolo Abeni wrote: > We are already sending by default zero UDP checksum when tunneling over > vxlan/geneve light weight tunnel since the commit 35e2d1152b22 > ("tunnels: Allow IPv6 UDP checksums to be correctly controlled."). > > Currently, geneve/vxlan lwt

Re: [PATCH v2 net-next 0/2] IPv6 NFC

2016-02-11 Thread David Miller
From: Edward Cree Date: Fri, 5 Feb 2016 11:12:33 + > This series adds support for steering IPv6 flows using the ethtool NFC > interface, and implements it for sfc devices. > Tested using an in-development patch to the ethtool utility. Series applied, thanks.

Re: [PATCH net-next 7/7] net/ipv4: add dst cache support for gre lwtunnels

2016-02-11 Thread Sergei Shtylyov
Hello. On 2/11/2016 1:12 PM, Paolo Abeni wrote: In case of UDP traffic with datagram length below MTU this give about 4% performance increase Gives. Signed-off-by: Paolo Abeni Suggested-and-acked-by: Hannes Frederic Sowa ---

[PATCH net-next 3/7] ip_tunnel: replace dst_cache with generic implementation

2016-02-11 Thread Paolo Abeni
The current ip_tunnel cache implementation is prone to a race that will cause the wrong dst to be cached on cuncurrent dst cache miss and ip tunnel update via netlink. Replacing with the generic implementation fix the issue. Signed-off-by: Paolo Abeni Suggested-and-acked-by:

[PATCH net-next 2/7] net: replace dst_cache ip6_tunnel implementation with the generic one

2016-02-11 Thread Paolo Abeni
This also fix a potential race into the existing tunnel code, which could lead to the wrong dst to be permanenty cached: CPU1: CPU2: dst = ip6_route_output(...)

[PATCH net-next 1/7] net: add dst_cache support

2016-02-11 Thread Paolo Abeni
This patch add a generic, lockless dst cache implementation. The need for lock is avoided updating the dst cache fields only in per cpu scope, and requiring that the cache manipulation functions are invoked with the local bh disabled. The refresh_ts and reset_ts fields are used to ensure the

[PATCH net-next 5/7] net: add dst_cache to ovs vxlan lwtunnel

2016-02-11 Thread Paolo Abeni
In case of UDP traffic with datagram length below MTU this give about 2% performance increase Signed-off-by: Paolo Abeni Suggested-and-acked-by: Hannes Frederic Sowa --- drivers/net/vxlan.c| 17 +

[PATCH net-next 4/7] net: use dst_cache for vxlan device

2016-02-11 Thread Paolo Abeni
In case of UDP traffic with datagram length below MTU this give about 3% performance increase when tunneling over ipv4 and about 70% when tunneling over ipv6. Signed-off-by: Paolo Abeni Suggested-and-acked-by: Hannes Frederic Sowa ---

[PATCH net-next 7/7] net/ipv4: add dst cache support for gre lwtunnels

2016-02-11 Thread Paolo Abeni
In case of UDP traffic with datagram length below MTU this give about 4% performance increase Signed-off-by: Paolo Abeni Suggested-and-acked-by: Hannes Frederic Sowa --- net/ipv4/ip_gre.c | 17 ++--- 1 file changed, 14 insertions(+), 3

[PATCH net-next 6/7] geneve: add dst caching support

2016-02-11 Thread Paolo Abeni
use generic dst implementation for both plain geneve devices and lwtunnels. In case of UDP traffic with datagram length below MTU this give about 2% performance increase for plain geneve tunnel over ipv4, about 65% performance increase for ipv6 tunnel. Signed-off-by: Paolo Abeni

Re: [PATCH net-next v2] be2net: don't report EVB for older chipsets when SR-IOV is disabled

2016-02-11 Thread Sathya Perla
On Thu, Feb 11, 2016 at 12:42 PM, Ivan Vecera wrote: > The EVB (virtual bridge) functionality should be disabled on older BE3 > and Lancer chips if SR-IOV is disabled in the NIC's BIOS. This setting > is identified by the zero value of total VFs reported by the card. > The

Re: [PATCH 0/6] net: thunderx: Setting IRQ affinity hints and other optimizations

2016-02-11 Thread Sunil Kovvuri
Hi David, If time permits, can you please look at this patchset. Thanks, Sunil. On Mon, Feb 8, 2016 at 5:37 PM, wrote: > From: Sunil Goutham > > This patch series contains changes > - To add support for virtual function's irq affinity hint > -

[PATCH] codel: add forgotten inline to functions in header file

2016-02-11 Thread Emmanuel Grumbach
Signed-off-by: Emmanuel Grumbach --- include/net/codel.h | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/include/net/codel.h b/include/net/codel.h index 267e702..0775c24 100644 ---

[PATCH 3.12 28/64] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2016-02-11 Thread Jiri Slaby
From: Vijay Pandurangan 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit ce8c839b74e3017996fad4e1b7ba2e2625ede82f ] Packets that arrive from real hardware devices have ip_summed == CHECKSUM_UNNECESSARY if the

Re: [PATCH] codel: add forgotten inline to functions in header file

2016-02-11 Thread Eric Dumazet
On Thu, 2016-02-11 at 16:08 +0200, Emmanuel Grumbach wrote: > Signed-off-by: Emmanuel Grumbach > --- > -static bool codel_should_drop(const struct sk_buff *skb, > - struct Qdisc *sch, > - struct codel_vars *vars, >

Re: [net-next PATCH 00/10] Add GSO support for outer checksum w/ inner checksum offloads

2016-02-11 Thread David Miller
From: Alexander Duyck Date: Fri, 05 Feb 2016 15:27:25 -0800 > This patch series updates the existing segmentation offload code for > tunnels to make better use of existing and updated GSO checksum > computation. This is done primarily through two mechanisms. First we >

Re: [patch net-next RFC 1/6] Introduce devlink infrastructure

2016-02-11 Thread Ivan Vecera
On 3.2.2016 11:47, Jiri Pirko wrote: +struct devlink_ops { + size_t priv_size; + int (*port_type_set)(struct devlink_port *devlink_port, +enum devlink_port_type port_type); +}; It does not make sense to have priv_size member here... If it is necessary it

Re: [PATCH] codel: add forgotten inline to functions in header file

2016-02-11 Thread Grumbach, Emmanuel
On 02/11/2016 05:12 PM, Eric Dumazet wrote: > On Thu, 2016-02-11 at 15:05 +, Grumbach, Emmanuel wrote: > > >> Yeah :) codel_should_drop seemed very long indeed... I wanted to use the >> codel_get_time and associated utils (_before, _after) in iwlwifi. >> They're better than jiffies... So

[PATCH v2 1/6] net, thunderx: Add TX timeout and RX buffer alloc failure stats.

2016-02-11 Thread sunil . kovvuri
From: Thanneeru Srinivasulu When system is low on atomic memory, too many error messages are logged. Since this is not a total failure but a simple switch to non-atomic allocation better to have a stat. Also add a stat for reset, kicked due to transmit watchdog

Re: [PATCH] codel: add forgotten inline to functions in header file

2016-02-11 Thread Dave Taht
On Thu, Feb 11, 2016 at 7:05 AM, Grumbach, Emmanuel wrote: > fixing linux-wireless address ... > > On 02/11/2016 04:30 PM, Eric Dumazet wrote: >> On Thu, 2016-02-11 at 16:08 +0200, Emmanuel Grumbach wrote: >>> Signed-off-by: Emmanuel Grumbach

Re: [PATCH 3/5] net/mlx4: fix some error handling in mlx4_multi_func_init()

2016-02-11 Thread Doug Ledford
On 02/09/2016 03:11 PM, Rasmus Villemoes wrote: > The while loop after err_slaves should use post-decrement; otherwise > we'll fail to do the kfrees for i==0, and will run into out-of-bounds > accesses if the setup above failed already at i==0. > > The predecrement in the --port is ok, since

Re: [PATCH] codel: add forgotten inline to functions in header file

2016-02-11 Thread Dave Taht
On Thu, Feb 11, 2016 at 7:29 AM, Grumbach, Emmanuel wrote: > > > On 02/11/2016 05:12 PM, Eric Dumazet wrote: >> On Thu, 2016-02-11 at 15:05 +, Grumbach, Emmanuel wrote: >> >> >>> Yeah :) codel_should_drop seemed very long indeed... I wanted to use the >>>

Re: [PATCH 1/2] net: dsa: mv88e6xxx: Add support for Marvell 88E6240

2016-02-11 Thread Andrew Lunn
On Thu, Feb 11, 2016 at 11:44:48AM +0100, Sascha Hauer wrote: > The Marvell 88E6240 has been tested successfully without further > changes. Add entry to the table of supported devices. > > Signed-off-by: Sascha Hauer Reviewed-by: Andrew Lunn Thanks

Re: [PATCH 2/2] net: dsa: remove phy_disconnect from error path

2016-02-11 Thread Vivien Didelot
Hi Sascha, Sascha Hauer writes: > The phy has not been initialized, disconnecting it in the error > path results in a NULL pointer exception. Drop the phy_disconnect > from the error path. > > Signed-off-by: Sascha Hauer > --- > net/dsa/slave.c

Re: [PATCH 2/2] net: dsa: remove phy_disconnect from error path

2016-02-11 Thread Andrew Lunn
On Thu, Feb 11, 2016 at 11:44:49AM +0100, Sascha Hauer wrote: > The phy has not been initialized, disconnecting it in the error > path results in a NULL pointer exception. Drop the phy_disconnect > from the error path. > > Signed-off-by: Sascha Hauer Hi Sascha The fix

[PATCH v2 0/6] net: thunderx: Setting IRQ affinity hints and other optimizations

2016-02-11 Thread sunil . kovvuri
From: Sunil Goutham This patch series contains changes - To add support for virtual function's irq affinity hint - Replace napi_schedule() with napi_schedule_irqoff() - Reduce page allocation overhead by allocating pages of higher order when pagesize is 4KB. - Add couple

[PATCH v2 5/6] net: thunderx: bgx: Add log message when setting mac address

2016-02-11 Thread sunil . kovvuri
From: Robert Richter Signed-off-by: Robert Richter Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git

[PATCH v2 2/6] net: thunderx: Use napi_schedule_irqoff()

2016-02-11 Thread sunil . kovvuri
From: Sunil Goutham napi_schedule is being called from hard irq context, hence switch to napi_schedule_irqoff which avoids unneeded call to local_irq_save and local_irq_restore. Signed-off-by: Sunil Goutham ---

[PATCH v2 3/6] net: thunderx: Assign affinity hints to vf's interrupts

2016-02-11 Thread sunil . kovvuri
From: Sunil Goutham This affinity hint can be used by user space irqbalance tool to set preferred CPU mask for irqs registered by this VF. Irqbalance needs to be in 'exact' mode to set irq affinity same as indicated by affinity hint. Signed-off-by: Sunil Goutham

[PATCH v2 6/6] net: thunderx: Alloc higher order pages when pagesize is small

2016-02-11 Thread sunil . kovvuri
From: Sunil Goutham Allocate higher order pages when pagesize is small, this will reduce number of calls to page allocator and wastage of memory. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c |2 +- 1 files

[PATCH v2 4/6] net: thunderx: bgx: Use standard firmware node infrastructure.

2016-02-11 Thread sunil . kovvuri
From: David Daney In the case of OF device tree, the firmware information is attached to the BGX device structure in the standard manner, so use the firmware iterators and accessors where possible. Signed-off-by: David Daney Signed-off-by: Sunil

Re: [PATCH net-next 1/2] nsh: encapsulation module

2016-02-11 Thread Robert Shearman
On 11/02/16 11:35, Brian Russell wrote: ... diff --git a/include/net/nsh.h b/include/net/nsh.h new file mode 100644 index 000..7a5fb95 --- /dev/null +++ b/include/net/nsh.h @@ -0,0 +1,158 @@ +/* + * Network Service Header (NSH) inserted onto encapsulated packets + * or frames to realize

[PATCH v5 net-next 2/8] net: udp: always set up for CHECKSUM_PARTIAL offload

2016-02-11 Thread Edward Cree
If the dst device doesn't support it, it'll get fixed up later anyway by validate_xmit_skb(). Also, this allows us to take advantage of LCO to avoid summing the payload multiple times. Signed-off-by: Edward Cree --- net/ipv4/udp.c | 14 +-

[PATCH v5 net-next 7/8] net: ip_tunnel: remove 'csum_help' argument to iptunnel_handle_offloads

2016-02-11 Thread Edward Cree
All users now pass false, so we can remove it, and remove the code that was conditional upon it. Signed-off-by: Edward Cree --- drivers/net/vxlan.c | 2 +- include/net/ip_tunnels.h| 3 +-- include/net/udp_tunnel.h| 3 +-- net/ipv4/fou.c

Re: gigaset: memory leak in gigaset_initcshw

2016-02-11 Thread Paul Bolle
On vr, 2016-02-05 at 22:25 +0100, Dmitry Vyukov wrote: > On Fri, Feb 5, 2016 at 7:36 PM, Paul Bolle wrote: > > Does that make any difference? > Nope. > Almost 500 objects leaked in less than 10 seconds: Too bad. Still a nice (potential) clean up though. Thanks, Paul Bolle

BUG: held lock freed! - request_sock_queue::rskq_lock

2016-02-11 Thread Ilya Dryomov
Hi Eric, I'm hitting the following splat (attached in full): kernel: = kernel: [ BUG: held lock freed! ] kernel: 4.5.0-rc1-ceph-00026-g5e0a311 #1 Not tainted kernel: - kernel: swapper/5/0 is freeing memory 880035c9d200-880035c9dbff, with a

[PATCH v2 net-next 0/2] tcp/dccp: better use of ephemeral ports

2016-02-11 Thread Eric Dumazet
Big servers have bloated bind table, making very hard to succeed ephemeral port allocations, without special containers/namespace tricks. This patch series extends the strategy added in commit 07f4c90062f8 ("tcp/dccp: try to not exhaust ip_local_port_range in connect()"). Since ports used by

  1   2   >