Skip to content

Bonding: add per-port priority support

Hangbin Liu netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied 2/2
  2. v11 patch 12 repliesSuperseded

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bonding: add slave_dev field for bond_opt_valueinclude/net/bond_options.h+8 -21 replyApplied
2/2Bonding: add per-port priority for failover re-selectionDocumentation/networking/bonding.rst drivers/net/bonding/bond_main.c drivers/net/bonding/bond_netlink.c +5 more+90 -01 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJonathan Toppins
SeriesA-b
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.35.1