|
@@ -1761,7 +1761,9 @@ static int mlx5e_open_channel(struct mlx5e_priv *priv, int ix,
|
|
|
struct net_device *netdev = priv->netdev;
|
|
|
int cpu = mlx5e_get_cpu(priv, ix);
|
|
|
struct mlx5e_channel *c;
|
|
|
+ unsigned int irq;
|
|
|
int err;
|
|
|
+ int eqn;
|
|
|
|
|
|
c = kzalloc_node(sizeof(*c), GFP_KERNEL, cpu_to_node(cpu));
|
|
|
if (!c)
|
|
@@ -1778,6 +1780,9 @@ static int mlx5e_open_channel(struct mlx5e_priv *priv, int ix,
|
|
|
c->num_tc = params->num_tc;
|
|
|
c->xdp = !!params->xdp_prog;
|
|
|
|
|
|
+ mlx5_vector2eqn(priv->mdev, ix, &eqn, &irq);
|
|
|
+ c->irq_desc = irq_to_desc(irq);
|
|
|
+
|
|
|
netif_napi_add(netdev, &c->napi, mlx5e_napi_poll, 64);
|
|
|
|
|
|
err = mlx5e_open_cq(c, icocq_moder, &cparam->icosq_cq, &c->icosq.cq);
|