[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260115234749.2365504-1-anthony.l.nguyen@intel.com>
Date: Thu, 15 Jan 2026 15:47:37 -0800
From: Tony Nguyen <anthony.l.nguyen@...el.com>
To: davem@...emloft.net,
kuba@...nel.org,
pabeni@...hat.com,
edumazet@...gle.com,
andrew+netdev@...n.ch,
netdev@...r.kernel.org
Cc: Tony Nguyen <anthony.l.nguyen@...el.com>,
joshua.a.hay@...el.com,
madhu.chittim@...el.com
Subject: [PATCH net-next 00/10][pull request] refactor IDPF resource access
Pavan Kumar Linga says:
Queue and vector resources for a given vport, are stored in the
idpf_vport structure. At the time of configuration, these
resources are accessed using vport pointer. Meaning, all the
config path functions are tied to the default queue and vector
resources of the vport.
There are use cases which can make use of config path functions
to configure queue and vector resources that are not tied to any
vport. One such use case is PTP secondary mailbox creation
(it would be in a followup series). To configure queue and interrupt
resources for such cases, we can make use of the existing config
infrastructure by passing the necessary queue and vector resources info.
To achieve this, group the existing queue and vector resources into
default resource group and refactor the code to pass the resource
pointer to the config path functions.
This series also includes patches which generalizes the send virtchnl
message APIs and mailbox API that are necessary for the implementation
of PTP secondary mailbox.
The following are changes since commit d4596891e72cbf155d61798a81ce9d36b69bfaf4:
net: inline napi_skb_cache_get()
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 200GbE
Joshua Hay (2):
idpf: move some iterator declarations inside for loops
idpf: remove vport pointer from queue sets
Pavan Kumar Linga (8):
idpf: introduce local idpf structure to store virtchnl queue chunks
idpf: introduce idpf_q_vec_rsrc struct and move vector resources to it
idpf: move queue resources to idpf_q_vec_rsrc structure
idpf: reshuffle idpf_vport struct members to avoid holes
idpf: add rss_data field to RSS function parameters
idpf: generalize send virtchnl message API
idpf: avoid calling get_rx_ptypes for each vport
idpf: generalize mailbox API
drivers/net/ethernet/intel/idpf/idpf.h | 177 ++-
drivers/net/ethernet/intel/idpf/idpf_dev.c | 18 +-
.../net/ethernet/intel/idpf/idpf_ethtool.c | 93 +-
drivers/net/ethernet/intel/idpf/idpf_lib.c | 219 ++--
drivers/net/ethernet/intel/idpf/idpf_ptp.c | 17 +-
drivers/net/ethernet/intel/idpf/idpf_txrx.c | 733 +++++------
drivers/net/ethernet/intel/idpf/idpf_txrx.h | 44 +-
drivers/net/ethernet/intel/idpf/idpf_vf_dev.c | 21 +-
.../net/ethernet/intel/idpf/idpf_virtchnl.c | 1090 +++++++++--------
.../net/ethernet/intel/idpf/idpf_virtchnl.h | 88 +-
drivers/net/ethernet/intel/idpf/xdp.c | 48 +-
drivers/net/ethernet/intel/idpf/xdp.h | 6 +-
drivers/net/ethernet/intel/idpf/xsk.c | 12 +-
13 files changed, 1415 insertions(+), 1151 deletions(-)
--
2.47.1
Powered by blists - more mailing lists