From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 712A014B097; Wed, 31 Jul 2024 23:52:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722469975; cv=none; b=L7D+HSlhZ0vzsAVpFH4bhPIKllSBz06S9AHtFZaHiCVmkb+0RxwON+OIliZ+0xj6pbvkXeUwMS2JkrOYG8hLaQKdg/cffeWxrTAw6wdp4/9lStjcidBvPid45v6bw7tCDDm3M0ysZvLmrl+aRwPFh9hkhnTh7AnH+JYuDAIfasY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722469975; c=relaxed/simple; bh=lm3j1xdzYpcpoFEdtpSi/NhrcwFeBNmRdzqD+wEVuI0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YOxuinHhuDGpAadQt4Eua++ko+Q2PZp38kgbecjFH1WpxPtLuE/T1AV0/V3awHaWbifCXScP8dW5xXD+ZmI9TNnIUaDHPqyL2eo9mYcFvIQdMPL04oTLhIC5q7OM74YC8cqLInYJQ6SC2/Sx5l/ArKzbcAoE6YQwbRQ4TYGfn9g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P7osGmom; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P7osGmom" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75140C116B1; Wed, 31 Jul 2024 23:52:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722469975; bh=lm3j1xdzYpcpoFEdtpSi/NhrcwFeBNmRdzqD+wEVuI0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=P7osGmom/a484+ejw0mw+VTijyJ1qBvZOE00p4wOUNcTO7/Ap3tXxnLoAajxa0f8m 5lX3xcM0AFw3wqi/nmZ4eJgrRFXt5O0JB4cRaGiST76rIl/TNDghvLSbmJmhoaAG6b G+mH1CAfvPRuwdEBNBYYVkPk97Wu9UkZxDY2EFQUlrqOjChx9ONsHdB7NNsoUXNrve yiR9hxyHIC7UJtN/2lQkc/EsS+8neoHY5F65JchlBVNivWHIQGh5HyZq9ufc2It4M4 f476cPG0hdIUcQW+0uVHLZD8BBngkwES7Y7Fb8INXdTSaJqkdEyT3FRIK3zIqAITXp d4948A/JOyvHw== Date: Wed, 31 Jul 2024 16:52:53 -0700 From: Jakub Kicinski To: Jacob Keller Cc: "Song, Yoong Siang" , "Neftin, Sasha" , Brett Creeley , "linux-doc@vger.kernel.org" , Alexei Starovoitov , "Eric Dumazet" , "Nguyen, Anthony L" , "Blanco Alcaine, Hector" , Daniel Borkmann , Jonathan Corbet , "Gomes, Vinicius" , "Kitszel, Przemyslaw" , John Fastabend , Shinas Rasheed , "intel-wired-lan@lists.osuosl.org" , Paolo Abeni , "Tian, Kevin" , Jesper Dangaard Brouer , Richard Cochran , "netdev@vger.kernel.org" , "Hay, Joshua A" , "linux-kernel@vger.kernel.org" , "bpf@vger.kernel.org" , "David S . Miller" Subject: Re: [Intel-wired-lan] [PATCH iwl-next, v1 0/3] Add Default Rx Queue Setting for igc driver Message-ID: <20240731165253.2571b254@kernel.org> In-Reply-To: References: <20240730012212.775814-1-yoong.siang.song@intel.com> <20240730075507.7cf8741f@kernel.org> <20240731074351.13676228@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 31 Jul 2024 09:41:16 -0700 Jacob Keller wrote: > In this case, (I haven't dug into the actual patches or code), I suspect > the driver will need to validate the location values when adding rules > to ensure that all rules which don't use the default queue have higher > priority than the wild card rule. The request to add a filter should > reject the rule in the case where a default queue rule was added with a > higher priority location. Maybe I shouldn't say it aloud but picking a "known" location for such a wildcard rule wouldn't be the worst thing. Obviously better if the driver just understand ordering!