On Wed, Apr 20, 2022 at 1:47 PM Feifei Wang <[email protected]> wrote: > > Add API for enabling direct rearm mode and for mapping RX and TX > queues. Currently, the API supports 1:1(txq : rxq) mapping. > > Suggested-by: Honnappa Nagarahalli <[email protected]> > Signed-off-by: Feifei Wang <[email protected]> > Reviewed-by: Ruifeng Wang <[email protected]> > Reviewed-by: Honnappa Nagarahalli <[email protected]> > ---
> + * > + * @return > + * - (0) if successful. > + */ > +__rte_experimental > +int rte_eth_direct_rxrearm_map(uint16_t rx_port_id, uint16_t rx_queue_id, > + uint16_t tx_port_id, uint16_t tx_queue_id); Won't existing rte_eth_hairpin_* APIs work to achieve the same?

