[ovs-dev] [PATCH v2 6/8] netdev-dpdk: retry with queue action

Simon Horman simon.horman at netronome.com
Fri Sep 8 16:48:50 UTC 2017


On Tue, Sep 05, 2017 at 05:22:59PM +0800, Yuanhan Liu wrote:
> From: Finn Christensen <fc at napatech.com>
> 
> AFAIK, most (if not all) NICs (including Mellanox and Intel) do not
> support a pure MARK action.  It's required to be used together with
> some other actions, like QUEUE.
> 
> To workaround it, retry with a queue action when first try failed.
> 
> Moreover, some Intel's NIC (say XL710) needs the QUEUE action set
> before the MARK action.
> 
> Co-authored-by: Yuanhan Liu <yliu at fridaylinux.org>
> Signed-off-by: Finn Christensen <fc at napatech.com>
> Signed-off-by: Yuanhan Liu <yliu at fridaylinux.org>

This feels a bit like the tail wagging the dog.
Is this the lowest level at which it makes sense to implement
this logic?

If so then I wonder if some sort of probing would be in order
to avoid the cost of trying to add the flow twice to hardware
where the queue is required.

...


More information about the dev mailing list