From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70B3BC61DA4 for ; Thu, 9 Feb 2023 15:42:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231496AbjBIPm2 (ORCPT ); Thu, 9 Feb 2023 10:42:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231434AbjBIPm1 (ORCPT ); Thu, 9 Feb 2023 10:42:27 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 745B26465F for ; Thu, 9 Feb 2023 07:42:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 8897ACE251E for ; Thu, 9 Feb 2023 15:42:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAA64C4339C; Thu, 9 Feb 2023 15:42:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675957329; bh=aRfTtR+4BWzF5irkn84Zl8NAvS8cwDdBEwleEC2p3Ek=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZVcaAXux2TDEbbXUVkeX488z9SLD2JaHYy2nKdtQoqffybGo7wk4I772d+CyUgLcL F1pU2jNeMiKeJLttKbeVeu6mJ5/7runp4VFHS1kPbjTBW1ul2dBueBRlVP3F3otx7H vWpx3Bdd7W9Z+2ZBugeM6xK0Kp4UFMhrpPLMTcoO07jrgbCg6tdl5K9XZon3Ch+0on X8biXmRVMT8nhp8Oo6IwIppvLPd2h4Xvuqfr0g8eELxLcQrhi+O6ztql0fPuBJKlye 7tbCKxSLvmrE7ZI/L0m3m07i87QcH/DA65p5mOS6FeGnPQXGACOcEZTYkpAqyjJ7vL LMlZbwk3+tvWg== Message-ID: Date: Thu, 9 Feb 2023 08:42:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH net 3/3] selftests: fib_rule_tests: Test UDP and TCP connections with DSCP rules. Content-Language: en-US To: Guillaume Nault , David Miller , Jakub Kicinski , Paolo Abeni , Eric Dumazet Cc: netdev@vger.kernel.org, YOSHIFUJI Hideaki References: From: David Ahern In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 2/8/23 10:14 AM, Guillaume Nault wrote: > Add the fib_rule6_send and fib_rule4_send tests to verify that DSCP > values are properly taken into account when UDP or TCP sockets try to > connect(). > > Tests are done with nettest, which needs a new option to specify > the DS Field value of the socket being tested. This new option is > named '-Q', in reference to the similar option used by ping. > > Signed-off-by: Guillaume Nault > --- > tools/testing/selftests/net/fib_rule_tests.sh | 128 +++++++++++++++++- > tools/testing/selftests/net/nettest.c | 51 ++++++- > 2 files changed, 177 insertions(+), 2 deletions(-) > Reviewed-by: David Ahern