Merge branch 'bonding-per-port-priorities'
authorDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:27:59 +0000 (11:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 10:27:59 +0000 (11:27 +0100)
commit5d99ec3aaa16a71220e17a7559ea7bd1ec2f1260
treee7ba839f3382905831d3f7b5eb56785af9f0a7ec
parent7747de17f7507f26a21b17097862f0da409be111
parent0a2ff7cc8ad48a86939a91bd3457f38e59e741a1
Merge branch 'bonding-per-port-priorities'

Hangbin Liu says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>