From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=bSI2tdtC; dkim-atps=neutral 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 2F95B5A061D for ; Wed, 04 Dec 2024 17:58:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1733331493; 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=xnl4zgS0XAEFjvPUTh4ptpHMjFVlxjoNeUo4YxY4gMU=; b=bSI2tdtC7S73K1reCALNQEpfacpPBLVl75rDA3Lxdx2iU95nqmsvdzrwN4NGOE3Fjc6MBc +1gMzFeOMROjNorN1yqVDJbPwY+ZVWxulyI498Smb/1imJTEPaPpFr/6bj+nw2rksd9bgp u8vkCEJtfVwPRaWBeBC1KD4F2pp1p4A= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-584-fcUO2BVcMyi5WCa-Q5LqlQ-1; Wed, 04 Dec 2024 11:58:11 -0500 X-MC-Unique: fcUO2BVcMyi5WCa-Q5LqlQ-1 X-Mimecast-MFC-AGG-ID: fcUO2BVcMyi5WCa-Q5LqlQ Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-385e1339790so3308f8f.2 for ; Wed, 04 Dec 2024 08:58:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733331490; x=1733936290; 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=xnl4zgS0XAEFjvPUTh4ptpHMjFVlxjoNeUo4YxY4gMU=; b=Vrb3IUJX3p2bAqKuWb9O5CEZIUh2uyDMjziB+oTY0n+OjcyDD/bryciuct7JzYlQHA fjyTCJ8I18G7Rto5w/DOMUl4S4oDeeQQrUoFeKaTTKB0lbT4XekqEKZKyjZcX/tK/mZ3 COxHaUrsV0OJnGEJmYvBoi9vfvk86VIWnwqvYiZMIt/RTz05J99+0TRtkU0SJrra7TCb l2jcf+15AlTXpO8CHA4o1OueFRpB1bPUlbOJf+LKofG/SMNZmVIW4h8mbye9G6mDqd7s URjVpNPVMGobOxByW83Mj2j80E26cZ7UYT+5ZYhYboKCBvnNJ5D5t7GcQbMpdLOdOncq lS0A== X-Gm-Message-State: AOJu0YwW7JAXn2oCYf2ho+k2JcQAO7wLV6vAWzVsYgoIzr4osEWeFkwS Nd3S1R+Hiz4ZDCb4iZCjePABZzz9xc49/8djH0iKUrGIHyvOx9vNiQftje9B1pK7PYRwKInmz8k zqFs4dEGX2NIv1thF5D+NLo1hflGXC977ApwVV0JxpZZT5/VrWY9sZKG2+xkkDuqVQgQEHRtZ4W gz9XA+3ls551+Ux4RZMwzSydxkXN3FONDs X-Gm-Gg: ASbGncvJN1ON8P6b7g4MmHMmb0ah5ILx3OHKHImDRLzib/OrJ/egdnL4yQZX8HP2QgR Q4F/YNMh5j6BiWa2N/L8ns2s5qof2zxkl+BqZS4GceMbQKPBddD3NTv+M6aTy+oBIiQ0EBHssnF XUGDN5dQW30eXb0HBOtJ6ZSvJ8XQ/gFcX/POp/DJMtW+8bJi9dzIfF0OdkM5OvZVJ4H5tkuk+R5 BbS3pi/HTcbsTwtwFESPMrNMvWeocOWlP3XCLDQM0oajjtbW/dtBgy9djhVXw== X-Received: by 2002:a05:6000:471d:b0:385:e394:37ed with SMTP id ffacd0b85a97d-385fd3eb189mr7172196f8f.18.1733331489352; Wed, 04 Dec 2024 08:58:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYF+VvmT7IXF7Ps/eS+2cjxmVm0h8B7ebW90J1pM7d277kHfFPPCEZul3oBasDuegR46dFpw== X-Received: by 2002:a05:6000:471d:b0:385:e394:37ed with SMTP id ffacd0b85a97d-385fd3eb189mr7172173f8f.18.1733331489010; Wed, 04 Dec 2024 08:58:09 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434d52cbd5asm29915205e9.40.2024.12.04.08.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 08:58:08 -0800 (PST) Date: Wed, 4 Dec 2024 17:58:06 +0100 From: Stefano Brivio To: Laurent Vivier Subject: Re: [PATCH] udp_vu: update segment size Message-ID: <20241204175806.052c9b4d@elisabeth> In-Reply-To: <20241204153321.87117-1-lvivier@redhat.com> References: <20241204153321.87117-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-MFC-PROC-ID: pGJhtlivpdnrbxhFXW1B5dakNM2RbUP-jLZN7OY8LNk_1733331491 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: WO6X4YRDZOMBTZI5XIP43DR5DKQAWRWY X-Message-ID-Hash: WO6X4YRDZOMBTZI5XIP43DR5DKQAWRWY 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 Wed, 4 Dec 2024 16:33:21 +0100 Laurent Vivier wrote: > In udp_vu_sock_recv(), collect a segment with a size defined to > IP_MAX_MTU + ETH_HLEN + sizeof(struct virtio_net_hdr_mrg_rxbuf) Can you briefly explain why, and what's the problem otherwise? -- Stefano