From owner-freebsd-net@freebsd.org Tue Mar 30 06:22:16 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 3B1A55BC423 for ; Tue, 30 Mar 2021 06:22:16 +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 4F8fVw17t7z3q63; Tue, 30 Mar 2021 06:22:16 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (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 12F29317AB; Tue, 30 Mar 2021 06:22:16 +0000 (UTC) (envelope-from vmaffione@freebsd.org) Received: by mail-pj1-f45.google.com with SMTP id ha17so7212035pjb.2; Mon, 29 Mar 2021 23:22:16 -0700 (PDT) X-Gm-Message-State: AOAM532AsZUIx5/1kXXYnajq2ZOHxzJqO6ueXw2JPbv5Y2KdcU/wzYM9 ql2sZY//9JycF0fuxt2+w4lRzV/JSe+CO27JImo= X-Google-Smtp-Source: ABdhPJyn7mm2c0n5SqVIKgQUxcfWwiqcJvTAWZpXzTfvqkjHScy/1gHay1YDRd55hmDpCUBPpG5qPicETMEYbdT2SMU= X-Received: by 2002:a17:90a:c587:: with SMTP id l7mr2662575pjt.115.1617085334963; Mon, 29 Mar 2021 23:22:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vincenzo Maffione Date: Tue, 30 Mar 2021 08:22:03 +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: Tue, 30 Mar 2021 06:22:16 -0000 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 ha scritto: > Hello, > > I hit problems about ixl driver's netmap support. I have no problems with > 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 r= ev=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 r= ev=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 r= ev=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 r= ev=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" >