sfc: prerequisites for EF100 driver, part 3
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest16 patches 2 repliesIn review
- v115 patches 10 repliesSuperseded
Changes in v2 from the cover letter
* Patch #1: use efx_mcdi_set_mtu() directly, instead of as a fallback, in the mtu_only case (Jakub)
* Patch #3: fix symbol collision in non-modular builds by renaming interrupt_mode to efx_interrupt_mode (kernel test robot)
* Patch #6: check for failure of netif_set_real_num_[tr]x_queues (Jakub)
* Patch #12: cleaner solution for ethtool drvinfo (Jakub, David)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | sfc: support setting MTU even if not privileged to configure MAC fullydrivers/ drivers/ drivers/ +4 more | +16 | 0 replies | |
| 2/16 | sfc: remove max_interrupt_modedrivers/ drivers/ drivers/ +1 more | +0 | 0 replies | |
| 3/16 | sfc: move modparam 'interrupt_mode' out of common channel codedrivers/ drivers/ drivers/ | +8 | 0 replies | |
| 4/16 | sfc: move modparam 'rss_cpus' out of common channel codedrivers/ drivers/ drivers/ | +5 | 0 replies | |
| 5/16 | sfc: make tx_queues_per_channel variable at runtimedrivers/ drivers/ drivers/ +3 more | +30 | 0 replies | |
| 6/16 | sfc: commonise netif_set_real_num[tr]x_queues callsdrivers/ drivers/ | +6 | 0 replies | |
| 7/16 | sfc: assign TXQs without gapsdrivers/ drivers/ drivers/ +7 more | +58 | 0 replies | |
| 8/16 | sfc: don't call tx_limit_len if NIC type doesn't have onedrivers/ | +5 | 0 replies | |
| 9/16 | sfc: factor out efx_mcdi_filter_table_down() from _remove()drivers/ drivers/ | +25 | 0 replies | |
| 10/16 | sfc: commonise efx_fini_dmaqdrivers/ drivers/ drivers/ | +41 | 0 replies | |
| 11/16 | sfc: initialise RSS context ID to 'no RSS context' in efx_init_struct()drivers/ drivers/ | +1 | 0 replies | |
| 12/16 | sfc: get drvinfo driver name from outside the common codedrivers/ drivers/ drivers/ | +5 | 0 replies | |
| 13/16 | sfc_ef100: add EF100 to NIC-revision enumerationdrivers/ | +1 | 0 replies | |
| 14/16 | sfc_ef100: populate BUFFER_SIZE_BYTES in INIT_RXQdrivers/ | +8 | 0 replies | |
| 15/16 | sfc_ef100: NVRAM selftest support codedrivers/ drivers/ | +63 | 0 replies | |
| 16/16 | sfc_ef100: helper function to set default RSS table of given sizedrivers/ drivers/ | +23 | 0 replies |
Reviews trailers per patch
None of the 16 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jakub Kicinski |
|---|---|
| Series | R-b |
| 1/16 | |
| 2/16 | |
| 3/16 | |
| 4/16 | |
| 5/16 | |
| 6/16 | |
| 7/16 | |
| 8/16 | |
| 9/16 | |
| 10/16 | |
| 11/16 | |
| 12/16 | |
| 13/16 | |
| 14/16 | |
| 15/16 | |
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 net-next 00/16] sfc: prerequisites for EF100 driver, part 3
Continuing on from [1] and [2], this series assembles the last pieces
of the common codebase that will be used by the forthcoming EF100 driver.
Patch #1 also adds a minor feature to EF10 (setting MTU on VFs) since
EF10 supports the same MCDI extension which that feature will use on EF100.
Patches #5 & #7, while they should have no externally-visible effect
on driver functionality, change how that functionality is implemented and how the driver represents TXQ configuration internally, so are not mere cleanup/refactoring like most of these prerequisites have (from the perspective of the existing sfc driver) been.
Changes in v2:
* Patch #1: use efx_mcdi_set_mtu() directly, instead of as a fallback, in the mtu_only case (Jakub)
* Patch #3: fix symbol collision in non-modular builds by renaming interrupt_mode to efx_interrupt_mode (kernel test robot)
* Patch #6: check for failure of netif_set_real_num_[tr]x_queues (Jakub)
* Patch #12: cleaner solution for ethtool drvinfo (Jakub, David)
[1]: https://lore.kernel.org/netdev/[email protected]/T/
[2]: https://lore.kernel.org/netdev/[email protected]/T/
Edward Cree (16):
sfc: support setting MTU even if not privileged to configure MAC fully
sfc: remove max_interrupt_mode
sfc: move modparam 'interrupt_mode' out of common channel code
sfc: move modparam 'rss_cpus' out of common channel code
sfc: make tx_queues_per_channel variable at runtime
sfc: commonise netif_set_real_num[tr]x_queues calls
sfc: assign TXQs without gaps
sfc: don't call tx_limit_len if NIC type doesn't have one
sfc: factor out efx_mcdi_filter_table_down() from _remove()
sfc: commonise efx_fini_dmaq
sfc: initialise RSS context ID to 'no RSS context' in
efx_init_struct()
sfc: get drvinfo driver name from outside the common code
sfc_ef100: add EF100 to NIC-revision enumeration
sfc_ef100: populate BUFFER_SIZE_BYTES in INIT_RXQ
sfc_ef100: NVRAM selftest support code
sfc_ef100: helper function to set default RSS table of given size
drivers/net/ethernet/sfc/ef10.c | 76 +++++------------------ drivers/net/ethernet/sfc/efx.c | 14 ++--- drivers/net/ethernet/sfc/efx_channels.c | 66 ++++++++++++-------- drivers/net/ethernet/sfc/efx_channels.h | 3 + drivers/net/ethernet/sfc/efx_common.c | 14 +++-- drivers/net/ethernet/sfc/efx_common.h | 2 +- drivers/net/ethernet/sfc/ethtool.c | 2 + drivers/net/ethernet/sfc/ethtool_common.c | 11 ++-- drivers/net/ethernet/sfc/ethtool_common.h | 2 + drivers/net/ethernet/sfc/farch.c | 6 +- drivers/net/ethernet/sfc/mcdi.c | 62 ++++++++++++++++++ drivers/net/ethernet/sfc/mcdi.h | 1 + drivers/net/ethernet/sfc/mcdi_filters.c | 58 +++++++++++++---- drivers/net/ethernet/sfc/mcdi_filters.h | 3 + drivers/net/ethernet/sfc/mcdi_functions.c | 57 ++++++++++++++--- drivers/net/ethernet/sfc/mcdi_functions.h | 1 + drivers/net/ethernet/sfc/net_driver.h | 44 ++++++------- drivers/net/ethernet/sfc/nic_common.h | 3 +- drivers/net/ethernet/sfc/selftest.c | 18 +++--- drivers/net/ethernet/sfc/siena.c | 4 +- drivers/net/ethernet/sfc/tx.c | 50 +++------------ drivers/net/ethernet/sfc/tx_common.c | 6 +- 22 files changed, 292 insertions(+), 211 deletions(-)