1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2018 Intel Corporation
5 #ifndef _RTE_ETHDEV_PROFILE_H_
6 #define _RTE_ETHDEV_PROFILE_H_
8 #include "rte_ethdev.h"
11 * Initialization of the Ethernet device profiling.
12 * Implementation of this function depends on chosen profiling method,
16 * The port identifier of the Ethernet device.
18 * Pointer to struct rte_eth_dev corresponding to given port_id.
22 * - On failure, a negative value.
25 __rte_eth_dev_profile_init(uint16_t port_id, struct rte_eth_dev *dev);