On 8/23/2022 2:34 PM, Dumitrescu, Cristian wrote:
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Tuesday, August 23, 2022 11:23 AM
To: Dumitrescu, Cristian <[email protected]>; Singh, Aman Deep
<[email protected]>; Zhang, Yuying <[email protected]>;
Nithin Dabilpuram <[email protected]>; Kiran Kumar K
<[email protected]>; Sunil Kumar Kori <[email protected]>; Satha
Rao <[email protected]>; Singh, Jasvinder
<[email protected]>; Thomas Monjalon <[email protected]>;
Ferruh Yigit <[email protected]>; Andrew Rybchenko
<[email protected]>
Cc: [email protected]
Subject: [PATCH v2 1/1] ethdev: add protocol param to color table update
From: Sunil Kumar Kori <[email protected]>
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 <[email protected]>
---
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 <[email protected]>
Applied to dpdk-next-net/main, thanks.
'rte_eth_softnic_meter.c' changes dropped while merging since that file
is already removed in upstream.