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 EFBB21F60B for ; Mon, 11 Dec 2023 13:38:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="loGrpRfr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 666E3C433C7; Mon, 11 Dec 2023 13:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702301897; bh=xZvJbRdLjDv9Z+FGBP0lBKVTUgmMNq1+ymUBQji5cCk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=loGrpRfr8GMP6HhR5AqcM9iGoVgO4b/My4G44kL592Oo063az3JGmjjBoihGk0R74 nRozc8esqvKKOZ5a0f4ZETX1tdiE6Dd+/FzoawP7GCQd1xZmAd9TN9lJA9WDb1vzoj T8zZK0RMSw71QjMhHY4HZPtGknrkZfVwA+Y6M6QHgkt8dJmeUR9vGP+Wnu3gKk0djk 49Ku/Uum4W1olfCnJBAXaa/bckFaQHyUvhs9riNKswZdvhZKFpwKG0yOc4Es0+ohyP EkQ1ygvHL1tQuUwJL4NaTm6SaTOpZsjIEy9ZJxLJuio1VJz2Yezl331JxEj4m5KEpO LwKvNgdfpJN9Q== Date: Mon, 11 Dec 2023 13:38:12 +0000 From: Simon Horman To: Victor Nogueira Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, daniel@iogearbox.net, dcaratti@redhat.com, netdev@vger.kernel.org, kernel@mojatatu.com Subject: Re: [PATCH net-next v3 2/3] net: sched: Make tc-related drop reason more flexible for remaining qdiscs Message-ID: <20231211133812.GM5817@kernel.org> References: <20231205205030.3119672-1-victor@mojatatu.com> <20231205205030.3119672-3-victor@mojatatu.com> 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-Disposition: inline In-Reply-To: <20231205205030.3119672-3-victor@mojatatu.com> On Tue, Dec 05, 2023 at 05:50:29PM -0300, Victor Nogueira wrote: > Incrementing on Daniel's patch[1], make tc-related drop reason more > flexible for remaining qdiscs - that is, all qdiscs aside from clsact. > In essence, the drop reason will be set by cls_api and act_api in case > any error occurred in the data path. With that, we can give the user more > detailed information so that they can distinguish between a policy drop > or an error drop. > > [1] https://lore.kernel.org/all/20231009092655.22025-1-daniel@iogearbox.net > > Signed-off-by: Victor Nogueira Reviewed-by: Simon Horman