mbox series

[net-next,0/6] mlxsw: Align multipath hash parameters with kernel's

Message ID 20171102161410.12171-1-jiri@resnulli.us
Headers show
Series mlxsw: Align multipath hash parameters with kernel's | expand

Message

Jiri Pirko Nov. 2, 2017, 4:14 p.m. UTC
From: Jiri Pirko <jiri@mellanox.com>

Ido says:

This set makes sure the device is using the same parameters as the
kernel when it computes the multipath hash during IP forwarding.

First patch adds a new netevent to let interested listeners know that
the multipath hash policy has changed.

Next two patches do small and non-functional changes in the mlxsw
driver.

Last patches configure the multipath hash policy upon driver
initialization and as a response to netevents.

Ido Schimmel (6):
  ipv4: Send a netevent whenever multipath hash policy is changed
  mlxsw: spectrum_router: Embed netevent notifier block in router struct
  mlxsw: spectrum_router: Properly name netevent work struct
  mlxsw: reg: Add Router ECMP Configuration Register Version 2
  mlxsw: spectrum_router: Align multipath hash parameters with kernel's
  mlxsw: spectrum_router: Update multipath hash parameters upon
    netevents

 drivers/net/ethernet/mellanox/mlxsw/reg.h          | 132 ++++++++++++++++++++
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     |   7 --
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     |   2 -
 .../net/ethernet/mellanox/mlxsw/spectrum_router.c  | 133 ++++++++++++++++++---
 include/net/netevent.h                             |   1 +
 net/ipv4/sysctl_net_ipv4.c                         |  20 +++-
 6 files changed, 270 insertions(+), 25 deletions(-)

Comments

David Miller Nov. 3, 2017, 6:41 a.m. UTC | #1
From: Jiri Pirko <jiri@resnulli.us>
Date: Thu,  2 Nov 2017 17:14:04 +0100

> From: Jiri Pirko <jiri@mellanox.com>
> 
> Ido says:
> 
> This set makes sure the device is using the same parameters as the
> kernel when it computes the multipath hash during IP forwarding.
> 
> First patch adds a new netevent to let interested listeners know that
> the multipath hash policy has changed.
> 
> Next two patches do small and non-functional changes in the mlxsw
> driver.
> 
> Last patches configure the multipath hash policy upon driver
> initialization and as a response to netevents.

Series applied, thanks everyone.