Hello Stephen,
Did you consider that most of the hairpin_conf values could just be set
directly,
avoiding intermediate variables.
fixed.
+ diag = rte_eth_rx_hairpin_queue_setup
+ (pi, qi, nb_rxd, &hairpin_conf);
fixed.
On Wed, 30 Oct 2024 09:37:24 +0200
Gregory Etelson wrote:
> +static int
> +port_config_hairpin_rxq(portid_t pi, uint16_t peer_tx_port,
> + queueid_t rxq_head, queueid_t txq_head,
> + uint16_t qcount, uint32_t manual_bind)
> +{
> + int diag;
> + queu
Hairpin offloads packet forwarding between ports.
Packet is expected on Rx port , Rx queue and is forwarded
to Tx port Tx queue .
Testpmd implements a static hairpin configuration scheme.
The new parameter allows explicit selection of Rx and Tx ports and
queues in hairpin configuration.
The new
3 matches
Mail list logo