[dpdk-dev] [RFC v2 1/5] ether: add flow action to redirect packet in a switch domain

Alex Rosenbaum rosenbaumalex at gmail.com
Fri Dec 22 23:10:08 CET 2017


+Adrien

On Fri, Dec 22, 2017 at 10:20 AM, Zhang, Qi Z <qi.z.zhang at intel.com> wrote:
>> On Thu, Dec 21, 2017 at 4:35 AM, Qi Zhang <qi.z.zhang at intel.com> wrote:
>> > Add action RTE_FLOW_ACTION_TYPE_SWITCH_PORT, it can be used to
>> > redirect

>> A verbs would be better suited for an ACTION_TYPE. while ".._TYPE_PORT" is
>> a nous.
>> Probably ".._TYPE_REDIRECT" would better fit here.
>
> I agree it will be better to use verbs for action, so we can have TYPE_REDIRECT_TO_PORT/VF/PF...,
> But since we already have ACTION_TYPE_VF, ACTION_TYPE_PF ...
> Maybe it's better just to follow the same pattern?

hemmm, missed these ACTION_TYPE_VF/PF...
Adrien, what do you think about these naming conventions?


More information about the dev mailing list