drivers/net: fix exposing internal headers
[dpdk.git] / drivers / net / dpaa / rte_pmd_dpaa.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2018 NXP
3  */
4
5 #ifndef _PMD_DPAA_H_
6 #define _PMD_DPAA_H_
7
8 /**
9  * @file rte_pmd_dpaa.h
10  *
11  * NXP dpaa PMD specific functions.
12  *
13  * @warning
14  * @b EXPERIMENTAL: this API may change, or be removed, without prior notice
15  *
16  */
17
18 /**
19  * Enable/Disable TX loopback
20  *
21  * @param port
22  *    The port identifier of the Ethernet device.
23  * @param on
24  *    1 - Enable TX loopback.
25  *    0 - Disable TX loopback.
26  * @return
27  *   - (0) if successful.
28  *   - (-ENODEV) if *port* invalid.
29  *   - (-EINVAL) if bad parameter.
30  */
31 int
32 rte_pmd_dpaa_set_tx_loopback(uint8_t port, uint8_t on);
33
34 #endif /* _PMD_DPAA_H_ */