Re: [PATCH net-next v2 07/12] net: remove the xps possible_mask

2021-02-09 Thread Antoine Tenart
Quoting Alexander Duyck (2021-02-08 22:43:39) > On Mon, Feb 8, 2021 at 9:19 AM Antoine Tenart wrote: > > > > -static void clean_xps_maps(struct net_device *dev, const unsigned long > > *mask, > > +static void clean_xps_maps(struct net_device *dev, > >struct xps_dev_map

Re: [PATCH net-next v2 07/12] net: remove the xps possible_mask

2021-02-08 Thread Alexander Duyck
On Mon, Feb 8, 2021 at 9:19 AM Antoine Tenart wrote: > > Remove the xps possible_mask. It was an optimization but we can just > loop from 0 to nr_ids now that it is embedded in the xps dev_maps. That > simplifies the code a bit. > > Suggested-by: Alexander Duyck > Signed-off-by: Antoine Tenart >

[PATCH net-next v2 07/12] net: remove the xps possible_mask

2021-02-08 Thread Antoine Tenart
Remove the xps possible_mask. It was an optimization but we can just loop from 0 to nr_ids now that it is embedded in the xps dev_maps. That simplifies the code a bit. Suggested-by: Alexander Duyck Signed-off-by: Antoine Tenart --- net/core/dev.c | 43 ++---