From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id 0E1F35A004E for ; Fri, 05 Jul 2024 18:39:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720197571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9PYy2w8U2C1y+rssFzuucf4Z6EFJe1j7GAugX+pEYY8=; b=C7hOBQzwEnC2iLS0MVeBcAC0vDjA1Qf1Cu9s0/P2ewVou76Bw1K7SP9t478/poUO5+74uE Vf9YV4tWGGGw/5LqwojxT1mo7gjaG51Jg3MQPoRJKTP9lShnRkBulBw4iJBKYaJQ2HQPIO lnnnNhITKjcEFO/KmItfvsuilc+H6bU= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-300-EZKNGEf2Pf-TizNrRh7L6Q-1; Fri, 05 Jul 2024 12:39:29 -0400 X-MC-Unique: EZKNGEf2Pf-TizNrRh7L6Q-1 Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-79eff210166so29617885a.0 for ; Fri, 05 Jul 2024 09:39:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720197568; x=1720802368; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9PYy2w8U2C1y+rssFzuucf4Z6EFJe1j7GAugX+pEYY8=; b=CI+3chcSu4HYdzBqTGcPRjhbLOFG+Wnz/Bc73No/Q7gazSMy1V4jpPkk91NDwvYPXy 75OnvDfLaB5KWHKu1ePzvb1INNYx4ThwOCpmtirjLd11pGYBlfXTqAu+rMjdteLdNQuy rq5NZfapucuZukPwPDAlAhvqdZMtDmmeiRYnWj/MwBiOOOYcDZQ2r+3CWAL2d76E02ZN fkCfJF6+OfR9frY4kO5CPHyDkc95dzkB2V8YB0W9XdsVqL3c1Y2bYesYnqkcR7HCUmLV yIfNo9FUWmyKHTt/1R+jvF8jHUuTgVYT+Y/RPThzusuopYA6KCnxN0hI/+7J4bgbdmPw NZeA== X-Gm-Message-State: AOJu0Yw39hfTLl3/+4myF7Rbxadrfk4ty9KUYRM6frNebVSAFZuSDs1F RYkMJb9x+30lCkSCsh4I2LP6tmDwu7+IudiK9B0C671UjjiUwwKtBFCCIJw0iSiwbFCwhZCtAKW kuYf7QMo6sjFNFgW6vhVwOxYiL2UYF3EJWFRwLwYJH7pWNoBzHKhwyR8srAwa X-Received: by 2002:a05:620a:2947:b0:79d:9102:554a with SMTP id af79cd13be357-79eee1a59b1mr674235485a.14.1720197568178; Fri, 05 Jul 2024 09:39:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH05a6Usv6WxCSW5M24Ck/54V2CJ3HNjM7GZO/FnuQOdmZQekWOgH6xXmDiaSTQYRKxM4nrSw== X-Received: by 2002:a05:620a:2947:b0:79d:9102:554a with SMTP id af79cd13be357-79eee1a59b1mr674233585a.14.1720197567754; Fri, 05 Jul 2024 09:39:27 -0700 (PDT) Received: from maya.cloud.tilaa.com (maya.cloud.tilaa.com. [164.138.29.33]) by smtp.gmail.com with ESMTPSA id af79cd13be357-79d69308142sm789087285a.117.2024.07.05.09.39.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jul 2024 09:39:27 -0700 (PDT) Date: Fri, 5 Jul 2024 18:38:47 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v2 00/11] Preliminaries for UDP flow support Message-ID: <20240705183847.1b1728c8@elisabeth> In-Reply-To: <20240705104409.3847002-1-david@gibson.dropbear.id.au> References: <20240705104409.3847002-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: WVDKFFY2QIYWLWH4LTPL7W6PRHHFQRFK X-Message-ID-Hash: WVDKFFY2QIYWLWH4LTPL7W6PRHHFQRFK X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, 5 Jul 2024 20:43:58 +1000 David Gibson wrote: > The redesign of UDP flows required (or at least, suggested) a new > batch of prelininary changes that don't rely on the core of the flow > table rework. > > Changes since v1: > * Assorted minor fixes based on Stefano's feedback > * Moved test programs from contrib/ to doc/ > > David Gibson (11): > util: sock_l4() determine protocol from epoll type rather than the > reverse > flow: Add flow_sidx_valid() helper > udp: Pass full epoll reference through more of sock handler path > udp: Rename IOV and mmsghdr arrays > udp: Unify udp[46]_mh_splice > udp: Unify udp[46]_l2_iov > udp: Don't repeatedly initialise udp[46]_eth_hdr > udp: Move some more of sock_handler tasks into sub-functions > udp: Consolidate datagram batching > doc: Add program to document and test assumptions about SO_REUSEADDR > doc: Test behaviour of zero length datagram recv()s Applied. -- Stefano