[ovs-dev] [PATCH v2 20/28] dpif-netdev: Execute flush from offload thread
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Apr 22 16:13:20 UTC 2021
On 4/12/21 5:20 PM, Gaetan Rivet wrote:
> When a port is deleted, its offloads must be flushed. The operation
> runs in the thread that initiated it. Offload data is thus accessed
> jointly by the port deletion thread(s) and the offload thread, which
> complicates the data access model.
>
> To simplify this model, as a pre-step toward introducing parallel
> offloads, execute the flush operation in the offload thread.
>
> Signed-off-by: Gaetan Rivet <grive at u256.net>
> ---
> lib/dpif-netdev.c | 126 ++++++++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 122 insertions(+), 4 deletions(-)
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list