From owner-freebsd-net@freebsd.org Wed Mar 31 06:17:56 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C0E365BC5A6 for ; Wed, 31 Mar 2021 06:17:56 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9GMS5360z4dkG; Wed, 31 Mar 2021 06:17:56 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: vmaffione) by smtp.freebsd.org (Postfix) with ESMTPSA id 9D9B253F6; Wed, 31 Mar 2021 06:17:56 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: by mail-pj1-f44.google.com with SMTP id lr1-20020a17090b4b81b02900ea0a3f38c1so2496902pjb.0; Tue, 30 Mar 2021 23:17:56 -0700 (PDT) X-Gm-Message-State: AOAM533IptfTuXZ4Tc60HT0Lqm+2dWTB1o5x6koFpjbmqj35YHJrVUs4 S5CqDH7+S4R0vBvWK6nwKAcTlWJIvKkoMV6VVjU= X-Google-Smtp-Source: ABdhPJzR2ietTtPbEkbl/Rv7f5vANpb103uFpI9afn7zCpflG4R7Vp529Mi90Rzmk0FQnp2HTW1nEghY2JVxaSb6awQ= X-Received: by 2002:a17:90b:310b:: with SMTP id gc11mr1962169pjb.186.1617171474455; Tue, 30 Mar 2021 23:17:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vincenzo Maffione Date: Wed, 31 Mar 2021 08:17:43 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ixl netmap TX queue remains full To: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Cc: FreeBSD Net , krzysztof.galazka@intel.com, gowtham.kumar.ks@intel.com, erj@freebsd.org, jeffrey.e.pieper@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 06:17:56 -0000 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 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 > 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" >>> >>