mbox series

[PATCHv3,net-next,0/2] Bonding: add per-port priority support

Message ID 20220621074919.2636622-1-liuhangbin@gmail.com (mailing list archive)
Headers show
Series Bonding: add per-port priority support | expand

Message

Hangbin Liu June 21, 2022, 7:49 a.m. UTC
This patch set add per-port priority for bonding failover re-selection.

The first patch add a new filed for bond_opt_value so we can set slave
value easier. I will update the bond_option_queue_id_set() setting
in later patch.

The second patch add the per-port priority for bonding. I defined
it as s32 to compatible with team prio option, which also use a s32
value.

v3: store slave_dev in bond_opt_value directly to simplify setting
    values for slave.

v2: using the extant bonding options management stuff instead setting
    slave prio in bond_slave_changelink() directly.

Hangbin Liu (2):
  bonding: add slave_dev field for bond_opt_value
  Bonding: add per-port priority for failover re-selection

 Documentation/networking/bonding.rst | 11 ++++++++++
 drivers/net/bonding/bond_main.c      | 27 +++++++++++++++++++++++
 drivers/net/bonding/bond_netlink.c   | 15 +++++++++++++
 drivers/net/bonding/bond_options.c   | 33 ++++++++++++++++++++++++++++
 include/net/bond_options.h           | 11 ++++++++--
 include/net/bonding.h                |  1 +
 include/uapi/linux/if_link.h         |  1 +
 tools/include/uapi/linux/if_link.h   |  1 +
 8 files changed, 98 insertions(+), 2 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 24, 2022, 10:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 21 Jun 2022 15:49:17 +0800 you wrote:
> This patch set add per-port priority for bonding failover re-selection.
> 
> The first patch add a new filed for bond_opt_value so we can set slave
> value easier. I will update the bond_option_queue_id_set() setting
> in later patch.
> 
> The second patch add the per-port priority for bonding. I defined
> it as s32 to compatible with team prio option, which also use a s32
> value.
> 
> [...]

Here is the summary with links:
  - [PATCHv3,net-next,1/2] bonding: add slave_dev field for bond_opt_value
    https://git.kernel.org/netdev/net-next/c/f2b3b28ce523
  - [PATCHv3,net-next,2/2] Bonding: add per-port priority for failover re-selection
    https://git.kernel.org/netdev/net-next/c/0a2ff7cc8ad4

You are awesome, thank you!