ethdev: support getting Rx buffer size in Rx queue info
authorChengchang Tang <tangchengchang@huawei.com>
Mon, 21 Sep 2020 13:22:37 +0000 (21:22 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 21 Sep 2020 16:05:38 +0000 (18:05 +0200)
commit61efaf5b6220e18b45ffb597923e5914847658c9
tree4f81e14bc87c358fcc8bbb51e32e4c26c82ad51e
parentd9fecbe97ba7c1ad0dedf33910d8b4e4e444979a
ethdev: support getting Rx buffer size in Rx queue info

Add a field named rx_buf_size in rte_eth_rxq_info to indicate the buffer
size used in receiving packets for HW.

In this way, upper-layer users can get this information by calling
rte_eth_rx_queue_info_get.

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Reviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/proc-info/main.c
app/test-pmd/config.c
doc/guides/rel_notes/deprecation.rst
lib/librte_ethdev/rte_ethdev.h