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.129.124]) by passt.top (Postfix) with ESMTP id BC92A5A004F for ; Mon, 05 Aug 2024 21:02:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722884535; 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=RcjJIKTSa4xx2+iHfekaI0K0jw+e0eEDd9lCVg5dWo0=; b=fTMwdY0POJyNz+D3vZWJgD/cvL5cM0AW6fIxezIsLcZvHfKZKyxznnWy1s/jd7V3jf/6Pg sScOWtKv6/qcelzmDuL+Lyfz3YSge19yD1TgLB5c0xnFQ4M/6Sj0nPyPUBkFMIdtyggBhq USWVwjZHHcwu8P9scPsHqG6LUh+O3LU= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-85-DveaR63YO0i_2k2k6QvwZg-1; Mon, 05 Aug 2024 15:02:14 -0400 X-MC-Unique: DveaR63YO0i_2k2k6QvwZg-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-428fb72245bso295295e9.1 for ; Mon, 05 Aug 2024 12:02:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722884531; x=1723489331; 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=RcjJIKTSa4xx2+iHfekaI0K0jw+e0eEDd9lCVg5dWo0=; b=nyGI+NL+0Y0dQVBTzb3DyX2G9rgbL4IV5xmqz55FxVW7bpNwu7i1asJ5vS4PGYXVBJ PIi4DzZ9A/3wVC4SAFWePt3R0S8nNrwR4QwuGaR7svo2Bfjc+1JODzH7FDXwdFrhOYAs 78/M9JeHnTChAR2sHGjlH6RO2yb9tSUWXoiEHEjxZG2juPxCAe+QX3Aj3rucyWqGTC0o AXQmgCJyI3iDsyCf3Mkc5oFYjYp3ZZK3pk2khOqD6FBBXCzgKah/D4vgDam3cijYqfOb oN8akM2nKyA3c7+3yO5OTexbV6Yx91pFsmC2Z/K10Z25KaFZJLFceKTch+zzVSmIvi/s FfhA== X-Gm-Message-State: AOJu0YwGjIq9JD/kQ0JUS5k2QWQmoQe4/DgHQK7gtNgjGLAhyVun03gD Zp+/tckw4qtMwiPBRZ047nJCT0k68medEYMjzzBjN71WauZOSRO/2fFNbgOvHXpxYJWiJ/WcKPp +ish3B8OH2SJHIvRq2KXtkDwaZOUkyyiu+nC4R+ui7muk5DR5GWpV0gJ6/+y6wEVNqcJ4e7QMiu WLeuOhzk7A4vle22RHHlnCds7FjW7cPlvJfpU= X-Received: by 2002:a05:600c:1c21:b0:424:8dbe:817d with SMTP id 5b1f17b1804b1-428e4729fa0mr125185385e9.10.1722884531533; Mon, 05 Aug 2024 12:02:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsHHW5feVZIOyfUAp3vunNFuKXbkQno4eEw2rAkUaIHQkEvTpuVmI7D3lUHGwjZs0RFApKQA== X-Received: by 2002:a05:600c:1c21:b0:424:8dbe:817d with SMTP id 5b1f17b1804b1-428e4729fa0mr125185225e9.10.1722884531202; Mon, 05 Aug 2024 12:02:11 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428e6e7cc3asm150601255e9.34.2024.08.05.12.02.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 12:02:10 -0700 (PDT) Date: Mon, 5 Aug 2024 21:02:09 +0200 From: Stefano Brivio To: Laurent Vivier Subject: Re: [PATCH 0/2] udp_flow: move all udp_flow functions to udp_flow.c Message-ID: <20240805210209.702fb4ed@elisabeth> In-Reply-To: <20240802161036.1404559-1-lvivier@redhat.com> References: <20240802161036.1404559-1-lvivier@redhat.com> 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: UU4DH246K7DOF5V7LV66OUJHP5WNSZVK X-Message-ID-Hash: UU4DH246K7DOF5V7LV66OUJHP5WNSZVK 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, 2 Aug 2024 18:10:34 +0200 Laurent Vivier wrote: > This helps to export them and use them with vhost-user version > of udp.c > > There is only one code change: pass s_in rather than udp_meta_t to > udp_flow_from_sock() as udp_meta_t is specific to the socket version > of udp.c > > Otherwise, only code move > > Signed-off-by: Laurent Vivier > > Laurent Vivier (2): > udp_flow: Remove udp_meta_t from the parameters of > udp_flow_from_sock() > udp_flow: move all udp_flow functions to udp_flow.c Applied. -- Stefano