[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240401215307.5bcb5cb7@kernel.org>
Date: Mon, 1 Apr 2024 21:53:07 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Pavan Chebbi <pavan.chebbi@...adcom.com>
Cc: michael.chan@...adcom.com, davem@...emloft.net, edumazet@...gle.com,
gospo@...adcom.com, netdev@...r.kernel.org, pabeni@...hat.com, Somnath
Kotur <somnath.kotur@...adcom.com>
Subject: Re: [PATCH net-next 2/7] bnxt_en: Enable XPS by default on driver
load
On Sun, 31 Mar 2024 20:57:25 -0700 Pavan Chebbi wrote:
> + for (i = 0; i < nr_cpus; i++) {
double spaces here
> + map_idx = i % bp->tx_nr_rings_per_tc;
> + cpu = cpumask_local_spread(i, numa_node);
> + cpu_mask_ptr = get_cpu_mask(cpu);
> + cpumask_or(&q_map[map_idx], &q_map[map_idx], cpu_mask_ptr);
> + }
> +
> + /* Register CPU mask for each TX queue excluding the ones marked for XDP */
don't go over 80 chars when you don't have to
Powered by blists - more mailing lists