Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2021 08:17:43 +0200
From:      Vincenzo Maffione <vmaffione@freebsd.org>
To:        =?UTF-8?B?w5Z6a2FuIEtJUklL?= <ozkan.kirik@gmail.com>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>, krzysztof.galazka@intel.com,  gowtham.kumar.ks@intel.com, erj@freebsd.org, jeffrey.e.pieper@intel.com
Subject:   Re: ixl netmap TX queue remains full
Message-ID:  <CA%2B_eA9gN6-Tcy-cs5kecCYfJY1VjpZ_pPu7R2ODPUHMEPik=qg@mail.gmail.com>
In-Reply-To: <CAAcX-AHypqKdKA0n%2BUEBt_HpeduNTeyD=VAyeC%2BzuSrH7yM-XQ@mail.gmail.com>
References:  <CAAcX-AE5%2B8v4YWix1pUxedY0aYgpoHL5G9_oUqTXRoS_prNVNQ@mail.gmail.com> <CA%2B_eA9hV2k1mExm9fttbRey53vEvOtk%2BCgHX9ancsJ%2BJu10Miw@mail.gmail.com> <CAAcX-AHypqKdKA0n%2BUEBt_HpeduNTeyD=VAyeC%2BzuSrH7yM-XQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi =C3=96zkan,
  I'm glad that worked.
Nevertheless, there must be an issue lurking around in the ixl driver code,
affecting the case enable_head_writeback=3D=3D1.
It may be related to the fact that https://reviews.freebsd.org/D26896
causes issues, even though it looks a legitimate change.

Cheers,
  Vincenzo

Il giorno mar 30 mar 2021 alle ore 08:56 =C3=96zkan KIRIK <ozkan.kirik@gmai=
l.com>
ha scritto:

> Hello Vincenzo,
>
> Before your email, hw.ixl.enable_head_writeback =3D 1. After your
> suggestion, i set the hw.ixl.enable_head_writeback =3D 0. then it works
> properly.
>
> Thank you so much
>
> Cheers
> =C3=96zkan
>
> On Tue, Mar 30, 2021 at 9:22 AM Vincenzo Maffione <vmaffione@freebsd.org>
> wrote:
>
>> Hi,
>>   Could this be related to
>> https://reviews.freebsd.org/D26896?
>>
>> Moreover, what happens if you switch the enable_head_writeback sysctl?
>>
>> Cheers,
>>   Vincenzo
>>
>> Il giorno lun 29 mar 2021 alle ore 10:36 =C3=96zkan KIRIK <
>> ozkan.kirik@gmail.com> ha scritto:
>>
>>> Hello,
>>>
>>> I hit problems about ixl driver's netmap support. I have no problems wi=
th
>>> ixgbe.
>>> The problem is tested with FreeBSD 12.2-p5 and FreeBSD 13.0-RC3.
>>>
>>> ixl in netmap mode, it works with low throughput (about 2 Gbps) for 20-=
30
>>> seconds. And then TX queue remains full. poll with POLLOUT and even
>>> ioctl(fd, NIOCTXSYNC) does not work. So that nic stops working.
>>>
>>> Same netmap software with ixgbe has no problems.
>>>
>>> pciconf -lv output:
>>> ixl0@pci0:183:0:0: class=3D0x020000 card=3D0x37d215d9 chip=3D0x37d28086
>>> rev=3D0x04
>>> hdr=3D0x00
>>>     vendor     =3D 'Intel Corporation'
>>>     device     =3D 'Ethernet Connection X722 for 10GBASE-T'
>>>     class      =3D network
>>>     subclass   =3D ethernet
>>> ixl1@pci0:183:0:1: class=3D0x020000 card=3D0x37d215d9 chip=3D0x37d28086
>>> rev=3D0x04
>>> hdr=3D0x00
>>>     vendor     =3D 'Intel Corporation'
>>>     device     =3D 'Ethernet Connection X722 for 10GBASE-T'
>>>     class      =3D network
>>>     subclass   =3D ethernet
>>> ixl2@pci0:183:0:2: class=3D0x020000 card=3D0x37d015d9 chip=3D0x37d08086
>>> rev=3D0x04
>>> hdr=3D0x00
>>>     vendor     =3D 'Intel Corporation'
>>>     device     =3D 'Ethernet Connection X722 for 10GbE SFP+'
>>>     class      =3D network
>>>     subclass   =3D ethernet
>>> ixl3@pci0:183:0:3: class=3D0x020000 card=3D0x37d015d9 chip=3D0x37d08086
>>> rev=3D0x04
>>> hdr=3D0x00
>>>     vendor     =3D 'Intel Corporation'
>>>     device     =3D 'Ethernet Connection X722 for 10GbE SFP+'
>>>     class      =3D network
>>>     subclass   =3D ethernet
>>>
>>> Best regards
>>> _______________________________________________
>>> freebsd-net@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>>>
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9gN6-Tcy-cs5kecCYfJY1VjpZ_pPu7R2ODPUHMEPik=qg>