[PATCH net-next 4/4] mlxsw: spectrum_acl: Rename rehash_dis trace

2019-03-30 Thread Ido Schimmel
From: Jiri Pirko The name of the trace is no longer correct, since there is no disable of rehash done. So name it "rehash_rollback_failed". Signed-off-by: Jiri Pirko Signed-off-by: Ido Schimmel --- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c | 4 ++-- include/trace/events/mlxsw.h

[PATCH net-next 3/4] mlxsw: spectrum_acl: Remove failed_rollback dead end

2019-03-30 Thread Ido Schimmel
From: Jiri Pirko Currently if a rollback ends with error, the vregion is in a zombie state until end of the existence. Instead of that, rather try to continue where rollback ended later on (after rehash interval). Signed-off-by: Jiri Pirko Signed-off-by: Ido Schimmel --- .../mellanox/mlxsw/sp

[PATCH net-next 0/4] mlxsw: spectrum_acl: Get rid of failed_rollback mechanism

2019-03-30 Thread Ido Schimmel
Jiri says: Currently if vregion rehash fails, it rolls back to the original ERP set. However, in case of unlikely rollback fail, the vregion is in a zombie state and never gets rehashed again. With the recent changes, it is possible to try to continue the rollback. Do it from the last failed ventr

[PATCH net-next 1/4] mlxsw: spectrum_acl: Remove redundant failed_rollback from migrate_start()

2019-03-30 Thread Ido Schimmel
From: Jiri Pirko The flag is set by the caller mlxsw_sp_acl_tcam_vregion_migrate() anyway, so don't set it here. Signed-off-by: Jiri Pirko Signed-off-by: Ido Schimmel --- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --

[PATCH net-next 2/4] mlxsw: spectrum_acl: Move rehash_dis trace call and err msg to vregion_migrate()

2019-03-30 Thread Ido Schimmel
From: Jiri Pirko Move the call of rehash_dis trace and the error message to vregion_migrate() next to the failed_rollback flag set. Signed-off-by: Jiri Pirko Signed-off-by: Ido Schimmel --- .../net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c | 11 +-- 1 file changed, 5 insertions(+)

Re: [PATCH net-next 3/8] ipv4: Move cached routes to fib_nh_common

2019-03-30 Thread David Miller
From: David Ahern Date: Sat, 30 Mar 2019 18:11:56 -0600 > Dave: please drop this set. I need to take another look at the > combinations and make sure I did not miss something. Ok.

Re: [PATCH net-next 3/8] ipv4: Move cached routes to fib_nh_common

2019-03-30 Thread David Ahern
On 3/29/19 6:47 PM, David Ahern wrote: > From: David Ahern > > While the cached routes, nh_pcpu_rth_output and nh_rth_input, are IPv4 > specific, a later patch wants to make them accessible for IPv6 > gateways with IPv4 routes but also allow IPv6 routes to have their own > cached entries. Move th

Re: [patch net-next 00/12] net: expose switch ID via devlink

2019-03-30 Thread Jakub Kicinski
On Sat, 30 Mar 2019 08:35:27 +0100, Jiri Pirko wrote: >> Is switchib doing forwarding? Not long ago Parav was convincing us >> that switchdev mode for IB is pretty much meaningless. Even though >> there are apparently representors for IB (judging by the recent RDMA >> patchset on netdev)... >

[PATCH net-next] ipv4: Add ability to filter LSRR or SSRR

2019-03-30 Thread Stephen Suryaputra
Support use cases where source routing is allowed but only loose or strict. Add source_router_filter netdev configuration to be used when allow_source_router is set to control which types can be processed. Signed-off-by: Stephen Suryaputra --- Documentation/networking/ip-sysctl.txt | 7 +++

Re: [PATCH net] r8169: disable default rx interrupt coalescing on RTL8168

2019-03-30 Thread Heiner Kallweit
On 30.03.2019 19:06, David Miller wrote: > From: Heiner Kallweit > Date: Sat, 30 Mar 2019 17:13:24 +0100 > >> It was reported that re-introducing ASPM, in combination with RX >> interrupt coalescing, results in significantly increased packet >> latency, see [0]. Disabling ASPM or RX interrupt coa

Re: [PATCH net] r8169: disable default rx interrupt coalescing on RTL8168

2019-03-30 Thread David Miller
From: Heiner Kallweit Date: Sat, 30 Mar 2019 17:13:24 +0100 > It was reported that re-introducing ASPM, in combination with RX > interrupt coalescing, results in significantly increased packet > latency, see [0]. Disabling ASPM or RX interrupt coalescing fixes > the issue. Therefore change the dr

[PATCH net] r8169: disable default rx interrupt coalescing on RTL8168

2019-03-30 Thread Heiner Kallweit
It was reported that re-introducing ASPM, in combination with RX interrupt coalescing, results in significantly increased packet latency, see [0]. Disabling ASPM or RX interrupt coalescing fixes the issue. Therefore change the driver's default to disable RX interrupt coalescing. Users still have th

Re: [RFC] xdp, multiple rss objects

2019-03-30 Thread William Tu
Hi Jonathan, Sorry I don't have good suggestions but I have a couple of questions. On Fri, Mar 29, 2019 at 9:17 AM Jonathan Lemon wrote: > > Background: > > With AF_XDP, packets are placed on queues which are serviced directly from > an application running in user space, which promises greatly i

Re: New xdpsock sample

2019-03-30 Thread William Tu
On Fri, Mar 29, 2019 at 1:16 AM Maxim Mikityanskiy wrote: > > > -Original Message- > > From: Björn Töpel > > Sent: 28 March, 2019 14:35 > > To: Maxim Mikityanskiy > > Cc: Magnus Karlsson ; Magnus Karlsson > > ; Björn Töpel ; Jonathan > > Lemon ; netdev@vger.kernel.org; Daniel Borkmann >

GREETINGS FROM MOHAMMAD AHMED .

2019-03-30 Thread Mohammad Ahmed
My Dear Friend. Greetings. I know this message will come to you as a surprise, My name is Mr. Mohammad Ahmed a banker in Bank of Africa Burkina Faso West Africa, Please i want to transfer an abandoned sum of 13.5 Million United States Dollars into your account, if you are interested do not hesit

[PATCH net-next] net: phy: improve genphy_read_status

2019-03-30 Thread Heiner Kallweit
This patch improves few aspects of genphy_read_status(): - Don't initialize lpagb, it's not needed. - Move initializing phydev->speed et al before the if clause. - In auto-neg case, skip populating lp_advertising if we don't have a link. This avoids quite some unnecessary MDIO reads in case

Re: [PATCH v2 4/4] ethtool: add PHY Fast Link Down tunable to man page

2019-03-30 Thread Andrew Lunn
On Fri, Mar 29, 2019 at 08:17:06PM +0100, Heiner Kallweit wrote: > Add description of new PHY tunable Fast Link Down to ethtool man page. > > v2: > - improve wording > > Signed-off-by: Heiner Kallweit Reviewed-by: Andrew Lunn Andrew

Re: [PATCHv3 net-next] sched: add dualpi2 scheduler module

2019-03-30 Thread kbuild test robot
Hi Olga, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Olga-Albisser/sched-add-dualpi2-scheduler-module/20190329-235019 config: i386-allyesconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-

Re: [PATCH mlx5-next 08/14] net/mlx5: Make mlx5_core messages independent from mdev->pdev

2019-03-30 Thread Leon Romanovsky
On Fri, Mar 29, 2019 at 03:37:58PM -0700, Saeed Mahameed wrote: > From: Huy Nguyen > > Detach mlx5_core mdev messages from pci device mdev->pdev messages and > provide a better report/debug of different mlx5 device types. > > This patch does not change any functionality. > > Signed-off-by: Huy Ngu

Re: [patch net-next 00/12] net: expose switch ID via devlink

2019-03-30 Thread Jiri Pirko
Fri, Mar 29, 2019 at 11:34:14PM CET, jakub.kicin...@netronome.com wrote: >On Fri, Mar 29, 2019 at 2:21 PM Jiri Pirko wrote: >> Fri, Mar 29, 2019 at 07:59:26PM CET, jakub.kicin...@netronome.com wrote: >> >On Fri, 29 Mar 2019 07:49:05 +0100, Jiri Pirko wrote: >> >> Thu, Mar 28, 2019 at 10:40:02PM CE