1 /* SPDX-License-Identifier: BSD-3-Clause
11 * NXP dpaa PMD specific functions.
14 * @b EXPERIMENTAL: this API may change, or be removed, without prior notice
18 #include <rte_ethdev.h>
22 * @b EXPERIMENTAL: this API may change, or be removed, without prior notice
24 * Enable/Disable TX loopback
27 * The port identifier of the Ethernet device.
29 * 1 - Enable TX loopback.
30 * 0 - Disable TX loopback.
32 * - (0) if successful.
33 * - (-ENODEV) if *port* invalid.
34 * - (-EINVAL) if bad parameter.
37 rte_pmd_dpaa_set_tx_loopback(uint8_t port, uint8_t on);
39 #endif /* _PMD_DPAA_H_ */