ethdev: fix Ethernet spelling

Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Andrew Rybchenko 2021-10-20 15:47:21 +03:00 committed by Ferruh Yigit
parent 09fd42275b
commit 0d9f56a857
6 changed files with 13 additions and 13 deletions

View File

@ -33,7 +33,7 @@ struct rte_eth_rxtx_callback {
/**
* @internal
* The generic data structure associated with each ethernet device.
* The generic data structure associated with each Ethernet device.
*
* Pointers to burst-oriented packet receive and transmit functions are
* located at the beginning of the structure, along with the pointer to
@ -85,7 +85,7 @@ struct rte_eth_dev_owner;
/**
* @internal
* The data part, with no function pointers, associated with each ethernet
* The data part, with no function pointers, associated with each Ethernet
* device. This structure is safe to place in shared memory to be common
* among different processes in a multi-process configuration.
*/
@ -1226,7 +1226,7 @@ struct rte_eth_dev *rte_eth_dev_allocated(const char *name);
/**
* @internal
* Allocates a new ethdev slot for an ethernet device and returns the pointer
* Allocates a new ethdev slot for an Ethernet device and returns the pointer
* to that slot for the driver to use.
*
* @param name Unique identifier name for each Ethernet device

View File

@ -59,7 +59,7 @@ eth_dev_pci_specific_init(struct rte_eth_dev *eth_dev, void *bus_device) {
/**
* @internal
* Allocates a new ethdev slot for an ethernet device and returns the pointer
* Allocates a new ethdev slot for an Ethernet device and returns the pointer
* to that slot for the driver to use.
*
* @param dev

View File

@ -24,7 +24,7 @@ profile_hook_rx_burst_cb(
/**
* Setting profiling Rx callback for a given Ethernet device.
* This function must be invoked when ethernet device is being configured.
* This function must be invoked when Ethernet device is being configured.
*
* @param port_id
* The port identifier of the Ethernet device.

View File

@ -13,7 +13,7 @@
/**
* @internal
* Allocates a new ethdev slot for an ethernet device and returns the pointer
* Allocates a new ethdev slot for an Ethernet device and returns the pointer
* to that slot for the driver to use.
*
* @param dev

View File

@ -1265,14 +1265,14 @@ eth_dev_check_lro_pkt_size(uint16_t port_id, uint32_t config_size,
/*
* Validate offloads that are requested through rte_eth_dev_configure against
* the offloads successfully set by the ethernet device.
* the offloads successfully set by the Ethernet device.
*
* @param port_id
* The port identifier of the Ethernet device.
* @param req_offloads
* The offloads that have been requested through `rte_eth_dev_configure`.
* @param set_offloads
* The offloads successfully set by the ethernet device.
* The offloads successfully set by the Ethernet device.
* @param offload_type
* The offload type i.e. Rx/Tx string.
* @param offload_name

View File

@ -117,7 +117,7 @@
* *rte_eth_dev* structure to avoid an extra indirect memory access during
* their invocation.
*
* RTE ethernet device drivers do not use interrupts for transmitting or
* RTE Ethernet device drivers do not use interrupts for transmitting or
* receiving. Instead, Ethernet drivers export Poll-Mode receive and transmit
* functions to applications.
* Both receive and transmit functions are packet-burst oriented to minimize
@ -1317,7 +1317,7 @@ struct rte_eth_conf {
struct rte_eth_txmode txmode; /**< Port Tx configuration. */
uint32_t lpbk_mode; /**< Loopback operation mode. By default the value
is 0, meaning the loopback mode is disabled.
Read the datasheet of given ethernet controller
Read the datasheet of given Ethernet controller
for details. The possible values of this field
are defined in implementation of each driver. */
struct {
@ -3381,7 +3381,7 @@ rte_eth_tx_buffer_init(struct rte_eth_dev_tx_buffer *buffer, uint16_t size);
* Configure a callback for buffered packets which cannot be sent
*
* Register a specific callback to be called when an attempt is made to send
* all packets buffered on an ethernet port, but not all packets can
* all packets buffered on an Ethernet port, but not all packets can
* successfully be sent. The callback registered here will be called only
* from calls to rte_eth_tx_buffer() and rte_eth_tx_buffer_flush() APIs.
* The default callback configured for each queue by default just frees the
@ -4747,7 +4747,7 @@ rte_eth_dev_get_name_by_port(uint16_t port_id, char *name);
/**
* Check that numbers of Rx and Tx descriptors satisfy descriptors limits from
* the ethernet device information, otherwise adjust them to boundaries.
* the Ethernet device information, otherwise adjust them to boundaries.
*
* @param port_id
* The port identifier of the Ethernet device.
@ -4817,7 +4817,7 @@ int rte_eth_dev_hairpin_capability_get(uint16_t port_id,
* @warning
* @b EXPERIMENTAL: this structure may change without prior notice.
*
* ethernet device representor ID range entry
* Ethernet device representor ID range entry
*/
struct rte_eth_representor_range {
enum rte_eth_representor_type type; /**< Representor type */