From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8E9B3A0C4C; Thu, 14 Oct 2021 10:37:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C1080411F7; Thu, 14 Oct 2021 10:37:20 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 33F6F411EE for ; Thu, 14 Oct 2021 10:37:19 +0200 (CEST) Received: by shelob.oktetlabs.ru (Postfix, from userid 122) id E66C67F6C8; Thu, 14 Oct 2021 11:37:18 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shelob.oktetlabs.ru X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_DISCARD, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from aros.oktetlabs.ru (aros.oktetlabs.ru [192.168.38.17]) by shelob.oktetlabs.ru (Postfix) with ESMTP id EA33B7F6F4; Thu, 14 Oct 2021 11:37:11 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru EA33B7F6F4 Authentication-Results: shelob.oktetlabs.ru/EA33B7F6F4; dkim=none; dkim-atps=neutral From: Andrew Rybchenko To: Thomas Monjalon , Ferruh Yigit , Konstantin Ananyev Cc: dev@dpdk.org Date: Thu, 14 Oct 2021 11:37:01 +0300 Message-Id: <20211014083704.2542493-3-andrew.rybchenko@oktetlabs.ru> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211014083704.2542493-1-andrew.rybchenko@oktetlabs.ru> References: <20211014083704.2542493-1-andrew.rybchenko@oktetlabs.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/5] ethdev: fix Rx/Tx spelling in just moved structures X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fixes: 9f3eb8826450 ("ethdev: hide eth dev related structures") Signed-off-by: Andrew Rybchenko --- lib/ethdev/ethdev_driver.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h index e5c7d08160..af9f379692 100644 --- a/lib/ethdev/ethdev_driver.h +++ b/lib/ethdev/ethdev_driver.h @@ -46,7 +46,7 @@ struct rte_eth_dev { eth_tx_burst_t tx_pkt_burst; /**< Pointer to PMD transmit function. */ /** Pointer to PMD transmit prepare function. */ eth_tx_prep_t tx_pkt_prepare; - /** Get the number of used RX descriptors. */ + /** Get the number of used Rx descriptors. */ eth_rx_queue_count_t rx_queue_count; /** Check the status of a Rx descriptor. */ eth_rx_descriptor_status_t rx_descriptor_status; @@ -92,10 +92,10 @@ struct rte_eth_dev_owner; struct rte_eth_dev_data { char name[RTE_ETH_NAME_MAX_LEN]; /**< Unique identifier name */ - void **rx_queues; /**< Array of pointers to RX queues. */ - void **tx_queues; /**< Array of pointers to TX queues. */ - uint16_t nb_rx_queues; /**< Number of RX queues. */ - uint16_t nb_tx_queues; /**< Number of TX queues. */ + void **rx_queues; /**< Array of pointers to Rx queues. */ + void **tx_queues; /**< Array of pointers to Tx queues. */ + uint16_t nb_rx_queues; /**< Number of Rx queues. */ + uint16_t nb_tx_queues; /**< Number of Tx queues. */ struct rte_eth_dev_sriov sriov; /**< SRIOV data */ @@ -105,10 +105,10 @@ struct rte_eth_dev_data { struct rte_eth_link dev_link; /**< Link-level information & status. */ struct rte_eth_conf dev_conf; /**< Configuration applied to device. */ uint16_t mtu; /**< Maximum Transmission Unit. */ - /** Common RX buffer size handled by all queues. */ + /** Common Rx buffer size handled by all queues. */ uint32_t min_rx_buf_size; - uint64_t rx_mbuf_alloc_failed; /**< RX ring mbuf allocation failures. */ + uint64_t rx_mbuf_alloc_failed; /**< Rx ring mbuf allocation failures. */ /** Device Ethernet link address. @see rte_eth_dev_release_port(). */ struct rte_ether_addr *mac_addrs; /** Bitmap associating MAC addresses to pools. */ @@ -121,15 +121,15 @@ struct rte_eth_dev_data { uint16_t port_id; /**< Device [external] port identifier. */ __extension__ - uint8_t /** RX promiscuous mode ON(1) / OFF(0). */ + uint8_t /** Rx promiscuous mode ON(1) / OFF(0). */ promiscuous : 1, - /** RX of scattered packets is ON(1) / OFF(0) */ + /** Rx of scattered packets is ON(1) / OFF(0) */ scattered_rx : 1, - /** RX all multicast mode ON(1) / OFF(0). */ + /** Rx all multicast mode ON(1) / OFF(0). */ all_multicast : 1, /** Device state: STARTED(1) / STOPPED(0). */ dev_started : 1, - /** RX LRO is ON(1) / OFF(0) */ + /** Rx LRO is ON(1) / OFF(0) */ lro : 1, /** * Indicates whether the device is configured. -- 2.30.2