[ovs-dev] [PATCH v2 17/28] dpif-netdev: Introduce tagged union of offload requests

Maxime Coquelin maxime.coquelin at redhat.com
Thu Apr 22 15:07:13 UTC 2021



On 4/12/21 5:20 PM, Gaetan Rivet wrote:
> Offload requests are currently only supporting flow offloads.
> As a pre-step before supporting an offload flush request,
> modify the layout of an offload request item, to become a tagged union.
> 
> Future offload types won't be forced to re-use the full flow offload
> structure, which consumes a lot of memory.
> 
> Signed-off-by: Gaetan Rivet <grive at u256.net>
> ---
>  lib/dpif-netdev.c | 128 ++++++++++++++++++++++++++++++++--------------
>  1 file changed, 89 insertions(+), 39 deletions(-)

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list