Re: [RFC] ethdev: jump to table support

2024-09-04 Thread Alexander Kozyrev
>> +__rte_experimental >> +struct rte_flow * >> +rte_flow_async_create_by_index_with_pattern(uint16_t port_id, >> + uint32_t queue_id, >> + const struct rte_flow_op_attr >> *op_attr, >> +

Re: [RFC] ethdev: jump to table support

2024-08-22 Thread Stephen Hemminger
On Thu, 22 Aug 2024 23:27:53 +0300 Alexander Kozyrev wrote: > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice. > + * > + * Enqueue rule creation operation. > + * > + * @param port_id > + * Port identifier of Ethernet device. > + * @param queue_id > + * Flow

[RFC] ethdev: jump to table support

2024-08-22 Thread Alexander Kozyrev
Introduce new JUMP_TO_TABLE and JUMP_TO_TABLE_INDEX actions. They allow bypassing a hierarchy of groups and going directly to a specified flow table. That gives a user the flexibility to jump between different priorities in a group and eliminates the need to do a table lookup in the group hierarchy