From: Chengchang Tang <tangchengchang@huawei.com> To: <dev@dpdk.org> Cc: <linuxarm@huawei.com>, <thomas@monjalon.net>, <arybchenko@solarflare.com>, <ferruh.yigit@intel.com>, <wenzhuo.lu@intel.com>, <maryam.tahhan@intel.com> Subject: [dpdk-dev] [PATCH v4 0/5] add Rx buffer size for rxq info structure Date: Sat, 5 Sep 2020 17:07:29 +0800 Message-ID: <1599296854-56620-1-git-send-email-tangchengchang@huawei.com> (raw) In-Reply-To: <1592483709-7076-1-git-send-email-tangchengchang@huawei.com> In common practice, PMD configure the Rx buffer size which indicate the buffer length could be used for HW in receiving packets according to the data room size of the object in mempool. But in fact, the final value is related to the specifications of HW, and its values will affect the number of fragments in receiving packets when scatter is enabled. By the way, some PMDs may force to enable scatter when the MTU is bigger than the HW Rx buffer size. At present, we have no way to expose relevant information to upper layer users. So, add a field named rx_buf_size in rte_eth_rxq_info to indicate the buffer size used in receiving packets for HW. And this field is optional, so there is no need to forcibly update all PMDs. This patchset also update testpmd, proc-info tools and add hns3 PMD implementation. v4: - remove deprecation notice once changes applied Chengchang Tang (5): ethdev: add a field for rxq info structure app/testpmd: add Rx buffer size display in queue info query app/procinfo: add Rx buffer size to --show-port net/hns3: add Rx buffer size to Rx qinfo query doc: remove rxq info structure deprecation notice app/proc-info/main.c | 2 ++ app/test-pmd/config.c | 1 + doc/guides/rel_notes/deprecation.rst | 5 ----- drivers/net/hns3/hns3_rxtx.c | 2 ++ lib/librte_ethdev/rte_ethdev.h | 2 ++ 5 files changed, 7 insertions(+), 5 deletions(-) -- 2.7.4
next prev parent reply other threads:[~2020-09-05 9:10 UTC|newest] Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-18 12:35 [dpdk-dev] [RFC] ethdev: add a field for rte_eth_rxq_info Chengchang Tang 2020-08-26 1:57 ` [dpdk-dev] [PATCH 0/3] add RX buffer size " Chengchang Tang 2020-08-26 1:57 ` [dpdk-dev] [PATCH 1/3] ethdev: add a field " Chengchang Tang 2020-08-26 1:57 ` [dpdk-dev] [PATCH 2/3] app/testpmd: Add RX buffer size display in queue info querry Chengchang Tang 2020-08-26 1:57 ` [dpdk-dev] [PATCH 3/3] net/hns3: add RX buffer size to rx qinfo querry Chengchang Tang 2020-08-26 7:12 ` [dpdk-dev] [PATCH v2 0/3] add Rx buffer size for rxq info structure Chengchang Tang 2020-08-26 7:12 ` [dpdk-dev] [PATCH v2 1/3] ethdev: add a field " Chengchang Tang 2020-08-26 7:29 ` Wei Hu (Xavier) 2020-08-26 7:12 ` [dpdk-dev] [PATCH v2 2/3] app/testpmd: add Rx buffer size display in queue info query Chengchang Tang 2020-08-26 7:28 ` Wei Hu (Xavier) 2020-08-26 14:42 ` Stephen Hemminger 2020-08-29 6:48 ` Chengchang Tang 2020-08-26 7:12 ` [dpdk-dev] [PATCH v2 3/3] net/hns3: add Rx buffer size to Rx qinfo query Chengchang Tang 2020-08-26 7:20 ` Wei Hu (Xavier) 2020-08-29 7:13 ` [dpdk-dev] [PATCH v3 0/4] add Rx buffer size for rxq info structure Chengchang Tang 2020-08-29 7:13 ` [dpdk-dev] [PATCH v3 1/4] ethdev: add a field " Chengchang Tang 2020-09-01 15:33 ` Matan Azrad 2020-09-02 3:52 ` Chengchang Tang 2020-09-02 7:19 ` Matan Azrad 2020-09-02 10:01 ` Chengchang Tang 2020-09-02 10:30 ` Matan Azrad 2020-09-03 1:48 ` Chengchang Tang 2020-09-06 13:45 ` Matan Azrad 2020-09-07 7:47 ` Chengchang Tang 2020-09-07 8:28 ` Matan Azrad 2020-09-07 12:06 ` Chengchang Tang 2020-09-07 13:02 ` Matan Azrad 2020-09-03 15:00 ` Ferruh Yigit 2020-09-03 14:55 ` Ferruh Yigit 2020-09-03 15:01 ` Ferruh Yigit 2020-09-04 1:43 ` Chengchang Tang 2020-09-03 15:35 ` Bruce Richardson 2020-09-04 14:25 ` Ferruh Yigit 2020-09-04 15:14 ` Bruce Richardson 2020-09-04 15:30 ` Bruce Richardson 2020-08-29 7:13 ` [dpdk-dev] [PATCH v3 2/4] app/testpmd: add Rx buffer size display in queue info query Chengchang Tang 2020-08-29 7:13 ` [dpdk-dev] [PATCH v3 3/4] app/procinfo: add Rx buffer size to --show-port Chengchang Tang 2020-08-29 7:13 ` [dpdk-dev] [PATCH v3 4/4] net/hns3: add Rx buffer size to Rx qinfo query Chengchang Tang 2020-09-05 9:07 ` Chengchang Tang [this message] 2020-09-05 9:07 ` [dpdk-dev] [PATCH v4 1/5] ethdev: add a field for rxq info structure Chengchang Tang 2020-09-05 16:50 ` Stephen Hemminger 2020-09-05 9:07 ` [dpdk-dev] [PATCH v4 2/5] app/testpmd: add Rx buffer size display in queue info query Chengchang Tang 2020-09-18 8:54 ` Ferruh Yigit 2020-09-20 8:47 ` Chengchang Tang 2020-09-05 9:07 ` [dpdk-dev] [PATCH v4 3/5] app/procinfo: add Rx buffer size to --show-port Chengchang Tang 2020-09-05 16:59 ` Stephen Hemminger 2020-09-07 9:14 ` Chengchang Tang 2020-09-18 22:11 ` Stephen Hemminger 2020-09-21 2:06 ` Chengchang Tang 2020-09-21 11:26 ` Ferruh Yigit 2020-09-05 9:07 ` [dpdk-dev] [PATCH v4 4/5] net/hns3: add Rx buffer size to Rx qinfo query Chengchang Tang 2020-09-05 9:07 ` [dpdk-dev] [PATCH v4 5/5] doc: remove rxq info structure deprecation notice Chengchang Tang 2020-09-05 16:33 ` Thomas Monjalon 2020-09-07 9:12 ` Chengchang Tang 2020-09-21 13:22 ` [dpdk-dev] [PATCH v5 0/2] add Rx buffer size for rxq info structure Chengchang Tang 2020-09-21 13:22 ` [dpdk-dev] [PATCH v5 1/2] ethdev: add a field " Chengchang Tang 2020-09-21 14:18 ` Ferruh Yigit 2020-09-21 13:22 ` [dpdk-dev] [PATCH v5 2/2] net/hns3: add Rx buffer size to Rx qinfo query Chengchang Tang 2020-09-21 14:19 ` [dpdk-dev] [PATCH v5 0/2] add Rx buffer size for rxq info structure Ferruh Yigit
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1599296854-56620-1-git-send-email-tangchengchang@huawei.com \ --to=tangchengchang@huawei.com \ --cc=arybchenko@solarflare.com \ --cc=dev@dpdk.org \ --cc=ferruh.yigit@intel.com \ --cc=linuxarm@huawei.com \ --cc=maryam.tahhan@intel.com \ --cc=thomas@monjalon.net \ --cc=wenzhuo.lu@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
DPDK patches and discussions This inbox may be cloned and mirrored by anyone: git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \ dev@dpdk.org public-inbox-index dev Example config snippet for mirrors. Newsgroup available over NNTP: nntp://inbox.dpdk.org/inbox.dpdk.dev AGPL code for this site: git clone https://public-inbox.org/public-inbox.git