[PATCH V5 1/6] port: support packet mirroring

Thomas Monjalon thomas at monjalon.net
Wed Jun 1 15:01:18 CEST 2022


> +/**
> + * Output port packet clone and transmit
> + *
> + * @param[in] port
> + *   Output port handle.
> + * @param[in] pkt
> + *   Packet to be transmitted.

A parameter is not documented here.
Adding this while merging:

* @param[in] truncation_length
*   Packet length to be cloned.

> + */
> +typedef void
> +(*rte_swx_port_out_pkt_clone_tx_t)(void *port,
> +				   struct rte_swx_pkt *pkt,
> +				   uint32_t truncation_length);


More information about the dev mailing list