01eb53eefe
Library folder name and output library name are same except a few flaws including librte_ether. This library is network device abstraction layer, the name "ethdev" fits better than "ether", and library & header files already named as ethdev. Also there is a rte_ether.h in the net library which can cause confusion. Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
28 lines
651 B
C
28 lines
651 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2010-2017 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _RTE_ETHDEV_PROFILE_H_
|
|
#define _RTE_ETHDEV_PROFILE_H_
|
|
|
|
#include "rte_ethdev.h"
|
|
|
|
/**
|
|
* Initialization of profiling RX queues for the Ethernet device.
|
|
* Implementation of this function depends on chosen profiling method,
|
|
* defined in configs.
|
|
*
|
|
* @param port_id
|
|
* The port identifier of the Ethernet device.
|
|
* @param dev
|
|
* Pointer to struct rte_eth_dev corresponding to given port_id.
|
|
*
|
|
* @return
|
|
* - On success, zero.
|
|
* - On failure, a negative value.
|
|
*/
|
|
int
|
|
__rte_eth_profile_rx_init(uint16_t port_id, struct rte_eth_dev *dev);
|
|
|
|
#endif
|