Re: [net-next 01/14] ethtool: Add helper routines to pass vf to rx_flow_spec

2015-05-28 Thread John Fastabend
On 05/28/2015 06:18 AM, Or Gerlitz wrote: On Thu, May 28, 2015 at 2:25 PM, Jeff Kirsher jeffrey.t.kirs...@intel.com wrote: From: John Fastabend john.r.fastab...@intel.com The ring_cookie is 64 bits wide which is much larger than can be used for actual queue index values. So provide some helper

Re: Drops in qdisc on ifb interface

2015-05-28 Thread Eric Dumazet
On Thu, 2015-05-28 at 10:38 -0400, jsulli...@opensourcedevel.com wrote: This has been an interesting exercise - thank you for your help along the way, Eric. IFB did not seem to bottleneck in our initial testing but there was really only one flow of traffic during the test at around 1 Gbps.

Re: [PATCH] sctp: fix ASCONF list handling

2015-05-28 Thread Marcelo Ricardo Leitner
On Thu, May 28, 2015 at 10:27:32AM -0300, Marcelo Ricardo Leitner wrote: On Thu, May 28, 2015 at 08:17:27AM -0300, Marcelo Ricardo Leitner wrote: On Thu, May 28, 2015 at 06:15:11AM -0400, Neil Horman wrote: On Wed, May 27, 2015 at 09:52:17PM -0300, mleit...@redhat.com wrote: From:

Re: iproute2: missing patches in branch net-next

2015-05-28 Thread Stephen Hemminger
On Thu, 28 May 2015 13:31:08 +0200 Nicolas Dichtel nicolas.dich...@6wind.com wrote: Hi Stephen, some patches that were recently included in iproute2 branch net-next are not visible anymore on kernel.org. It seems that the branch has been overridden (note the forced update when I've fetched

Re: [PATCH v4 for-next 00/12] Add network namespace support in the RDMA-CM

2015-05-28 Thread Or Gerlitz
On 5/28/2015 5:07 PM, Doug Ledford wrote: You would think that, but sometimes important information comes from totally different places. See mine and Jason's comments back and forth in the SRIOV thread started by Or. Long story short: ip link add dev ib0 name ib0.1 type ipoib is totally

Re: Drops in qdisc on ifb interface

2015-05-28 Thread Eric Dumazet
On Thu, 2015-05-28 at 08:45 -0700, John Fastabend wrote: If your experimenting one thing you could do is create many ifb devices and load balance across them from tc. I'm not sure if this would be practical in your setup or not but might be worth trying. One thing I've been debating adding

Re: Drops in qdisc on ifb interface

2015-05-28 Thread jsulli...@opensourcedevel.com
On May 28, 2015 at 11:45 AM John Fastabend john.fastab...@gmail.com wrote: On 05/28/2015 08:30 AM, jsulli...@opensourcedevel.com wrote: On May 28, 2015 at 11:14 AM Eric Dumazet eric.duma...@gmail.com wrote: On Thu, 2015-05-28 at 10:38 -0400, jsulli...@opensourcedevel.com wrote:

Re: iproute2: missing patches in branch net-next

2015-05-28 Thread Daniel Borkmann
On 05/28/2015 06:19 PM, Stephen Hemminger wrote: On Thu, 28 May 2015 13:31:08 +0200 Nicolas Dichtel nicolas.dich...@6wind.com wrote: Hi Stephen, some patches that were recently included in iproute2 branch net-next are not visible anymore on kernel.org. It seems that the branch has been

Re: Drops in qdisc on ifb interface

2015-05-28 Thread jsulli...@opensourcedevel.com
On May 28, 2015 at 12:26 PM Eric Dumazet eric.duma...@gmail.com wrote: On Thu, 2015-05-28 at 08:45 -0700, John Fastabend wrote: If your experimenting one thing you could do is create many ifb devices and load balance across them from tc. I'm not sure if this would be practical in your

linux-next: build failure after merge of most of the trees

2015-05-28 Thread Stephen Rothwell
Hi all, After merging the all the trees, today's linux-next build (powerpc allyesconfig) failed like this: drivers/vhost/scsi.c: In function 'vhost_scsi_open': drivers/vhost/scsi.c:1422:3: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration] vs =

Re: Drops in qdisc on ifb interface

2015-05-28 Thread John Fastabend
On 05/28/2015 08:30 AM, jsulli...@opensourcedevel.com wrote: On May 28, 2015 at 11:14 AM Eric Dumazet eric.duma...@gmail.com wrote: On Thu, 2015-05-28 at 10:38 -0400, jsulli...@opensourcedevel.com wrote: snip IFB has still a long way before being efficient. In the mean time, you could

Re: Drops in qdisc on ifb interface

2015-05-28 Thread Eric Dumazet
On Thu, 2015-05-28 at 11:30 -0400, jsulli...@opensourcedevel.com wrote: Interesting but this is destined to become a critical production system for a high profile, internationally recognized product so I am hesitant to patch. I doubt I can convince my company to do it but is improving IFB the

Re: [PATCH/RFC net-next] rocker: remove rocker parameter from functions that have rocker_port parameter

2015-05-28 Thread Scott Feldman
On Thu, May 28, 2015 at 2:18 AM, David Laight david.lai...@aculab.com wrote: From: Simon Horman Sent: 28 May 2015 04:23 The rocker (switch) of a rocker_port may be trivially obtained from the latter it seems cleaner not to pass the former to a function when the latter is being passed anyway.

Re: [PATCH] net: thunderx: add 64-bit dependency

2015-05-28 Thread David Daney
On 05/28/2015 07:00 AM, Arnd Bergmann wrote: The thunderx ethernet driver fails to build on architectures that do not have an atomic readq() and writeq() function for 64-bit PCI bus access: drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function 'bgx_reg_read':

Re: [PATCH net v2] switchdev: don't abort hardware ipv4 fib offload on failure to program fib entry in hardware

2015-05-28 Thread John Fastabend
On 05/28/2015 08:40 AM, Scott Feldman wrote: On Thu, May 28, 2015 at 2:42 AM, Jiri Pirko j...@resnulli.us wrote: Mon, May 18, 2015 at 10:19:16PM CEST, da...@davemloft.net wrote: From: Roopa Prabhu ro...@cumulusnetworks.com Date: Sun, 17 May 2015 16:42:05 -0700 On most systems where you can

Re: Lost network connectivity in 4.0.x

2015-05-28 Thread Ken Moffat
On Thu, May 28, 2015 at 03:41:49PM +0100, Ken Moffat wrote: On Wed, May 27, 2015 at 10:53:00PM -0700, Cong Wang wrote: (Please always Cc netdev for networking bugs.) Sorry, didn't spot that. But anyway For example: 1) What is your network setup? iptables? routes? etc. I'm using

Re: iproute2: missing patches in branch net-next

2015-05-28 Thread Stephen Hemminger
On Thu, 28 May 2015 13:31:08 +0200 Nicolas Dichtel nicolas.dich...@6wind.com wrote: Hi Stephen, some patches that were recently included in iproute2 branch net-next are not visible anymore on kernel.org. It seems that the branch has been overridden (note the forced update when I've fetched

Re: Drops in qdisc on ifb interface

2015-05-28 Thread jsulli...@opensourcedevel.com
On May 28, 2015 at 11:14 AM Eric Dumazet eric.duma...@gmail.com wrote: On Thu, 2015-05-28 at 10:38 -0400, jsulli...@opensourcedevel.com wrote: snip IFB has still a long way before being efficient. In the mean time, you could play with following patch, and setup

Re: [PATCH net v2] switchdev: don't abort hardware ipv4 fib offload on failure to program fib entry in hardware

2015-05-28 Thread Scott Feldman
On Thu, May 28, 2015 at 2:42 AM, Jiri Pirko j...@resnulli.us wrote: Mon, May 18, 2015 at 10:19:16PM CEST, da...@davemloft.net wrote: From: Roopa Prabhu ro...@cumulusnetworks.com Date: Sun, 17 May 2015 16:42:05 -0700 On most systems where you can offload routes to hardware, doing routing in

Re: [PATCH v4 for-next 00/12] Add network namespace support in the RDMA-CM

2015-05-28 Thread Jason Gunthorpe
On Thu, May 28, 2015 at 04:22:36PM +0300, Haggai Eran wrote: wouldn't care if they share the QP number namespace, etc. RDMA CM ports are different because they are chosen by the applications, but they map directly to the network namespace, so they don't require their own namespace. Different

Re: linux-next: build failure after merge of most of the trees

2015-05-28 Thread Eric Dumazet
On Thu, 2015-05-28 at 22:06 +1000, Stephen Rothwell wrote: Hi all, After merging the all the trees, today's linux-next build (powerpc allyesconfig) failed like this: drivers/vhost/scsi.c: In function 'vhost_scsi_open': drivers/vhost/scsi.c:1422:3: error: implicit declaration of function

[PATCH net-next 2/4] net/mlx4: Add EQ pool

2015-05-28 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com Previously, mlx4_en allocated EQs and used them exclusively. This affected RoCE performance, as applications which are events sensitive were limited to use only the legacy EQs. Change that by introducing an EQ pool. This pool is managed by mlx4_core. EQs are

[PATCH net-next 4/4] net/mlx4_core: Make sure there are no pending async events when freeing CQ

2015-05-28 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com When freeing a CQ, we need to make sure there are no asynchronous events (on the ASYNC EQ) that could relate to this CQ before freeing it. This is done by introducing synchronize_irq. Signed-off-by: Matan Barak mat...@mellanox.com Signed-off-by: Ido Shamay

[PATCH net-next 1/4] net/mlx4_core: Demote simple multicast and broadcast flow steering rules

2015-05-28 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com In SRIOV, when simple (i.e - Ethernet L2 only) flow steering rules are created, always create them at MLX4_DOMAIN_NIC priority (instead of the real priority the function created them at). This is done in order to let multiple functions add broadcast/multicast

[PATCH net-next 0/4] mlx4 driver update, May 28, 2015

2015-05-28 Thread Or Gerlitz
Hi Dave, The 1st patch fixes an issue with a function running DPDK overriding broadcast steering rules set by other functions. Please add this one to your -stable queue. The rest of the series from Matan and Ido deals with scaling the number of IRQs that serve RoCE applications to be in par

Re: [PATCH net v2] switchdev: don't abort hardware ipv4 fib offload on failure to program fib entry in hardware

2015-05-28 Thread John Fastabend
On 05/28/2015 02:42 AM, Jiri Pirko wrote: Mon, May 18, 2015 at 10:19:16PM CEST, da...@davemloft.net wrote: From: Roopa Prabhu ro...@cumulusnetworks.com Date: Sun, 17 May 2015 16:42:05 -0700 On most systems where you can offload routes to hardware, doing routing in software is not an option

[PATCH net-next 3/4] net/mlx4_core: Move affinity hints to mlx4_core ownership

2015-05-28 Thread Or Gerlitz
From: Ido Shamay i...@mellanox.com Now that EQs management is in the sole responsibility of mlx4_core, the IRQ affinity hints configuration should be in its hands as well. request_irq is called only once by the first consumer (maybe mlx4_ib), so mlx4_en passes the affinity mask too late. We also

Re: [PATCH v4 for-next 04/12] IB/ipoib: Return IPoIB devices matching connection parameters

2015-05-28 Thread Jason Gunthorpe
On Thu, May 28, 2015 at 02:51:51PM +0300, Haggai Eran wrote: But RDMA CM doesn't provide the QPN. So when RDMA CM searches the netdevs for an address it cannot *uniquely* map to a IPoIB interface. This is technically true, but if someone configures their system that way, they will also

Re: [PATCH net] bridge: fix br_multicast_query_expired() bug

2015-05-28 Thread Linus Lüssing
On Thu, May 28, 2015 at 04:42:54AM -0700, Eric Dumazet wrote: Intent of the code was to clear port field, not the pointer to querier. Acked-by: Linus Lüssing linus.luess...@c0d3.blue -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to

<    1   2   3