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

2024-02-06 Thread Etelson, Gregory
Hello Thomas, --- a/lib/ethdev/rte_flow.h +++ b/lib/ethdev/rte_flow.h #define RTE_FLOW_TABLE_SPECIALIZE_TRANSFER_VPORT_ORIG RTE_BIT32(1) +/** + * Specialize table for resize. + */ +#define RTE_FLOW_TABLE_SPECIALIZE_RESIZABLE_TABLE RTE_BIT32(2) I'm not sure about the repeating "TABLE" at the e

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

2024-02-06 Thread Thomas Monjalon
31/01/2024 10:59, Gregory Etelson: > --- a/lib/ethdev/rte_flow.h > +++ b/lib/ethdev/rte_flow.h > #define RTE_FLOW_TABLE_SPECIALIZE_TRANSFER_VPORT_ORIG RTE_BIT32(1) > +/** > + * Specialize table for resize. > + */ > +#define RTE_FLOW_TABLE_SPECIALIZE_RESIZABLE_TABLE RTE_BIT32(2) I'm not sure about

[PATCH v2] ethdev: add template table resize API

2024-01-31 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