Re: [PATCH v5] ethdev: add template table resize API

2024-02-12 Thread Ferruh Yigit
On 2/12/2024 3:01 PM, Etelson, Gregory wrote: > Hello Ferruh, > > >> >> I have two more clarification requests, can you please check them below? >> >> >> If one ore more flow failed to update, for any reason, should user retry >> the update (in that case we need a retry error maybe) and can user

Re: [PATCH v5] ethdev: add template table resize API

2024-02-12 Thread Etelson, Gregory
Hello Ferruh, I have two more clarification requests, can you please check them below? If one ore more flow failed to update, for any reason, should user retry the update (in that case we need a retry error maybe) and can user still call 'rte_flow_template_table_resize_complete()' (for possi

Re: [PATCH v5] ethdev: add template table resize API

2024-02-12 Thread Etelson, Gregory
Hello Thomas, + + # 1. Create resizable template table for 1 flow. + testpmd> flow pattern_template 0 create ingress pattern_template_id 3 +template eth / ipv4 / udp src mask 0x / end + testpmd> flow actions_template 0 create ingress actions_template_id 7 +

Re: [PATCH v5] ethdev: add template table resize API

2024-02-12 Thread Ferruh Yigit
On 2/11/2024 9:30 AM, Gregory Etelson wrote: > Template table creation API sets table flows capacity. > If application needs more flows then the table was designed for, > the following procedures must be completed: > 1. Create a new template table with larger flows capacity. > 2. Re-create existing

Re: [PATCH v5] ethdev: add template table resize API

2024-02-12 Thread Thomas Monjalon
11/02/2024 10:30, Gregory Etelson: > --- a/doc/guides/howto/rte_flow.rst > +++ b/doc/guides/howto/rte_flow.rst > +Template API resizable table > + > + > +Description > +~~~ > + > +A guide to the resizable template table API. This sentence is useless. Let's keep

[PATCH v5] ethdev: add template table resize API

2024-02-11 Thread Gregory Etelson
Template table creation API sets table flows capacity. If application needs more flows then the table was designed for, the following procedures must be completed: 1. Create a new template table with larger flows capacity. 2. Re-create existing flows in the new table and delete flows from the or