[dpdk-dev] [PATCH] net/bonding: fix offloading configuration

Ferruh Yigit ferruh.yigit at intel.com
Fri Jan 14 13:13:57 CET 2022


On 11/9/2021 7:57 AM, Min Hu (Connor) wrote:
> From: Chengchang Tang <tangchengchang at huawei.com>
> 
> Currently, part offloadings of the bonding device will not take effect
> by using dev_configure(). Because the related configuration will not be
> delivered to the slave devices in this way.
> 
> The offloading capability of the bonding device is the intersection of
> the capability of all slave devices. Based on this, the following functions
> are added to the bonding driver:
> 1. If a Tx offloading is within the capability of the bonding device (i.e,
> all the slave devices support this Tx offloading), the enabling status of
> the offloading of all slave devices depends on the configuration of the
> bonding device.
> 
> 2. For the Tx offloading that is not within the Tx offloading capability
> of the bonding device, the enabling status of the offloading on the slave
> devices is irrelevant to the bonding device configuration. And it depends
> on the original configuration of the slave devices.
> 
> Fixes: e8b3e1a9b1bb ("net/bonding: switch to new offloading API")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Chengchang Tang <tangchengchang at huawei.com>
> Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>


Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list