Skip to content

Commit b3b9fa0

Browse files
committed
Merge branch 'sfc-defalconisation-fixups'
Edward Cree says: ==================== sfc: defalconisation fixups A bug fix, the Kconfig change, and cleaning up a bit more unused code. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents 2934c9d + 99831b1 commit b3b9fa0

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

drivers/net/ethernet/sfc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ config SFC
66
select I2C
77
select I2C_ALGOBIT
88
select PTP_1588_CLOCK
9-
select SFC_FALCON
109
---help---
1110
This driver supports 10/40-gigabit Ethernet cards based on
1211
the Solarflare SFC9000-family and SFC9100-family controllers.

drivers/net/ethernet/sfc/efx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ const char *const efx_reset_type_names[] = {
8282
[RESET_TYPE_DISABLE] = "DISABLE",
8383
[RESET_TYPE_TX_WATCHDOG] = "TX_WATCHDOG",
8484
[RESET_TYPE_INT_ERROR] = "INT_ERROR",
85-
[RESET_TYPE_RX_RECOVERY] = "RX_RECOVERY",
8685
[RESET_TYPE_DMA_ERROR] = "DMA_ERROR",
8786
[RESET_TYPE_TX_SKIP] = "TX_SKIP",
8887
[RESET_TYPE_MC_FAILURE] = "MC_FAILURE",

drivers/net/ethernet/sfc/enum.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ enum efx_loopback_mode {
148148
* @RESET_TYPE_DISABLE: Reset datapath, MAC and PHY; leave NIC disabled
149149
* @RESET_TYPE_TX_WATCHDOG: reset due to TX watchdog
150150
* @RESET_TYPE_INT_ERROR: reset due to internal error
151-
* @RESET_TYPE_RX_RECOVERY: reset to recover from RX datapath errors
152151
* @RESET_TYPE_DMA_ERROR: DMA error
153152
* @RESET_TYPE_TX_SKIP: hardware completed empty tx descriptors
154153
* @RESET_TYPE_MC_FAILURE: MC reboot/assertion
@@ -166,15 +165,13 @@ enum reset_type {
166165
RESET_TYPE_MAX_METHOD,
167166
RESET_TYPE_TX_WATCHDOG,
168167
RESET_TYPE_INT_ERROR,
169-
RESET_TYPE_RX_RECOVERY,
170168
RESET_TYPE_DMA_ERROR,
171169
RESET_TYPE_TX_SKIP,
172170
RESET_TYPE_MC_FAILURE,
173171
/* RESET_TYPE_MCDI_TIMEOUT is actually a method, not just a reason, but
174172
* it doesn't fit the scope hierarchy (not well-ordered by inclusion).
175173
* We encode this by having its enum value be greater than
176-
* RESET_TYPE_MAX_METHOD. This also prevents issuing it with
177-
* efx_ioctl_reset.
174+
* RESET_TYPE_MAX_METHOD.
178175
*/
179176
RESET_TYPE_MCDI_TIMEOUT,
180177
RESET_TYPE_MAX,

drivers/net/ethernet/sfc/farch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ static u16 efx_farch_handle_rx_not_ok(struct efx_rx_queue *rx_queue,
913913
if (rx_ev_other_err && net_ratelimit()) {
914914
netif_dbg(efx, rx_err, efx->net_dev,
915915
" RX queue %d unexpected RX event "
916-
EFX_QWORD_FMT "%s%s%s%s%s%s%s%s\n",
916+
EFX_QWORD_FMT "%s%s%s%s%s%s%s\n",
917917
efx_rx_queue_index(rx_queue), EFX_QWORD_VAL(*event),
918918
rx_ev_buf_owner_id_err ? " [OWNER_ID_ERR]" : "",
919919
rx_ev_ip_hdr_chksum_err ?

0 commit comments

Comments
 (0)