From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 808F7A04E6; Sat, 31 Oct 2020 10:27:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C1CA9CA0E; Sat, 31 Oct 2020 10:27:04 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id EA2DCC9DE for ; Sat, 31 Oct 2020 10:27:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604136421; 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: in-reply-to:in-reply-to:references:references; bh=kH4z6GTjE132MhYP7Kikj28UjC5D3nPevh5ukTaasUg=; b=Dwqit+w2h4L57aXIQ80zU6VOQyTBajA76k0gssoOQPf/memXA1fDid2yEWMWbvVjPpcVlq LMAtB7dLfgxvbhEKEWsX2sRUm+8fjrykZYHan313JgYT/DBQM4ZWbt/SNIxD8Enw/ag1lV FpBM9NGC2eXnd3LwYrf5L3e+lDZSJhk= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-203-lop1IuhcPqaU-xFL7GuaWQ-1; Sat, 31 Oct 2020 05:26:58 -0400 X-MC-Unique: lop1IuhcPqaU-xFL7GuaWQ-1 Received: by mail-vs1-f70.google.com with SMTP id j13so2514480vsn.20 for ; Sat, 31 Oct 2020 02:26:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kH4z6GTjE132MhYP7Kikj28UjC5D3nPevh5ukTaasUg=; b=E383mBRUoaX1ynrNg1CZ9/w5Uxzhj6zVALvaFxth3mHEez+mFdywVQFJRnftj+jJoX 3yfBeoe+OQRD7evzoEYYwLQjuUf0TjAIqvtZDxzoGdZAO6NMVMn3JbD4Rw2j2hX3swhL /3gu9J4dPDqf124ZXWdo5ZPPDacHx48bOEGDrjmk71i25Pp68IHvjVG8bHF9fapfAFkB svjG0Q5lQPSe+ejP7SB08g3EOSjbfuNkgDuUf9ryp0cw2l7WAYA90vWwBWMDD5ODxngD A4h70ASR8BvwAeGfXAoUMKpwrHhtBVjV7mEbcqHr7Llo/+ib1wjV8bpe7duBEyTp7SMj Lojw== X-Gm-Message-State: AOAM530y9dUKky169V08sFCQf7+bXlZo0/2UBbS3PIkX36Tiloc2UbPs c1a6hSxtR+ea2/LWJ05Ih2JMSnyZP+R1SvNVdjuPF2yngbGc1LozGdmAZJ1ekLbuPPR7xmT5Qii dBQxyXv8cwI1O/I31yoo= X-Received: by 2002:a67:f954:: with SMTP id u20mr10323949vsq.5.1604136418139; Sat, 31 Oct 2020 02:26:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtC6LuRwQCN3OOSi8MaHP25AYdWFqN1EsTFuWqXkIPp889yxc0i5QSIyly0Krrwhs2p4JFSDw7t73GvMD/3iQ= X-Received: by 2002:a67:f954:: with SMTP id u20mr10323942vsq.5.1604136417943; Sat, 31 Oct 2020 02:26:57 -0700 (PDT) MIME-Version: 1.0 References: <20201026052105.1561859-1-thomas@monjalon.net> <20201030174441.1076264-1-thomas@monjalon.net> <20201030174441.1076264-6-thomas@monjalon.net> In-Reply-To: From: David Marchand Date: Sat, 31 Oct 2020 10:26:46 +0100 Message-ID: To: Thomas Monjalon , Olivier Matz Cc: dev , "Yigit, Ferruh" , Bruce Richardson , Andrew Rybchenko , Akhil Goyal , Jerin Jacob Kollanukkaran , Haiyue Wang , Declan Doherty , Ankur Dwivedi , Anoob Joseph , Jeff Guo , Nithin Dabilpuram , Kiran Kumar K , Radu Nicolau , Ray Kinsella , Neil Horman Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v6 05/15] security: switch metadata to dynamic mbuf field X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sat, Oct 31, 2020 at 9:56 AM David Marchand wrote: > A lazy fix is to simply ask for registering a field at offset > sizeof(dynfield) - 1 .. what do you think? I meant sizeof(struct rte_mbuf) - 1. -- David Marchand