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 85B675A0272 for ; Wed, 7 Feb 2024 11:00:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707300056; 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=+lau6QCSJvje+pYywORPqwmqrkgdz22GzowkTJA+bKw=; b=Kio0UMDyZbay9tw+CCvFL/jkq5WEoCsbEnvENJ/qFWG7KQXdZ/NP1MvNhQEiXyr9A07Z3t VBmd5wz4EEvJ03SEBH69Om1SALnTxctITOSpAszumQomWcUKnuDz6U9swx/CoqqAV7Ohuo gJEl5+XpjuX0W577KZrYV1YBjwSCe4s= Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-339-JXTmiBe1P1mAV0_vPwCMIQ-1; Wed, 07 Feb 2024 05:00:54 -0500 X-MC-Unique: JXTmiBe1P1mAV0_vPwCMIQ-1 Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-2968734a0e6so415695a91.3 for ; Wed, 07 Feb 2024 02:00:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707300053; x=1707904853; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+lau6QCSJvje+pYywORPqwmqrkgdz22GzowkTJA+bKw=; b=FVBHkBW/FpQtvXxZP00pQJQpjl2vTxGAcz+tsnnvJYBwSeFHAsTqCeSbS65t4s9RYH 4XRCCeJ7vVT6Pxemm7XC+xka7RpQXrGaX83AHA+cE/+sDEqsG+9EYH+k/Anlwov7m+HF mMx1gLKY+5YnbEMoeLEAIDz1Mitdg8JM4Iy87/n6Ol6aG1HtlLWd+PtrlFjpYFqEwRsm lOSOs0RUydNyCIEejY6ndCUVKAXiAR+NCQoH7gyO++TrZmUPkGMsES+Paon8uowARUTZ slFusONIIHYSvfx55xPCs71/Y2o4imTTtjxjTPRnxZi2XqXycKaprgw5yx1fAPu72/HQ Cbhg== X-Gm-Message-State: AOJu0YwIAKfcwvgdh2IVBMn38cC6ahR6LHbNKxTi34LmA968OS+WIOKV QAqrh/Zzn6Ygs68tUB1ll5Hj79o7+sO7vxLH6EqI3OSes+wI+pW4/PyJN5LaTVmkqSUOWCTBi/J S/imvUElAw+6cqJw+jrEA7AsZaEdIlNJlWYaOF0UGng8Uc1WKOZ9iN58tIQ== X-Received: by 2002:a17:90b:155:b0:295:cb3a:759e with SMTP id em21-20020a17090b015500b00295cb3a759emr2174549pjb.31.1707300053192; Wed, 07 Feb 2024 02:00:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqBgwr9gwnyMN/JxoduuIqzubWkOxbfTFcs1O0c3VjSfUWN1bqDHUitPlgEpfABICh7uETGQ== X-Received: by 2002:a17:90b:155:b0:295:cb3a:759e with SMTP id em21-20020a17090b015500b00295cb3a759emr2174524pjb.31.1707300052753; Wed, 07 Feb 2024 02:00:52 -0800 (PST) Received: from [192.168.100.30] ([82.142.8.70]) by smtp.gmail.com with ESMTPSA id qn8-20020a17090b3d4800b00296bb0b2f57sm1197243pjb.21.2024.02.07.02.00.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Feb 2024 02:00:52 -0800 (PST) Message-ID: Date: Wed, 7 Feb 2024 11:00:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 01/24] iov: add some functions to manage iovec To: David Gibson References: <20240202141151.3762941-1-lvivier@redhat.com> <20240202141151.3762941-2-lvivier@redhat.com> <0f7bdf00-58cb-4207-94f5-b13d34b1177f@redhat.com> From: Laurent Vivier In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Message-ID-Hash: SLYARTYEMYFSAAWXC22ALMRLASFJXFOD X-Message-ID-Hash: SLYARTYEMYFSAAWXC22ALMRLASFJXFOD X-MailFrom: lvivier@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: T24gMi83LzI0IDAyOjAxLCBEYXZpZCBHaWJzb24gd3JvdGU6DQo+IE9uIFR1ZSwgRmViIDA2LCAy MDI0IGF0IDAzOjI4OjEwUE0gKzAxMDAsIExhdXJlbnQgVml2aWVyIHdyb3RlOg0KPj4gT24gMi81 LzI0IDA2OjU3LCBEYXZpZCBHaWJzb24gd3JvdGU6DQo+Pj4gT24gRnJpLCBGZWIgMDIsIDIwMjQg YXQgMDM6MTE6MjhQTSArMDEwMCwgTGF1cmVudCBWaXZpZXIgd3JvdGU6DQo+Pj4gLi4uDQo+Pj4+ IGRpZmYgLS1naXQgYS9pb3YuYyBiL2lvdi5jDQo+Pj4+IG5ldyBmaWxlIG1vZGUgMTAwNjQ0DQo+ Pj4+IGluZGV4IDAwMDAwMDAwMDAwMC4uMzhhOGU3NTY2MDIxDQo+Pj4+IC0tLSAvZGV2L251bGwN Cj4+Pj4gKysrIGIvaW92LmMNCj4+Pj4NCj4+Pj4gKwlmb3IgKGkgPSAwLCBkb25lID0gMDsgKG9m ZnNldCB8fCBkb25lI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