]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ae3e5c8d770290b79bef16468bd5dd9fcb7f44e
treee7ba839f3382905831d3f7b5eb56785af9f0a7ec
parentd9f55b987d5ce4c422ef2dcb0a86906202a23291
parent60e0039b48c45262820b260a98475e1a6e1b4eed
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>