nic.c (4b4193256c8d3bc3a5397b5cd9494c2ad386317d) nic.c (8f03eeb6e0a0a0b8d617ee0a4bce729e47130036)
1// SPDX-License-Identifier: GPL-2.0-only
2/****************************************************************************
3 * Driver for Solarflare network controllers and boards
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2013 Solarflare Communications Inc.
6 */
7
8#include <linux/bitops.h>

--- 76 unchanged lines hidden (view full) ---

85 efx->type->irq_handle_legacy, IRQF_SHARED,
86 efx->name, efx);
87 if (rc) {
88 netif_err(efx, drv, efx->net_dev,
89 "failed to hook legacy IRQ %d\n",
90 efx->pci_dev->irq);
91 goto fail1;
92 }
1// SPDX-License-Identifier: GPL-2.0-only
2/****************************************************************************
3 * Driver for Solarflare network controllers and boards
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2013 Solarflare Communications Inc.
6 */
7
8#include <linux/bitops.h>

--- 76 unchanged lines hidden (view full) ---

85 efx->type->irq_handle_legacy, IRQF_SHARED,
86 efx->name, efx);
87 if (rc) {
88 netif_err(efx, drv, efx->net_dev,
89 "failed to hook legacy IRQ %d\n",
90 efx->pci_dev->irq);
91 goto fail1;
92 }
93 efx->irqs_hooked = true;
93 return 0;
94 }
95
96#ifdef CONFIG_RFS_ACCEL
97 if (efx->interrupt_mode == EFX_INT_MODE_MSIX) {
98 efx->net_dev->rx_cpu_rmap =
99 alloc_irq_cpu_rmap(efx->n_rx_channels);
100 if (!efx->net_dev->rx_cpu_rmap) {

--- 479 unchanged lines hidden ---
94 return 0;
95 }
96
97#ifdef CONFIG_RFS_ACCEL
98 if (efx->interrupt_mode == EFX_INT_MODE_MSIX) {
99 efx->net_dev->rx_cpu_rmap =
100 alloc_irq_cpu_rmap(efx->n_rx_channels);
101 if (!efx->net_dev->rx_cpu_rmap) {

--- 479 unchanged lines hidden ---