[PATCH net] net: Handle negative checksum offset in skb-checksum-help

2015-09-20 Thread Pravin B Shelar
VXLAN device can receive skb with checksum partial. But the checksum offset could be in outer header which is pulled on receive. This results in negative checksum offset for the skb. Such skb can cause the assert failure in skb_checksum_help(). The patch fixes the bug by checking for negative offse

Re: [PATCH net-next v2 3/7] bridge: define some min/max/default ageing time constants

2015-09-20 Thread Jiri Pirko
Sun, Sep 20, 2015 at 05:48:25PM CEST, sfel...@gmail.com wrote: >From: Scott Feldman > >Signed-off-by: Scott Feldman Acked-by: Jiri Pirko -- 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

Re: [PATCH net-next v2 4/7] rocker: adding port ageing_time for ageing out FDB entries

2015-09-20 Thread Jiri Pirko
Sun, Sep 20, 2015 at 05:48:26PM CEST, sfel...@gmail.com wrote: >From: Scott Feldman > >Follow-up patcheset will allow user to change ageing_time, but for now >just hard-code it to a fixed value (the same value used as the default >for the bridge driver). > >Signed-off-by: Scott Feldman Acked-by:

Re: [PATCH net] openvswitch: Zero flows on allocation.

2015-09-20 Thread David Miller
From: Jesse Gross Date: Fri, 18 Sep 2015 19:06:14 -0700 > @@ -80,7 +80,7 @@ struct sw_flow *ovs_flow_alloc(void) > struct flow_stats *stats; > int node; > > - flow = kmem_cache_alloc(flow_cache, GFP_KERNEL); > + flow = kmem_cache_alloc(flow_cache, GFP_KERNEL | __GFP_ZERO); >

Re: [PATCH v4] netlink: Fix autobind race condition that leads to zero port ID

2015-09-20 Thread David Miller
From: Herbert Xu Date: Mon, 21 Sep 2015 14:06:36 +0800 > On Sun, Sep 20, 2015 at 10:55:21PM -0700, David Miller wrote: >> From: Herbert Xu >> Date: Fri, 18 Sep 2015 19:16:50 +0800 >> >> > The commit c0bb07df7d981e4091432754e30c9c720e2c0c78 ("netlink: >> > Reset portid after netlink_insert failu

Re: [PATCH v4] netlink: Fix autobind race condition that leads to zero port ID

2015-09-20 Thread Herbert Xu
On Sun, Sep 20, 2015 at 10:55:21PM -0700, David Miller wrote: > From: Herbert Xu > Date: Fri, 18 Sep 2015 19:16:50 +0800 > > > The commit c0bb07df7d981e4091432754e30c9c720e2c0c78 ("netlink: > > Reset portid after netlink_insert failure") introduced a race > > condition where if two threads try to

Re: [PATCH v4] netlink: Fix autobind race condition that leads to zero port ID

2015-09-20 Thread David Miller
From: Herbert Xu Date: Fri, 18 Sep 2015 19:16:50 +0800 > The commit c0bb07df7d981e4091432754e30c9c720e2c0c78 ("netlink: > Reset portid after netlink_insert failure") introduced a race > condition where if two threads try to autobind the same socket > one of them may end up with a zero port ID. T

Re: [PATCH] macvtap: fix TUNSETSNDBUF values > 64k

2015-09-20 Thread David Miller
From: "Michael S. Tsirkin" Date: Fri, 18 Sep 2015 13:41:09 +0300 > Upon TUNSETSNDBUF, macvtap reads the requested sndbuf size into > a local variable u. > commit 39ec7de7092b ("macvtap: fix uninitialized access on > TUNSETIFF") changed its type to u16 (which is the right thing to > do for all ot

Re: [PATCH net 1/2] iptunnel: make rx/tx bytes counters consistent

2015-09-20 Thread David Miller
From: David Miller Date: Sun, 20 Sep 2015 22:35:13 -0700 (PDT) >> After the patch: >> $ ping -c1 192.168.0.121 ; ip -s l ls dev gre1 >> PING 192.168.0.121 (192.168.0.121) 56(84) bytes of data. >> 64 bytes from 192.168.0.121: icmp_req=1 ttl=64 time=2.95 ms >> >> --- 192.168.0.121 ping statistics

Re: [PATCH net 2/2] ip6tunnel: make rx/tx bytes counters consistent

2015-09-20 Thread David Miller
From: Nicolas Dichtel Date: Fri, 18 Sep 2015 11:47:41 +0200 > Like the previous patch, which fixes ipv4 tunnels, here is the ipv6 part. > > Before the patch, the external ipv6 header + gre header were included on > tx. > > After the patch: > $ ping -c1 192.168.6.121 ; ip -s l ls dev ip6gre1 > P

Re: [PATCH net 1/2] iptunnel: make rx/tx bytes counters consistent

2015-09-20 Thread David Miller
From: Nicolas Dichtel Date: Fri, 18 Sep 2015 11:47:40 +0200 > This was already done a long time ago in > commit 64194c31a0b6 ("inet: Make tunnel RX/TX byte counters more consistent") > but tx path was broken (at least since 3.10). > > Before the patch the gre header was included on tx. > > Afte

Re: [PATCH 0/4] Netfilter fixes for net

2015-09-20 Thread David Miller
From: Pablo Neira Ayuso Date: Fri, 18 Sep 2015 11:17:52 +0200 > The following patch contains Netfilter fixes for your net tree, they are: > > 1) nf_log_unregister() should only set to NULL the logger that is being >unregistered, instead of everything else. Patch from Florian Westphal. > > 2

Re: [PATCH] tipc: reinitialize pointer after skb linearize

2015-09-20 Thread David Miller
From: Date: Fri, 18 Sep 2015 10:46:31 +0200 > From: Erik Hugne > > The msg pointer into header may change after skb linearization. > We must reinitialize it after calling skb_linearize to prevent > operating on a freed or invalid pointer. > > Signed-off-by: Erik Hugne > Reported-by: Tamás Vég

Re: [PATCH] Revert "net/phy: Add Vitesse 8641 phy ID"

2015-09-20 Thread David Miller
From: Kevin Hao Date: Fri, 18 Sep 2015 15:42:30 +0800 > This reverts commit 1298267b548a78840bd4b3e030993ff8747ca5e6. > > That commit claim that the Vitesse VSC8641 is compatible with Vitesse > 82xx. But this is not true. It seems that all the registers used > in Vitesse phy driver are not compa

Re: [net-next 0/8][pull request] Intel Wired LAN Driver Updates 2015-09-17

2015-09-20 Thread David Miller
From: Jeff Kirsher Date: Thu, 17 Sep 2015 17:17:52 -0700 > This series contains updates to i40e and i40evf. > > Shannon provides updates to i40e and i40evf to resolve an issue with the > nvmupdate utility. First renames a variable name to reduce confusion and > to differentiate it from the actu

Re: [PATCH v2] geneve: remove use of internal IP header when calling IP_ECN_decapsulate

2015-09-20 Thread David Miller
From: "John W. Linville" Date: Thu, 17 Sep 2015 16:34:54 -0400 > This seems to have been a "thinko". IP_ECN_decapsulate needs info > from both internal and external headers. > > Signed-off-by: John W. Linville > --- > v2 -- ensure the collect_md path still calls IP_ECN_decapsulate Judging by

Re: [PATCH 2/2] 8139cp: Call __cp_set_rx_mode() from cp_tx_timeout()

2015-09-20 Thread David Miller
-- 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-info.html

Re: [PATCH 1/2] 8139cp: Use dev_kfree_skb_any() instead of dev_kfree_skb() in cp_clean_rings()

2015-09-20 Thread David Miller
From: David Woodhouse Date: Fri, 18 Sep 2015 00:19:08 +0100 > This can be called from cp_tx_timeout() with interrupts disabled. > Spotted by Francois Romieu > > Signed-off-by: David Woodhouse Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a messag

Re: [PATCH 2/2] 8139cp: Call __cp_set_rx_mode() from cp_tx_timeout()

2015-09-20 Thread David Miller
From: David Woodhouse Date: Fri, 18 Sep 2015 00:21:54 +0100 > Unless we reset the RX config, on real hardware I don't seem to receive > any packets after a TX timeout. > > Signed-off-by: David Woodhouse Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body o

Re: pull-request: can-next 2015-09-17

2015-09-20 Thread David Miller
From: Marc Kleine-Budde Date: Thu, 17 Sep 2015 23:07:44 +0200 > this is a pull request of two patches for net-next/master. > > Gerhard Bertelsmann adds support for the CAN controller found on the > Allwinner A10/A20 SoC. Pulled, thanks. -- To unsubscribe from this list: send the line "unsubscri

Re: [PATCH] Replace get_seconds with ktime_get_seconds

2015-09-20 Thread David Miller
From: Ksenija Stanojevic Date: Thu, 17 Sep 2015 18:12:53 +0200 > Replace time_t type and get_seconds function which are not y2038 safe > on 32-bit systems. Function ktime_get_seconds use monotonic instead of > real time and therefore will not cause overflow. > > Signed-off-by: Ksenija Stanojevic

Re: [PATCH v4] net: Fix behaviour of unreachable, blackhole and prohibit routes

2015-09-20 Thread David Miller
From: Nikola Forró Date: Thu, 17 Sep 2015 16:01:32 +0200 > Man page of ip-route(8) says following about route types: > > unreachable - these destinations are unreachable. Packets are dis‐ > carded and the ICMP message host unreachable is generated. The local > senders get an EHOSTUNREACH

Re: [PATCH v2 0/5] net: Hisilicon Network Subsystem support

2015-09-20 Thread David Miller
From: huangdaode Date: Thu, 17 Sep 2015 14:51:45 +0800 > This is V2 of Hisilicon Network Subsystem(HNS) patchesets taking care > about LKML comments. > > Please find out the changes from the change logs. > This patchset is rebased on mainline kernel Linux 4.3-rc1 branch. > > [PATCH v2 1/5] Dev

Re: [PATCH net-next v2] xen-netfront: always set num queues if possible

2015-09-20 Thread David Miller
From: "Charles (Chas) Williams" <3ch...@gmail.com> Date: Wed, 16 Sep 2015 16:28:25 -0400 > If netfront connects with two (or more) queues and then reconnects with > only one queue it fails to delete or rewrite the multi-queue-num-queues > key and netback will try to use the wrong number of queues.

Re: [PATCH net] bna: check for dma mapping errors

2015-09-20 Thread David Miller
From: Ivan Vecera Date: Wed, 16 Sep 2015 15:27:43 +0200 > Check for DMA mapping errors, recover from them and register them in > ethtool stats like other errors. > > Cc: Rasesh Mody > Signed-off-by: Ivan Vecera Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netd

Re: [PATCH] net: dsa: actually force the speed on the CPU port

2015-09-20 Thread David Miller
From: Russell King Date: Mon, 14 Sep 2015 13:09:04 +0100 > Commit 54d792f257c6 ("net: dsa: Centralise global and port setup > code into mv88e6xxx.") merged in the 4.2 merge window broke the link > speed forcing for the CPU port of Marvell DSA switches. The original > code was: > > /* MA

Re: [PATCH] ip: find correct route for socket which is not bound to a device

2015-09-20 Thread David Miller
From: Wengang Wang Date: Mon, 21 Sep 2015 10:04:59 +0800 > Do you have any idea which won't break the existing > -- hack but can help with my case? Although I am obligated to find deficiencies and shortcomings in your submissions, I am not obligated to design or implement your changes correctl

Re: [PATCH] ip: find correct route for socket which is not bound to a device

2015-09-20 Thread Wengang Wang
Hi David, Thanks for your review on this. 在 2015年09月18日 12:20, David Miller 写道: From: Wengang Wang Date: Wed, 16 Sep 2015 14:34:15 +0800 For multi-cast, we should find valid route(thus get the meaniful pmtu) for the package on the socket which is not bound to a device(sk_bound_dev_if being 0

Re: [PATCH/RFC net-next v3 3/4] ravb: Document binding for r8a7795 SoC

2015-09-20 Thread Simon Horman
On Fri, Sep 18, 2015 at 09:27:11AM +0200, Geert Uytterhoeven wrote: > On Fri, Sep 18, 2015 at 8:03 AM, Simon Horman > wrote: > > From: Kazuya Mizuguchi > > > > This patch updates the ravb binding to support the r8a7795 SoC by: > > - Adding a compat string for the new hardware > > - Adding 25 name

[PATCH RFC 2/3] kcm: Kernel Connection Multiplexor module

2015-09-20 Thread Tom Herbert
This module implement the Kernel Connection Multiplexor. Kernel Connection Multiplexor (KCM) is a facility that provides a message based interface over TCP for generic application protocols. With KCM an application can efficiently send and receive application protocol messages over TCP using datag

[PATCH RFC 3/3] kcm: Add statistics and proc interfaces

2015-09-20 Thread Tom Herbert
This patch add various counters for KCM. These include counters for messages and bytes received or sent, as well as counters number of attached/unattached TCP sockets and other error or edge events. The statistics are exposed via a proc interface. /proc/net/kcm provdes statistics per KCM socket an

[PATCH RFC 0/3] kcm: Kernel Connection Multiplexor (KCM)

2015-09-20 Thread Tom Herbert
Kernel Connection Multiplexor (KCM) is a facility that provides a message based interface over TCP for generic application protocols. The motivation for this is based on the observation that although TCP is byte stream transport protocol with no concept of message boundaries, a common use case is t

[PATCH RFC 1/3] rcu: Add list_next_or_null_rcu

2015-09-20 Thread Tom Herbert
This is a convenienve function that returns the next enrty in abn RCU list or NULL if at the end of the list. Signed-off-by: Tom Herbert --- include/linux/rculist.h | 21 + 1 file changed, 21 insertions(+) diff --git a/include/linux/rculist.h b/include/linux/rculist.h index

[PATCH 1/2 v3] airo: fix IW_AUTH_ALG_OPEN_SYSTEM

2015-09-20 Thread Ondrej Zary
IW_AUTH_ALG_OPEN_SYSTEM is ambiguous in set_auth for WEP as wpa_supplicant uses it for both no encryption and WEP open system. Cache the last mode set (only of these two) and use it here. This allows wpa_supplicant to work with unencrypted APs. Signed-off-by: Ondrej Zary --- drivers/net/wireles

[PATCH 2/2 v3] airo: Implement netif_carrier_on/off

2015-09-20 Thread Ondrej Zary
Add calls to netif_carrier_on and netif_carrier_off Signed-off-by: Ondrej Zary --- drivers/net/wireless/airo.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 67001a8..8ae838d 100644 --- a/drivers/net/wireless/airo.c +++

Re: [PATCH v2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag

2015-09-20 Thread Aaron Conole
Resending, I accidentally dropped the list. > Eric Dumazet writes: > >> On Sun, 2015-09-20 at 15:07 -0400, Aaron Conole wrote: >>> Eric Dumazet writes: >>> >>> > On Sun, 2015-09-20 at 05:18 -0400, Aaron Conole wrote: >>> >> From: Aaron Conole >>> >> >>> > >>> > I am wondering what this is ex

Re: [PATCH v2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag

2015-09-20 Thread Eric Dumazet
On Sun, 2015-09-20 at 15:07 -0400, Aaron Conole wrote: > Eric Dumazet writes: > > > On Sun, 2015-09-20 at 05:18 -0400, Aaron Conole wrote: > >> From: Aaron Conole > >> > > > > I am wondering what this is expected to do, and how this code would > > possibly not trigger a crash. > Are you suspect

Re: [PATCH v2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag

2015-09-20 Thread Aaron Conole
Eric Dumazet writes: > On Sun, 2015-09-20 at 05:18 -0400, Aaron Conole wrote: >> From: Aaron Conole >> > > I am wondering what this is expected to do, and how this code would > possibly not trigger a crash. Are you suspecting it should crash from a possible double-lock case? On line 2125, there

Re: sr-iov and bridges (mlx4)

2015-09-20 Thread Nieścierowicz Adam
Hi Matthew, in near future i want to do exactly the same, if you make progress with SR-IOV+Bridge+OpenStack please leave here some advice. --- Pozdrawiam Adam Nieścierowicz W dniu 20.09.2015 18:21, Matthew Monaco napisał(a): On 09/20/2015 05:01 AM, Or Gerlitz wrote: On Sun, Sep 20, 2015 at 2:

Re: sr-iov and bridges (mlx4)

2015-09-20 Thread Matthew Monaco
On 09/20/2015 12:18 PM, Nieścierowicz Adam wrote: > Hi Matthew, > in near future i want to do exactly the same, if you make progress with > SR-IOV+Bridge+OpenStack please leave here some advice. > I wrote a shell script which polls (~15s) each bridge /sys/class/net/brq*, and for each bridge figur

Re: [PATCH next 00/84] ipvs: Stop guessing the network namespace

2015-09-20 Thread Eric W. Biederman
Julian Anastasov writes: > Hello, > > > I reviewed the patchset. Nice work, thanks! Welcome. > Here are some comments: > > 01/84 ipvs: Hoist computation of ipvs earlier in sctp_conn_schedule > > Simon had a fix for this problem, not sure what happened, > may be it was lost...

Re: [PATCH v2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag

2015-09-20 Thread Eric Dumazet
On Sun, 2015-09-20 at 05:18 -0400, Aaron Conole wrote: > From: Aaron Conole > > AF_UNIX sockets now return multiple skbs from recv() when MSG_PEEK flag > is set. > > This is referenced in kernel bugzilla #12323 @ > https://bugzilla.kernel.org/show_bug.cgi?id=12323 > > As described both in the B

Re: [PATCH net] openvswitch: Zero flows on allocation.

2015-09-20 Thread Eric Dumazet
On Fri, 2015-09-18 at 19:06 -0700, Jesse Gross wrote: > > Fixes: 07148121 ("openvswitch: Eliminate memset() from flow_extract.") > Signed-off-by: Jesse Gross > --- > net/openvswitch/flow_table.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/openvswitch/flow_table

Re: sr-iov and bridges (mlx4)

2015-09-20 Thread Matthew Monaco
On 09/20/2015 05:01 AM, Or Gerlitz wrote: > On Sun, Sep 20, 2015 at 2:58 AM, Matthew Monaco > wrote: > [...] >> In all cases, VMs with SR-IOV work fine, IP on the host works fine, outbound >> DHCP from the virtio VMs work fine, but inbound frames are not making it >> back to >> the VM. > [...] >>

Re: [PATCH net-next 7/7] switchdev: update documentation on FDB ageing_time

2015-09-20 Thread Scott Feldman
On Sun, Sep 20, 2015 at 7:24 AM, roopa wrote: > On 9/19/15, 7:21 PM, Scott Feldman wrote: >> >> Yes, your switch driver is in user-space so you have to use NTF_USE to >> refresh the entry since you cannot use the kernel driver model to >> call_switchdev_notifiers(SWITCHDEV_FDB_ADD, ...). Conseque

[PATCH net-next v2 6/7] bridge: don't age externally added FDB entries

2015-09-20 Thread sfeldma
From: Siva Mannem Signed-off-by: Siva Mannem Signed-off-by: Scott Feldman Acked-by: Vivien Didelot Acked-by: Jiri Pirko --- net/bridge/br_fdb.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c index 9e9875d..6663cc0 100644 --- a/net/bridge/br

[PATCH net-next v2 4/7] rocker: adding port ageing_time for ageing out FDB entries

2015-09-20 Thread sfeldma
From: Scott Feldman Follow-up patcheset will allow user to change ageing_time, but for now just hard-code it to a fixed value (the same value used as the default for the bridge driver). Signed-off-by: Scott Feldman --- drivers/net/ethernet/rocker/rocker.c |2 ++ 1 file changed, 2 insertion

[PATCH net-next v2 3/7] bridge: define some min/max/default ageing time constants

2015-09-20 Thread sfeldma
From: Scott Feldman Signed-off-by: Scott Feldman --- v2: Per Jiri review comment: add BR_DEFAULT_AGEING_TIME to defines include/linux/if_bridge.h |6 ++ net/bridge/br_device.c|2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/linux/if_bridge.h b/includ

[PATCH net-next v2 7/7] switchdev: update documentation on FDB ageing_time

2015-09-20 Thread sfeldma
From: Scott Feldman Signed-off-by: Scott Feldman Reviewed-by: Vivien Didelot Acked-by: Jiri Pirko --- Documentation/networking/switchdev.txt | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Documentation/networking/switchdev.txt b/Documentation

[PATCH net-next v2 0/7] bridge: don't age out externally added FDB entries

2015-09-20 Thread sfeldma
From: Scott Feldman v2: Per Jiri review comment: add BR_DEFAULT_AGEING_TIME to defines Siva originally proposed skipping externally added FDB entries in the bridge's FDB garbage collection func, and moving the ageing of externally added entries to the port driver/device. This broke rocker, sinc

[PATCH net-next v2 5/7] rocker: add FDB cleanup timer

2015-09-20 Thread sfeldma
From: Scott Feldman Add a timer to each rocker switch to do FDB entry cleanup by ageing out expired entries. The timer scheduling algo is copied from the bridge driver, for the most part, to keep the firing of the timer to a minimum. Signed-off-by: Scott Feldman Acked-by: Jiri Pirko --- driv

[PATCH net-next v2 1/7] rocker: track when FDB entry is touched.

2015-09-20 Thread sfeldma
From: Scott Feldman The entry is touched once when created, and touched again for each update. The touched time is used to calculate FDB entry age. Signed-off-by: Scott Feldman Acked-by: Jiri Pirko --- drivers/net/ethernet/rocker/rocker.c | 18 -- 1 file changed, 12 insertio

[PATCH net-next v2 2/7] rocker: store rocker_port in fdb key rather than pport

2015-09-20 Thread sfeldma
From: Scott Feldman We'll need more info from rocker_port than just pport when we age out fdb entries, so store rocker_port rather than pport in each fdb entry. Signed-off-by: Scott Feldman Acked-by: Jiri Pirko --- drivers/net/ethernet/rocker/rocker.c |8 1 file changed, 4 insert

Re: [PATCH next 00/84] ipvs: Stop guessing the network namespace

2015-09-20 Thread Julian Anastasov
Hello, On Sun, 20 Sep 2015, Eric W. Biederman wrote: > I am gradually working my way through the netfilter stack passing struct > down into the netfilter hooks and from the netfilter hooks and from > there down into the functions that actually care. This removes the need > for netfilter

Re: [PATCH net-next 7/7] switchdev: update documentation on FDB ageing_time

2015-09-20 Thread roopa
On 9/19/15, 7:21 PM, Scott Feldman wrote: Yes, your switch driver is in user-space so you have to use NTF_USE to refresh the entry since you cannot use the kernel driver model to call_switchdev_notifiers(SWITCHDEV_FDB_ADD, ...). Consequently, your entries are not marked with NTF_EXT_LEARNED, so

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Add port attribute when tracking counters"

2015-09-20 Thread Or Gerlitz
On Tue, Sep 15, 2015 at 1:41 PM, Alexey Kardashevskiy wrote: > Any luck with that? I am checking with the team if they can set a PPC node to try and reproduce the crash, on x86 they don't see it. Or. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

Re: sr-iov and bridges (mlx4)

2015-09-20 Thread Or Gerlitz
On Sun, Sep 20, 2015 at 2:58 AM, Matthew Monaco wrote: [...] > In all cases, VMs with SR-IOV work fine, IP on the host works fine, outbound > DHCP from the virtio VMs work fine, but inbound frames are not making it back > to > the VM. [...] > Is there a know limitation of mixing SR-IOV and bridge

[PATCH] usbnet: New driver for QinHeng CH9200 devices

2015-09-20 Thread Matthew Garrett
From: Matthew Garrett There's a bunch of cheap USB 10/100 devices based on QinHeng chipsets. The vendor driver supports the CH9100 and CH9200 devices, but the majority of the code is of the if (ch9100) {} else {} form, with the most significant difference being that CH9200 provides a real MII int

[PATCH v2] [net] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag

2015-09-20 Thread Aaron Conole
From: Aaron Conole AF_UNIX sockets now return multiple skbs from recv() when MSG_PEEK flag is set. This is referenced in kernel bugzilla #12323 @ https://bugzilla.kernel.org/show_bug.cgi?id=12323 As described both in the BZ and lkml thread @ http://lkml.org/lkml/2008/1/8/444 calling recv() with

Re: [patch net-next RFC 3/6] rocker: switch to local transaction phase enum

2015-09-20 Thread Jiri Pirko
Sat, Sep 19, 2015 at 09:25:04PM CEST, vivien.dide...@savoirfairelinux.com wrote: >Hi Jiri, > >On Sep. Saturday 19 (38) 02:29 PM, Jiri Pirko wrote: >> Since switchdev_trans_ph anum is going to be removed, and rocker code is >> way too complicated in this matter to be converted, just introduce local

Re: [PATCH 00/15] RDS: connection scalability and performance improvements

2015-09-20 Thread Sagi Grimberg
On 9/20/2015 2:04 AM, Santosh Shilimkar wrote: This series addresses RDS connection bottlenecks on massive workloads and improve the RDMA performance almost by 3X. RDS TCP also gets a small gain of about 12%. RDS is being used in massive systems with high scalability where several hundred thousa

Re: [patch net-next RFC 0/6] switchdev: introduce tranction enfra and for pre-commit split

2015-09-20 Thread Jiri Pirko
Sat, Sep 19, 2015 at 07:46:14PM CEST, sfel...@gmail.com wrote: >On Sat, Sep 19, 2015 at 5:29 AM, Jiri Pirko wrote: >> Jiri Pirko (6): >> switchdev: rename "trans" to "trans_ph". >> switchdev: introduce transaction infrastructure for attr_set and >> obj_add >> rocker: switch to local tran

Re: [patch net-next RFC 0/6] switchdev: introduce tranction enfra and for pre-commit split

2015-09-20 Thread Jiri Pirko
Sat, Sep 19, 2015 at 09:02:00PM CEST, vivien.dide...@savoirfairelinux.com wrote: >Hi Jiri, > >On Sep. Saturday 19 (38) 06:23 PM, Jiri Pirko wrote: >> Sat, Sep 19, 2015 at 03:35:51PM CEST, rami.ro...@intel.com wrote: >> >Hi, >> > >> >>introduce tranction enfra and for pre-commit split >> > >> >Typo: