[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <52336e78-8f45-7401-9827-6c1fea38656d@solarflare.com>
Date: Thu, 2 Jul 2020 17:25:17 +0100
From: Edward Cree <ecree@...arflare.com>
To: <linux-net-drivers@...arflare.com>, <davem@...emloft.net>
CC: <netdev@...r.kernel.org>
Subject: [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/20200629.173812.1532344417590172093.davem@davemloft.net/T/
[2]: https://lore.kernel.org/netdev/20200630.130923.402514193016248355.davem@davemloft.net/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(-)
Powered by blists - more mailing lists