This patch is a preparation of shared Rx queue feature[1]. Rxq object
could be shared among ports in same share group, a shared rxq object can't
tell which port it belongs to.


v2:
  included new NFP PMD driver
v3:
- commit message update
- split allowing empty queue release callback to another patch

[1]
https://mails.dpdk.org/archives/dev/2021-July/215575.html


Xueming Li (2):
  ethdev: queue release callback optional
  ethdev: change queue release callback

 app/test/virtual_pmd.c                    | 12 -----
 drivers/net/af_packet/rte_eth_af_packet.c |  7 ---
 drivers/net/af_xdp/rte_eth_af_xdp.c       |  7 ---
 drivers/net/atlantic/atl_ethdev.h         |  4 +-
 drivers/net/atlantic/atl_rxtx.c           | 24 ++++-----
 drivers/net/avp/avp_ethdev.c              | 34 ++++---------
 drivers/net/axgbe/axgbe_dev.c             |  2 +-
 drivers/net/axgbe/axgbe_rxtx.c            |  8 +--
 drivers/net/axgbe/axgbe_rxtx.h            |  4 +-
 drivers/net/bnx2x/bnx2x_rxtx.c            |  8 +--
 drivers/net/bnx2x/bnx2x_rxtx.h            |  4 +-
 drivers/net/bnxt/bnxt_reps.c              | 20 ++++----
 drivers/net/bnxt/bnxt_reps.h              |  4 +-
 drivers/net/bnxt/bnxt_ring.c              |  2 +-
 drivers/net/bnxt/bnxt_rxq.c               | 12 +++--
 drivers/net/bnxt/bnxt_rxq.h               |  2 +-
 drivers/net/bnxt/bnxt_txq.c               | 15 +++---
 drivers/net/bnxt/bnxt_txq.h               |  2 +-
 drivers/net/bonding/rte_eth_bond_pmd.c    |  8 ++-
 drivers/net/cnxk/cnxk_ethdev.c            | 33 ++++++-------
 drivers/net/cxgbe/cxgbe_ethdev.c          | 12 ++---
 drivers/net/cxgbe/cxgbe_pfvf.h            |  4 +-
 drivers/net/dpaa/dpaa_ethdev.c            | 13 -----
 drivers/net/dpaa2/dpaa2_ethdev.c          | 11 +----
 drivers/net/e1000/e1000_ethdev.h          |  8 +--
 drivers/net/e1000/em_rxtx.c               | 12 ++---
 drivers/net/e1000/igb_rxtx.c              | 12 ++---
 drivers/net/ena/ena_ethdev.c              | 18 +++----
 drivers/net/enetc/enetc_ethdev.c          | 12 +++--
 drivers/net/enic/enic_ethdev.c            |  8 ++-
 drivers/net/enic/enic_vf_representor.c    |  8 ++-
 drivers/net/failsafe/failsafe_ops.c       | 42 ++++++----------
 drivers/net/fm10k/fm10k_ethdev.c          | 14 +++---
 drivers/net/hinic/hinic_pmd_ethdev.c      | 20 +++++---
 drivers/net/hns3/hns3_rxtx.c              | 25 +++++-----
 drivers/net/hns3/hns3_rxtx.h              |  4 +-
 drivers/net/i40e/i40e_fdir.c              |  8 +--
 drivers/net/i40e/i40e_rxtx.c              | 40 +++++++++------
 drivers/net/i40e/i40e_rxtx.h              |  6 ++-
 drivers/net/iavf/iavf_rxtx.c              | 12 ++---
 drivers/net/iavf/iavf_rxtx.h              |  4 +-
 drivers/net/ice/ice_dcf_ethdev.c          |  4 +-
 drivers/net/ice/ice_ethdev.c              |  4 +-
 drivers/net/ice/ice_rxtx.c                | 12 +++++
 drivers/net/ice/ice_rxtx.h                |  2 +
 drivers/net/igc/igc_ethdev.c              |  4 +-
 drivers/net/igc/igc_txrx.c                | 12 ++---
 drivers/net/igc/igc_txrx.h                |  4 +-
 drivers/net/ionic/ionic_lif.c             |  4 +-
 drivers/net/ionic/ionic_rxtx.c            | 14 +++---
 drivers/net/ionic/ionic_rxtx.h            |  4 +-
 drivers/net/ipn3ke/ipn3ke_representor.c   | 12 -----
 drivers/net/ixgbe/ixgbe_ethdev.h          |  4 +-
 drivers/net/ixgbe/ixgbe_rxtx.c            | 12 ++---
 drivers/net/kni/rte_eth_kni.c             |  7 ---
 drivers/net/liquidio/lio_ethdev.c         | 24 +++++----
 drivers/net/liquidio/lio_ethdev.h         |  4 +-
 drivers/net/liquidio/lio_rxtx.c           |  4 +-
 drivers/net/memif/rte_eth_memif.c         | 23 ++++++---
 drivers/net/mlx4/mlx4.c                   |  4 +-
 drivers/net/mlx4/mlx4_rxq.c               | 27 ++++-------
 drivers/net/mlx4/mlx4_rxtx.h              |  4 +-
 drivers/net/mlx4/mlx4_txq.c               | 27 ++++-------
 drivers/net/mlx5/mlx5_rx.h                |  2 +-
 drivers/net/mlx5/mlx5_rxq.c               | 21 ++++----
 drivers/net/mlx5/mlx5_tx.h                |  2 +-
 drivers/net/mlx5/mlx5_txq.c               | 25 ++++------
 drivers/net/mvneta/mvneta_ethdev.c        |  4 +-
 drivers/net/mvneta/mvneta_rxtx.c          | 22 +++++----
 drivers/net/mvneta/mvneta_rxtx.h          |  4 +-
 drivers/net/mvpp2/mrvl_ethdev.c           | 20 +++++---
 drivers/net/netvsc/hn_rxtx.c              | 10 ++--
 drivers/net/netvsc/hn_var.h               |  4 +-
 drivers/net/netvsc/hn_vf.c                | 14 ++----
 drivers/net/nfb/nfb_ethdev.c              |  4 +-
 drivers/net/nfb/nfb_rx.c                  |  5 +-
 drivers/net/nfb/nfb_rx.h                  |  8 +--
 drivers/net/nfb/nfb_tx.c                  |  5 +-
 drivers/net/nfb/nfb_tx.h                  |  8 +--
 drivers/net/nfp/nfp_rxtx.c                | 30 +++++++-----
 drivers/net/nfp/nfp_rxtx.h                |  4 +-
 drivers/net/ngbe/ngbe_ethdev.h            |  4 +-
 drivers/net/ngbe/ngbe_rxtx.c              | 12 ++---
 drivers/net/null/rte_eth_null.c           | 22 ++++++---
 drivers/net/octeontx/octeontx_ethdev.c    | 18 +++----
 drivers/net/octeontx2/otx2_ethdev.c       | 59 +++++++++--------------
 drivers/net/octeontx_ep/otx_ep_ethdev.c   | 20 +++++---
 drivers/net/pcap/pcap_ethdev.c            |  7 ---
 drivers/net/pfe/pfe_ethdev.c              | 14 ------
 drivers/net/qede/qede_ethdev.c            | 20 ++++++--
 drivers/net/ring/rte_eth_ring.c           |  4 --
 drivers/net/sfc/sfc_ethdev.c              |  8 +--
 drivers/net/szedata2/rte_eth_szedata2.c   | 50 +++++++++----------
 drivers/net/tap/rte_eth_tap.c             |  8 +--
 drivers/net/thunderx/nicvf_ethdev.c       | 28 +++++------
 drivers/net/txgbe/txgbe_ethdev.h          |  4 +-
 drivers/net/txgbe/txgbe_rxtx.c            | 12 ++---
 drivers/net/vhost/rte_eth_vhost.c         | 14 ++++--
 drivers/net/virtio/virtio_ethdev.c        |  8 ---
 drivers/net/vmxnet3/vmxnet3_ethdev.c      | 14 ++----
 drivers/net/vmxnet3/vmxnet3_ethdev.h      |  4 +-
 drivers/net/vmxnet3/vmxnet3_rxtx.c        |  8 +--
 lib/ethdev/ethdev_driver.h                |  3 +-
 lib/ethdev/rte_ethdev.c                   | 59 +++++++++++------------
 104 files changed, 624 insertions(+), 689 deletions(-)

-- 
2.33.0

Reply via email to