Re: [Intel-gfx] [patch 23/30] net/mlx5: Use effective interrupt affinity

2020-12-15 Thread Saeed Mahameed
pace, > but the architecture can or even must reduce the mask to the > effective set, > which means that checking the affinity mask itself does not really > tell > about the actual target CPUs. > > Signed-off-by: Thomas Gleixner > Cc: Saeed Mahameed > Cc: Leon Romanovsky >

Re: [Intel-gfx] [patch 22/30] net/mlx5: Replace irq_to_desc() abuse

2020-12-15 Thread Saeed Mahameed
c->num_tc = params->num_tc; > c->xdp = !!params->xdp_prog; > c->stats= &priv->channel_stats[ix].ch; > - c->irq_desc = irq_to_desc(irq); > + c->aff_mask = irq_get_affinity_mask(irq); as long as the affinity mask pointer