Skip to content

Commit f58e0f7

Browse files
Toreg87davem330
authored andcommitted
alx: enable msi-x interrupts by default
Remove the module parameter to enable msi-x support and enable msi-x interrupts unconditionally by default. This is a preparatory step to enable multi queue support by default, because this is only working with msi-x interrupts. Signed-off-by: Tobias Regnery <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2e06826 commit f58e0f7

File tree

1 file changed

+1
-5
lines changed
  • drivers/net/ethernet/atheros/alx

1 file changed

+1
-5
lines changed

drivers/net/ethernet/atheros/alx/main.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@
5151

5252
const char alx_drv_name[] = "alx";
5353

54-
static bool msix = false;
55-
module_param(msix, bool, 0);
56-
MODULE_PARM_DESC(msix, "Enable msi-x interrupt support");
57-
5854
static void alx_free_txbuf(struct alx_tx_queue *txq, int entry)
5955
{
6056
struct alx_buffer *txb = &txq->bufs[entry];
@@ -1226,7 +1222,7 @@ static int __alx_open(struct alx_priv *alx, bool resume)
12261222
{
12271223
int err;
12281224

1229-
alx_init_intr(alx, msix);
1225+
alx_init_intr(alx, true);
12301226

12311227
if (!resume)
12321228
netif_carrier_off(alx->dev);

0 commit comments

Comments
 (0)