9ad9ff476c
Currently, upper-layer application could get queue state only through pointers such as dev->data->tx_queue_state[queue_id], this is not the recommended way to access it. So this patch add get queue state when call rte_eth_rx_queue_info_get and rte_eth_tx_queue_info_get API. Note: After add queue_state field, the 'struct rte_eth_rxq_info' size remains 128B, and the 'struct rte_eth_txq_info' size remains 64B, so it could be ABI compatible. Signed-off-by: Chengwen Feng <fengchengwen@huawei.com> Signed-off-by: Lijun Ou <oulijun@huawei.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
[suppress_function]
|
|
symbol_version = EXPERIMENTAL
|
|
[suppress_variable]
|
|
symbol_version = EXPERIMENTAL
|
|
|
|
[suppress_function]
|
|
symbol_version = INTERNAL
|
|
[suppress_variable]
|
|
symbol_version = INTERNAL
|
|
|
|
; Ignore generated PMD information strings
|
|
[suppress_variable]
|
|
name_regexp = _pmd_info$
|
|
|
|
; Explicit ignore for driver-only ABI
|
|
[suppress_function]
|
|
name_regexp = rte_vdev_(|un)register
|
|
|
|
; Ignore fields inserted in cacheline boundary of rte_cryptodev
|
|
[suppress_type]
|
|
name = rte_cryptodev
|
|
has_data_member_inserted_between = {offset_after(attached), end}
|
|
|
|
; Ignore fields inserted in union boundary of rte_cryptodev_symmetric_capability
|
|
[suppress_type]
|
|
name = rte_cryptodev_symmetric_capability
|
|
has_data_member_inserted_between = {offset_after(cipher.iv_size), end}
|
|
|
|
; Ignore fields inserted in middle padding of rte_crypto_cipher_xform
|
|
[suppress_type]
|
|
name = rte_crypto_cipher_xform
|
|
has_data_member_inserted_between = {offset_after(key), offset_of(iv)}
|
|
|
|
; Ignore fields inserted in place of reserved fields of rte_eventdev
|
|
[suppress_type]
|
|
name = rte_eventdev
|
|
has_data_member_inserted_between = {offset_after(attached), end}
|
|
|
|
; Ignore fields inserted in alignment hole of rte_eth_rxq_info
|
|
[suppress_type]
|
|
name = rte_eth_rxq_info
|
|
has_data_member_inserted_at = offset_after(scattered_rx)
|
|
|
|
; Ignore fields inserted in cacheline boundary of rte_eth_txq_info
|
|
[suppress_type]
|
|
name = rte_eth_txq_info
|
|
has_data_member_inserted_between = {offset_after(nb_desc), end}
|