[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220621074919.2636622-1-liuhangbin@gmail.com>
Date: Tue, 21 Jun 2022 15:49:17 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: netdev@...r.kernel.org
Cc: Jay Vosburgh <j.vosburgh@...il.com>,
Veaceslav Falico <vfalico@...il.com>,
Andy Gospodarek <andy@...yhouse.net>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Jonathan Toppins <jtoppins@...hat.com>,
Paolo Abeni <pabeni@...hat.com>,
David Ahern <dsahern@...il.com>,
Hangbin Liu <liuhangbin@...il.com>
Subject: [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(-)
--
2.35.1
Powered by blists - more mailing lists