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
19 * Enable/Disable TX loopback
22 * The port identifier of the Ethernet device.
24 * 1 - Enable TX loopback.
25 * 0 - Disable TX loopback.
27 * - (0) if successful.
28 * - (-ENODEV) if *port* invalid.
29 * - (-EINVAL) if bad parameter.
32 rte_pmd_dpaa_set_tx_loopback(uint16_t port, uint8_t on);
34 #endif /* _PMD_DPAA_H_ */