[PATCH v2 1/2] net/bonding: introduce direct link bonding mode
lihuisong (C)
lihuisong at huawei.com
Fri Dec 13 03:37:17 CET 2024
在 2024/12/13 2:07, Stephen Hemminger 写道:
> On Fri, 12 Apr 2024 14:27:39 +0200
> Kamil Vojanec <vojanec at cesnet.cz> wrote:
>
>> This patch adds a new bonding mode: 'direct'. The purpose of this mode
>> is to redirect output packets to the same member port on which they were
>> received. In case the requested port is not among the member ports,
>> round robin TX mode is used as a fallback.
>>
>> Signed-off-by: Kamil Vojanec <vojanec at cesnet.cz>
>> ---
> This patch appears stuck. It is introducing a special new mode which really
> doesn't exactly fit the normal use of a bonding type device.
I also reviewed this patch before.
The 'direct' mode is just to let the packets from one port send out at
the same port.
It doesn't seem to have anything to do with bonding, because application
also can do it.
In addition, it is not a well-known bonding mode and has no plan on
Linux kernel.
If it is needed, I agree with Stephen's proposal that using transmit
policy callback.
>
> Could the bonding maintainers review please.
> .
More information about the dev
mailing list