[PATCH v2 1/1] ethdev: add protocol param to color table update
Ferruh Yigit
ferruh.yigit at amd.com
Mon Oct 3 16:42:03 CEST 2022
On 8/23/2022 2:34 PM, Dumitrescu, Cristian wrote:
>
>
>> -----Original Message-----
>> From: skori at marvell.com <skori at marvell.com>
>> Sent: Tuesday, August 23, 2022 11:23 AM
>> To: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>; Singh, Aman Deep
>> <aman.deep.singh at intel.com>; Zhang, Yuying <yuying.zhang at intel.com>;
>> Nithin Dabilpuram <ndabilpuram at marvell.com>; Kiran Kumar K
>> <kirankumark at marvell.com>; Sunil Kumar Kori <skori at marvell.com>; Satha
>> Rao <skoteshwar at marvell.com>; Singh, Jasvinder
>> <jasvinder.singh at intel.com>; Thomas Monjalon <thomas at monjalon.net>;
>> Ferruh Yigit <ferruh.yigit at xilinx.com>; Andrew Rybchenko
>> <andrew.rybchenko at oktetlabs.ru>
>> Cc: dev at dpdk.org
>> Subject: [PATCH v2 1/1] ethdev: add protocol param to color table update
>>
>> From: Sunil Kumar Kori <skori at marvell.com>
>>
>> Using rte_mtr_color_in_protocol_set(), user can configure
>> combination of protocol headers, like outer_vlan and outer_ip,
>> can be enabled on given meter object.
>>
>> But rte_mtr_meter_vlan_table_update() and
>> rte_mtr_meter_dscp_table_update() do not have information that
>> which table needs to be updated corresponding to protocol header
>> i.e. inner or outer.
>>
>> Adding protocol paramreter will allow user to provide required
>> protocol information so that corresponding inner or outer table
>> can be updated corresponding to protocol header.
>>
>> If user wishes to configure both inner and outer table then
>> API must be called twice with correct protocol information.
>>
>> Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
>> ---
>> v1..v2:
>> - Rebase on ToT of dpdk-next-net-mrvl/for-next-net branch.
>> - Remove "Depends On:" tag as dependent patch is merged.
>>
>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
>
Applied to dpdk-next-net/main, thanks.
'rte_eth_softnic_meter.c' changes dropped while merging since that file
is already removed in upstream.
More information about the dev
mailing list