DOKK / manpages / debian 13 / dpdk-doc / rte_pmd_dpaa_set_tx_loopback.3.en
rte_pmd_dpaa.h(3) Library Functions Manual rte_pmd_dpaa.h(3)

rte_pmd_dpaa.h


int rte_pmd_dpaa_set_tx_loopback (uint16_t port, uint8_t on)

NXP dpaa PMD specific functions.

Warning

EXPERIMENTAL: this API may change, or be removed, without prior notice

Definition in file rte_pmd_dpaa.h.

Enable/Disable TX loopback

Parameters

port The port identifier of the Ethernet device.
on 1 - Enable TX loopback. 0 - Disable TX loopback.

Returns

  • (0) if successful.
  • (-ENODEV) if port invalid.
  • (-EINVAL) if bad parameter.

Generated automatically by Doxygen for DPDK from the source code.

Version 24.11.3 DPDK