Received: by 2002:a05:7412:b112:b0:f9:3106:f1c0 with SMTP id az18csp134775rdb; Mon, 18 Dec 2023 01:12:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdVqxVgpyRsPPSbWt50gyOKv8wR4vkzGg1+TlQH9o2sByz/wFPOkcroWbUVFFDnfHWAVCa X-Received: by 2002:a05:6214:2262:b0:67f:4c0:59f0 with SMTP id gs2-20020a056214226200b0067f04c059f0mr12516456qvb.77.1702890752973; Mon, 18 Dec 2023 01:12:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702890752; cv=none; d=google.com; s=arc-20160816; b=FrYf8V5dLSbmO5TpDg/3Dr6qLxpVqQywq6AIP6iKfAtMWqVZkD7AgDZZKbXSUfU1z8 rqms3F9XVaT8rDWvSp9ygUz0fFTUA86seTrZqozne63L84c5UKcc8DHTj3As6fvVShoJ qntR9Qc7n5I3DprF1sJgF4VAYZ+EaMoyxBr7i6ZdHv/+4PKJSKTq13LG0/zM6kNsL1sm GetGrvutDGtc9GSJxk6AbPpSzQRCjopA1l3Pxgxmz6V+K2ZRGEJcoR8dFTkPHrlMIBUT qD+nQRi8il8x9zGDmhM78fIikbbh8VpiBY/G6v7adA7wD3EJDemc8KlgNDB/67mEKmb5 x8cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aNeKrvGUP+WlwkH5sDzyqCtLnYvJl97jtOJjTE/P92o=; fh=G9R3k9cEYwB9YaDXokbdT+WuQlJ5FATgGDhomVg9P64=; b=icn6ePCOZN2JaP1riqx8v0j9Hw/sqDct4weEvfctIdqpmB2INzc5DsgY90ENXpOLZw hwIyOVZ/FPW4Wd4Y6CWqEq8Mfo14n0vTM5y2zJXaBL7UaRh6DQKIGHEKOgYJRWwFqp8J jmMn7pOmmysMd8JDy5hAS4EmYQaAn5HeHn4MIhmG6Smxy1CngevP4PWUaYoNGphf7lqL BGdIrl6QgS7uLkoGfOXbD7PdamYeHOxij6TOjN5VhShsfeTnxQWlq3UVCoj3vcebjye1 /MpmRDa1V9eUvwZCQ6XRtUboVrfzxb4jeyKcnvaK1Oka5Lct7hEFIBD1tc81xTSoHG8A 1oFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YHnNrR6T; spf=pass (google.com: domain of linux-kernel+bounces-3229-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3229-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f7-20020a0cf3c7000000b0067f29c99880si4775797qvm.292.2023.12.18.01.12.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 01:12:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3229-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YHnNrR6T; spf=pass (google.com: domain of linux-kernel+bounces-3229-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3229-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B1C161C226E9 for ; Mon, 18 Dec 2023 09:12:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A57F12B6F; Mon, 18 Dec 2023 09:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YHnNrR6T" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDE4D14F7D; Mon, 18 Dec 2023 09:11:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f173.google.com with SMTP id 5614622812f47-3b9d8bfe845so2359380b6e.0; Mon, 18 Dec 2023 01:11:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702890671; x=1703495471; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=aNeKrvGUP+WlwkH5sDzyqCtLnYvJl97jtOJjTE/P92o=; b=YHnNrR6TCBC17Z5vcpRMp9sH2L/12GK1kL6sSKUcyh9ah2lZiet4F2Ok3TUaIHAEEd cEAwBlbAU+Ky+AG5htIjCaToizP5FoSyNTuovRxH7po4CiO8PVM62OWZV34Y78iU3UDM QHsVnUzjZSev4ZNwEn0nfrvD1T107h3ox0UrjNOofES+9MoTUbwkVXA5lKOp875ruH1z qhg4dboRHOa0xDaqY1Fis6ju/ZBQgVtXvgHPtWWJ/Yq4TDLi8zC99T95SlAu0RuhtUDm h9vm5rArJ2okcsl8c/njdDYS0NAns+zufV6Tc3/RLbw+IPDiDDEynPNKz73kobw5zQwd KAIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702890671; x=1703495471; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aNeKrvGUP+WlwkH5sDzyqCtLnYvJl97jtOJjTE/P92o=; b=dFRBO1npkkSGte519xr7wBr3hrXtiVbV2SNziQ4If57TmOvD70vOswIHXP7WqjQXjB jildazahI2ECJFSD6Evjr2pyGbKjlJU+01/IG1bhpibVRwoG20Z5ShU/RTuDKhy+coc+ FIqgYNQqz6d3AWzb7r/Y1XomixcjtqBjG371SKajZDz8UKH7kLbrClH6lFa5BAA+MlgL gtuXafv95TvxommHZZzAIehBXTIGbgv9SwjG0pdrPxqq6CF5eUmWenry+d9N30wQmPw5 wvObRXVutwL0h1V9nDqbBqeYx050yF1nCPttd445iCPYHQMchoKKWVbI5g8Jo/4lV6hQ nHkA== X-Gm-Message-State: AOJu0YzSikiyW2Jr+m3KmBIPdClEZhV6IywBtu94AhZNwAReZh9/M/f7 oFBNGpDMqqqyCQXQJQlZMfU= X-Received: by 2002:a05:6808:2e46:b0:3b9:f02e:6792 with SMTP id gp6-20020a0568082e4600b003b9f02e6792mr22984783oib.115.1702890670823; Mon, 18 Dec 2023 01:11:10 -0800 (PST) Received: from Laptop-X1 ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id kr5-20020a056a004b4500b006ce83da3076sm18130808pfb.170.2023.12.18.01.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 01:11:10 -0800 (PST) Date: Mon, 18 Dec 2023 17:11:05 +0800 From: Hangbin Liu To: Dmitry Safonov Cc: Shuah Khan , David Ahern , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Salam Noureddine , Bob Gilligan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, Dmitry Safonov <0x7f454c46@gmail.com> Subject: Re: [PATCH 09/12] selftests/net: Add SEQ number extension test Message-ID: References: <20231215-tcp-ao-selftests-v1-0-f6c08180b985@arista.com> <20231215-tcp-ao-selftests-v1-9-f6c08180b985@arista.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20231215-tcp-ao-selftests-v1-9-f6c08180b985@arista.com> On Fri, Dec 15, 2023 at 02:36:23AM +0000, Dmitry Safonov wrote: > Check that on SEQ number wraparound there is no disruption or TCPAOBad > segments produced. > > Sample of expected output: > > # ./seq-ext_ipv4 > > 1..7 > > # 1436[lib/setup.c:254] rand seed 1686611079 > > TAP version 13 > > ok 1 server alive > > ok 2 post-migrate connection alive > > ok 3 TCPAOGood counter increased 1002 => 3002 > > ok 4 TCPAOGood counter increased 1003 => 3003 > > ok 5 TCPAOBad counter didn't increase > > ok 6 TCPAOBad counter didn't increase > > ok 7 SEQ extension incremented: 1/1999, 1/998999 > > # Totals: pass:7 fail:0 xfail:0 xpass:0 skip:0 error:0 > > Signed-off-by: Dmitry Safonov Tested-by: Hangbin Liu