DPDK  19.02.0
Functions
rte_pmd_dpaa.h File Reference
#include <rte_ethdev_driver.h>

Go to the source code of this file.

Functions

int rte_pmd_dpaa_set_tx_loopback (uint8_t port, uint8_t on)

Detailed Description

NXP dpaa PMD specific functions.

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

Definition in file rte_pmd_dpaa.h.

Function Documentation

int rte_pmd_dpaa_set_tx_loopback ( uint8_t  port,
uint8_t  on 
)

Enable/Disable TX loopback

Parameters
portThe port identifier of the Ethernet device.
on1 - Enable TX loopback. 0 - Disable TX loopback.
Returns
  • (0) if successful.
  • (-ENODEV) if port invalid.
  • (-EINVAL) if bad parameter.