Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1577537yba; Thu, 25 Apr 2019 02:05:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpn6l1TibslCEZpdfuXLcLXERvzUa5Ly0Q4zhoFVcarFYDFsovZaFVPMXwOYG3ndGtJ33G X-Received: by 2002:a65:43c8:: with SMTP id n8mr34710666pgp.365.1556183109002; Thu, 25 Apr 2019 02:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556183108; cv=none; d=google.com; s=arc-20160816; b=hNbPLFsBvla3rFdl8OGeYgjfErWcxbVmzmfH9VvlCHDs311udjTgK9sYea6mzTeqwl bWUzVb++47HBZ65J8SRW+W2kdTxUQGWR8+alAqkynf+VKu3hS9rheojysZBofF/rgAVv fELGzpWcLh1Gn427BGwEQ3tGeccWqitnms2N3VREz3dKTlMtG+5/hHy3SG6IX4bdA04a TUumKuFQDnlr3xYg4ACDYN8tkGbViBFLQ4byp4awU1lxeDRO038Bgcsb/0qr0OCK42RZ uxPtcaOzKCeQV74x585Lj6I9uLMaBM4nkZNYXXuc7OudDl2VKF9Z+jG+iTbd2khIedyO lUag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=zZcOD/Ovuee8V72z7N2mTT51/2k44ekDF5JoSBVv/r0=; b=iCLjQRcPVwxJpgpCdT1bIImDQ/UCl4C0yWFtCIj2UTLiMg2tdlpS6r2+aToYQcEgs8 kp0F6PTiJzWa0yVJvvjw8e961xX2SVLvLvWxXkwj8o5a+VbQfA+dNoytJuTCEL/BcRz0 xnuPHFpRCvsLSQlJwaiGnEV09XaaNolpRDRhXcHDN0IYTMOIJA1fb9pbWwQGZynMyCS3 UqUvXbZ/6Dmvco2K96ZHqMSnp969QrEbiBu4xmwU4r5zf99waDHqHOq2HyblglRpv7XM OVLgnH6aUklTM/w8/AnPIcvrQd3+MIL2lWHBrEhRUjne80sWmCzRc3ZT1vJFj6CfafPL o3xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si9500639pgv.51.2019.04.25.02.04.53; Thu, 25 Apr 2019 02:05:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727491AbfDYIts (ORCPT + 99 others); Thu, 25 Apr 2019 04:49:48 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:55690 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725965AbfDYIts (ORCPT ); Thu, 25 Apr 2019 04:49:48 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hJa4d-0005ey-HY; Thu, 25 Apr 2019 10:49:43 +0200 Message-ID: Subject: Re: [PATCH 5/5] mac80211: set NETIF_F_LLTX when using intermediate tx queues From: Johannes Berg To: Herbert Xu Cc: Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= , Arend Van Spriel , Felix Fietkau , linux-wireless@vger.kernel.org, Eric Dumazet , netdev@vger.kernel.org Date: Thu, 25 Apr 2019 10:49:42 +0200 In-Reply-To: <20190425084428.poni4y7mqox5up5t@gondor.apana.org.au> References: <95f86cf69dee05a176625925657cf0df0e97b5c9.camel@sipsolutions.net> <20190416093707.dtlwcmitzqopaeaw@gondor.apana.org.au> <20190416131346.u2uolljlrd5t2jro@gondor.apana.org.au> <87wojut7f7.fsf@toke.dk> <20190417033834.ep6t7r6ttvjek5g7@gondor.apana.org.au> <87tvexrnxm.fsf@toke.dk> <99da695257304d32b65e2db8b7ada06759087c90.camel@sipsolutions.net> <20190425083558.p3kqodaawr2jcfhr@gondor.apana.org.au> <0190c32f3d861d9d7a783090653645c5ae3a7fa3.camel@sipsolutions.net> <20190425084428.poni4y7mqox5up5t@gondor.apana.org.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-2.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2019-04-25 at 16:44 +0800, Herbert Xu wrote: > On Thu, Apr 25, 2019 at 10:39:52AM +0200, Johannes Berg wrote: > > > > Yes, that's what I meant, it can only ever return NET_XMIT_SUCCESS or > > NET_XMIT_CN. This will not trigger the code you mentioned before though. > > You are right that it does not. However, the fact that this > congestion indication is lost is a bug rather than a feature. You can argue that way, I guess. However, *any* queue management algorithm that doesn't *solely* employ tail drops will necessarily behave this way. I would argue that you get better queue management if you don't solely rely on tail drops, so I'd rather pick better queue management than this (relatively obscure) congestion notification. The more commonly relevant socket buffer size will work for both. johannes