[PATCH v3 1/1] ethdev: mtr: support input color selection
Jerin Jacob
jerinjacobk at gmail.com
Thu Apr 7 16:39:33 CEST 2022
On Thu, Apr 7, 2022 at 6:55 PM Dumitrescu, Cristian
<cristian.dumitrescu at intel.com> wrote:
>
> >
> > To summarize we have 4 attributes, Please find below the truth table
> > 1) Outer VLAN
> > 2) Outer IP
> > 3) Inner VLAN
> > 4) Inner IP
> >
> >
> > Inner IP -Inner VLAN- Outer IP-Outer VLAN
> > 0 0 0 0
> > - Not valid case
> > 0 0 0 1
> > - RTE_MTR_INPUT_COLOR_METHOD_OUTER_VLAN
> > 0 0 1 0
> > - RTE_MTR_INPUT_COLOR_METHOD_OUTER_IP
> > 0 0 1 1
> > - RTE_MTR_INPUT_COLOR_METHOD_OUTER_VLAN_OUTER_IP - If found outer
> > VLAN
> > then vlan else outer IP
> > 0 1 0 0
> > - RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN
> > 0 1 0 1
> > - RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_OUTER_VLAN - If found
> > inner
> > VLAN else outer VLAN
> > 0 1 1 0 -
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_OUTER_IP
> > 0 1 1 1 -
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_OUTER_IP_OUTER_VLAN -
> > If found
> > inner vlan then inner vlan else outer IP else outer VLAN
> > 1 0 0 0 -
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_IP
> > 1 0 0 1 -
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_IP_OUTER_VLAN
> > 1 0 1 0 -
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_IP_OUTER_IP
> > 1 0 1 1 -
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_IP_OUTER_IP_OUTER_VLAN
> > 1 1 0 0 -
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_IP_INNER_VLAN
> > 1 1 0 1 -
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_IP_INNER_VLAN_OUTER_VLAN
> > 1 1 1 0 -
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_IP_INNER_VLAN_OUTER_IP
> > 1 1 1 1 -
> >
> > RTE_MTR_INPUT_COLOR_METHOD_INNER_IP_INNER_VLAN_OUTER_IP_OUTE
> > R_VLAN
> >
> > Is this above enumeration fine, If not, Please suggest.
> >
> > In Interms of name,
> > a) We could omit explicit OUTER to reduce the length as suggestion.
> > b) or change IIP, OIP, IVLAN, OVLAN kind of scheme to reduce the name.
> >
> > Let me know the names and enumeration you prefer, I will change
> > accordingly in the next version?
> >
>
> Hi Jerin,
>
> The above table looks confusing to me, I suggest we have a meeting next week to go over it and then report back to the list?
Scheduled a meeting at 11th April - 6:30 IST
Agenda:
To discuss https://patches.dpdk.org/project/dpdk/patch/20220301085824.1041009-1-skori@marvell.com/
patch
Let me know, If time needs to change to include any interested participants.
Hi there,
Jerin Jacob is inviting you to a scheduled Zoom meeting.
Topic: Jerin Jacob Kollanukkaran's Personal Meeting Room
Join Zoom Meeting:
https://marvell.zoom.us/j/9901077677?pwd=T2lTTGMwYlc1YTQzMnR4eGRWQXR6QT09
Password: 339888
Or Telephone:
Dial(for higher quality, dial a number based on your current location):
US: +1 301 715 8592 or +1 312 626 6799 or +1 346 248 7799
or +1 646 558 8656 or +1 669 900 6833 or +1 253 215 8782 or 888 788
0099 (Toll Free) or 833 548 0276 (Toll Free) or 833 548 0282 (Toll
Free) or 877 853 5247 (Toll Free)
Meeting ID: 990 107 7677
Password: 358309
International numbers available: https://marvell.zoom.us/u/adpcCpMHYt
Or a Video Conference Room:
>From Touchpad: Tap Join Zoom button. When prompted, enter 990 107 7677
Password: 358309
For China locations, from Touchpad: Dial* then 990 107 7677
Password: 358309
>
> Regards,
> Cristian
More information about the dev
mailing list