Skip to content

Commit

Permalink
alx: enable msi-x interrupts by default
Browse files Browse the repository at this point in the history
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 <tobias.regnery@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Tobias Regnery authored and David S. Miller committed Nov 16, 2016
1 parent 2e06826 commit f58e0f7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/net/ethernet/atheros/alx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@

const char alx_drv_name[] = "alx";

static bool msix = false;
module_param(msix, bool, 0);
MODULE_PARM_DESC(msix, "Enable msi-x interrupt support");

static void alx_free_txbuf(struct alx_tx_queue *txq, int entry)
{
struct alx_buffer *txb = &txq->bufs[entry];
Expand Down Expand Up @@ -1226,7 +1222,7 @@ static int __alx_open(struct alx_priv *alx, bool resume)
{
int err;

alx_init_intr(alx, msix);
alx_init_intr(alx, true);

if (!resume)
netif_carrier_off(alx->dev);
Expand Down

0 comments on commit f58e0f7

Please sign in to comment.