Re: mlx5 irq

2020-10-01 Thread Michal Vančo via freebsd-net
On 01/10/2020 19:56, Olivier Cochard-Labbé wrote: > On Thu, Oct 1, 2020 at 12:28 PM Hans Petter Selasky wrote: > >> On 2020-10-01 11:13, Michal Vančo via freebsd-net wrote: >>> On 01/10/2020 10:52, Hans Petter Selasky wrote: On 2020-10-01 10:24, Michal Vančo wrote: > But why is the actual

Re: mlx5 irq

2020-10-01 Thread Olivier Cochard-Labbé
On Thu, Oct 1, 2020 at 12:28 PM Hans Petter Selasky wrote: > On 2020-10-01 11:13, Michal Vančo via freebsd-net wrote: > > On 01/10/2020 10:52, Hans Petter Selasky wrote: > >> On 2020-10-01 10:24, Michal Vančo wrote: > >>> But why is the actual number of IRQ lines bigger than number of CPU > >>> c

Re: mlx5 irq

2020-10-01 Thread Hans Petter Selasky
On 2020-10-01 18:57, Slawa Olhovchenkov wrote: Do you planed to use more describe irq's name? The kernel doesn't support more than X number of bytes per name unfortunately. --HPS ___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/ma

Re: mlx5 irq

2020-10-01 Thread Slawa Olhovchenkov
On Thu, Oct 01, 2020 at 10:10:42AM +0200, Hans Petter Selasky wrote: > On 2020-10-01 09:39, Michal Vančo via freebsd-net wrote: > > Hi > > Hi Michal, > > > I have a server with one Mellanox ConnectX-4 adapter and the following > > CPU configuration (SMT disabled): > > > > # dmesg | grep SMP > >

Re: mlx5 irq

2020-10-01 Thread Hans Petter Selasky
On 2020-10-01 11:13, Michal Vančo via freebsd-net wrote: On 01/10/2020 10:52, Hans Petter Selasky wrote: On 2020-10-01 10:24, Michal Vančo wrote: But why is the actual number of IRQ lines bigger than number of CPU cores? There are some dedicated IRQ's used for firmware management. Else the d

Re: mlx5 irq

2020-10-01 Thread Michal Vančo via freebsd-net
On 01/10/2020 10:52, Hans Petter Selasky wrote: > On 2020-10-01 10:24, Michal Vančo wrote: >> But why is the actual number of IRQ lines bigger than number of CPU >> cores? > > There are some dedicated IRQ's used for firmware management. > > Else the driver will use the number of online CPU's by def

Re: mlx5 irq

2020-10-01 Thread Hans Petter Selasky
On 2020-10-01 10:24, Michal Vančo wrote: But why is the actual number of IRQ lines bigger than number of CPU cores? There are some dedicated IRQ's used for firmware management. Else the driver will use the number of online CPU's by default as the number of rings, if the hardware supports it.

Re: mlx5 irq

2020-10-01 Thread Michal Vančo via freebsd-net
On 01/10/2020 10:10, Hans Petter Selasky wrote: > On 2020-10-01 09:39, Michal Vančo via freebsd-net wrote: >> Hi > > Hi Michal, > Thank you for your quick reply. >> I have a server with one Mellanox ConnectX-4 adapter and the following >> CPU configuration (SMT disabled): >> >> # dmesg | grep SMP

Re: mlx5 irq

2020-10-01 Thread Hans Petter Selasky
On 2020-10-01 09:39, Michal Vančo via freebsd-net wrote: Hi Hi Michal, I have a server with one Mellanox ConnectX-4 adapter and the following CPU configuration (SMT disabled): # dmesg | grep SMP FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs FreeBSD/SMP: 2 package(s) x 8 core(s) x 2 ha

mlx5 irq

2020-10-01 Thread Michal Vančo via freebsd-net
Hi I have a server with one Mellanox ConnectX-4 adapter and the following CPU configuration (SMT disabled): # dmesg | grep SMP FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs FreeBSD/SMP: 2 package(s) x 8 core(s) x 2 hardware threads FreeBSD/SMP Online: 2 package(s) x 8 core(s) What I don't