From owner-freebsd-net@freebsd.org Tue Mar 30 06:56:42 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 A96E05BD6F6 for ; Tue, 30 Mar 2021 06:56:42 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8gGf4DMxz3s6y; Tue, 30 Mar 2021 06:56:42 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: by mail-vs1-xe33.google.com with SMTP id u29so4493763vsi.12; Mon, 29 Mar 2021 23:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dWlWrblCOOz3zXTd2poQc1lXBDRHrHbN9p0+jaaMH+4=; b=TotBiaFhs7JMCdBA+5X9sxfBEQQWkMZtZzY9MGSC6TSOcf6xdbo0+WBNFL8D2ci+wd m1nBoytREkSE8UQM9nwOVlkZQG2QzSidg3aiGS2ORufA0OFErN5auP2Vi6/if/hTTqPR AbI/ohfgdJytluMAlEidomCxcxBuHZxF7rJsx4sYK0+zmFrwsVK8QPmvItMD4MZQqBu5 JnDADXuAsvwHzTALMHO5ACrYHN3fF4OthEUET83UFrGSxxdrqfoEZxbCq7NkYvrA02j4 +a+h/XtRmDyTSrnmuEbOffBgjoGeJPGMShfUa5nbJD1y6s9gmuzPuQrZwqyMLKEXxbs3 W+qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dWlWrblCOOz3zXTd2poQc1lXBDRHrHbN9p0+jaaMH+4=; b=jj4JiEDJsukujRaHGUJMSKKosGHwoLKu/lLuT24DvtLYMfIzANFukpkxCxEHkp8dqq kOrOhTaH5/r5KbpZ96MJ1ylYz3DJc7TC9hCCrLNPn9NNR2xptEVbL66W6TD7Axt8Z6B9 TMkH2TMlFMViHq2AEQeLVB7EiNzKCo894A2tZ+u/yr6Yl7jr4nQgKoxkZ9J6Wx39angG TBZlXy7Q1egNiluW/jpwcF07nvzVx8jGFWIG2In7Y2M85+MrgOqxQ1yAf28dAtq3u/Wv CYPwsux9yNbm6lgY4cMmVGRQHvwd6/bY0jp8JxnUO/dXq74H8A8NGJzaS3aNigV5mhCK xPsA== X-Gm-Message-State: AOAM530ZxKqBtq/TDqejvPyc/udlkJLpq2IAR6BIL7Yn8ocNNaqRAftd Ac6OHJY8Zlrm7T4faWUJ4CqHFMOETmivKGvMVDA/QmV3YTs= X-Google-Smtp-Source: ABdhPJzZfSrOMVOBM6TMqPXOFXmucKwDDa1z6eyVdGcWM3nsbOPIUlhKmDET8vClE/6Wdxi0k/lBCzzmec9fFqa2fAw= X-Received: by 2002:a67:fd18:: with SMTP id f24mr3196419vsr.14.1617087400899; Mon, 29 Mar 2021 23:56:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Tue, 30 Mar 2021 09:56:33 +0300 Message-ID: Subject: Re: ixl netmap TX queue remains full To: Vincenzo Maffione Cc: FreeBSD Net , krzysztof.galazka@intel.com, gowtham.kumar.ks@intel.com, erj@freebsd.org, jeffrey.e.pieper@intel.com X-Rspamd-Queue-Id: 4F8gGf4DMxz3s6y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] 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:56:42 -0000 Hello Vincenzo, Before your email, hw.ixl.enable_head_writeback =3D 1. After your suggestio= n, 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 wit= h >> 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-3= 0 >> 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" >> >