[ovs-dev] [PATCH v4 6/7] dpif-netdev: Allow pin rxq and non-isolate PMD.

David Marchand david.marchand at redhat.com
Mon Jul 12 08:14:02 UTC 2021


On Thu, Jul 8, 2021 at 3:54 PM Kevin Traynor <ktraynor at redhat.com> wrote:
>
> Pinning an rxq to a PMD with pmd-rxq-affinity may be done for
> various reasons such as reserving a full PMD for an rxq, or to
> ensure that multiple rxqs from a port are handled on different PMDs.
>
> Previously pmd-rxq-affinity always isolated the PMD so no other rxqs
> could be assigned to it by OVS. There may be cases where there is
> unused cycles on those pmds and the user would like other rxqs to
> also be able to be assigned to it by OVS.
>
> Add an option to pin the rxq and non-isolate the PMD. The default
> behaviour is unchanged, which is pin and isolate the PMD.
>
> In order to pin and non-isolate:
> ovs-vsctl set Open_vSwitch . other_config:pmd-rxq-isolate=false
>
> Note this is available only with group assignment type, as pinning
> conflicts with the operation of the other rxq assignment algorithms.
>
> Signed-off-by: Kevin Traynor <ktraynor at redhat.com>

Acked-by: David Marchand <david.marchand at redhat.com>


-- 
David Marchand



More information about the dev mailing list