refactor IDPF resource access
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest9 patches 11 repliesIn review
- v69 patches 0 repliesSuperseded
- v49 patches 9 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 9 patches | 0 replies | Superseded | |
| v2 | 9 patches | 0 replies | Superseded | |
| v1 | 9 patches | 0 replies | Superseded |
Changes in v7 from the cover letter
* rebase on top of XDP series (v4)
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | idpf: introduce local idpf structure to store virtchnl queue chunksdrivers/ drivers/ drivers/ +1 more | +140 | 3 replies | |
| 2/9 | idpf: use existing queue chunk info instead of preparing itdrivers/ drivers/ drivers/ | +51 | 1 reply | |
| 3/9 | idpf: introduce idpf_q_vec_rsrc struct and move vector resources to itdrivers/ drivers/ drivers/ +5 more | +193 | 1 reply | |
| 4/9 | idpf: move queue resources to idpf_q_vec_rsrc structuredrivers/ drivers/ drivers/ +7 more | +507 | 1 reply | |
| 5/9 | idpf: reshuffle idpf_vport struct members to avoid holesdrivers/ | +15 | 1 reply | |
| 6/9 | idpf: add rss_data field to RSS function parametersdrivers/ drivers/ drivers/ +4 more | +45 | 1 reply | |
| 7/9 | idpf: generalize send virtchnl message APIdrivers/ drivers/ drivers/ +3 more | +200 | 1 reply | |
| 8/9 | idpf: avoid calling get_rx_ptypes for each vportdrivers/ drivers/ drivers/ +2 more | +174 | 1 reply | |
| 9/9 | idpf: generalize mailbox APIdrivers/ drivers/ drivers/ +1 more | +24 | 1 reply |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Madhu Chittim | Anton Nadezhdin | Aleksandr Loktionov | Samuel Salin |
|---|---|---|---|---|
| 1/9 | R-b | R-b | T-b | |
| 2/9 | R-b | T-b | ||
| 3/9 | R-b | T-b | ||
| 4/9 | R-b | T-b | ||
| 5/9 | R-b | T-b | ||
| 6/9 | R-b | T-b | ||
| 7/9 | R-b | T-b | ||
| 8/9 | R-b | T-b | ||
| 9/9 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [Intel-wired-lan] [PATCH iwl-next v7 0/9] refactor IDPF resource access
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.
---
v7:
* rebase on top of XDP series (v4)
v6:
* rebase on top of XDP series
v4:
* avoid returning an error in idpf_vport_init if PTP timestamp caps are not supported
* re-flow the commit messages and cover letter to ~72chars per line based on off-list feedback from Paul Menzel <[email protected]>
v3:
* rebase on top of libeth XDP and other patches
v2:
* rebase on top of PTP patch series
Pavan Kumar Linga (9):
idpf: introduce local idpf structure to store virtchnl queue chunks
idpf: use existing queue chunk info instead of preparing it
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 | 175 ++- drivers/net/ethernet/intel/idpf/idpf_dev.c | 18 +- .../net/ethernet/intel/idpf/idpf_ethtool.c | 87 +- drivers/net/ethernet/intel/idpf/idpf_lib.c | 220 ++-- drivers/net/ethernet/intel/idpf/idpf_ptp.c | 17 +- drivers/net/ethernet/intel/idpf/idpf_txrx.c | 651 +++++----- drivers/net/ethernet/intel/idpf/idpf_txrx.h | 37 +- drivers/net/ethernet/intel/idpf/idpf_vf_dev.c | 21 +- .../net/ethernet/intel/idpf/idpf_virtchnl.c | 1124 ++++++++--------- .../net/ethernet/intel/idpf/idpf_virtchnl.h | 80 +- drivers/net/ethernet/intel/idpf/xdp.c | 33 +- drivers/net/ethernet/intel/idpf/xdp.h | 6 +- 12 files changed, 1292 insertions(+), 1177 deletions(-)
Signature · 1 line
2.43.0