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 43BA7A0597; Fri, 10 Apr 2020 01:07:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 232D71D176; Fri, 10 Apr 2020 01:07:20 +0200 (CEST) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by dpdk.org (Postfix) with ESMTP id 8BA631D171 for ; Fri, 10 Apr 2020 01:07:19 +0200 (CEST) Received: by mail-lj1-f169.google.com with SMTP id q22so334087ljg.0 for ; Thu, 09 Apr 2020 16:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=8nbzrZxCWDRGHte1MbA6q0Pzux7L8rhdZjzci807Z5Y=; b=2O4i5XHmCghIgKc4AQEA5tEDQ7UV9DaQDj9QOW5v8A3JMwDHnsZHsE8DYHHlwoTe6n wJvab1IYmWkU921MN2S6lodu+RZI6QDwAap9P0zwAYZY18rmLKY0KjluhKtAoIzPCmT3 gpSJz3kVnRd3h0rxpCyHkTy3SgJbY1AOGkVfuVsZNqtqn8cJDGcx3pG+1O2H3urU3rwN xPH6ksXPvAS4sv+RK/gjA+hcLqOASo4XnjCBRe8jPJEXbb2M1MH76fZQomXfeB1ZZk+J 4yNy33yhopj48YIo/y+rz/V/f+sNCYhRKr3B0Z2IbVNZBRCKVg2XuHhiPyXFrOauSBoH abmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8nbzrZxCWDRGHte1MbA6q0Pzux7L8rhdZjzci807Z5Y=; b=h3xFWdNw2lydeoQR+gakDCvh65/mPKwPCZgRlOgX1dKAfEwwUHA4Ctp+eTuAHEMTaY HMPtn2npeoBdohuYxRN9Sa40pAZKvwTKX4bx9SUEL68Y5ADbQoYf8BNY9863Zg2Uigt2 kcFP8D9+kEpO1O3hwvYUi2ozTu5QleLSfmU2kFTkWTwLE/NV0411zHA4tBoksR4ulnAe lnGztKNxva/O+8aERM6hgpp7F17AbuThC64Q3Dl36Qx2fjUYUJeHOLuqFbFD56pl7LXq D9eWY2C7JAAb5KptSfsAZWzcC+VgWfDD7zIzar2CM7sm47AB4z4mIYhQaLn3DlmtuCPF O1SA== X-Gm-Message-State: AGi0PubDEAY8ntRS1FbUjuoXhpJelkrpMMTlKEYWP9LRtMriBRfAXGEO erhzdJI1xEsgxc62vquz3HxnOW7RHNo= X-Google-Smtp-Source: APiQypJ+3akHc/WM+h+v3i/XjxilWuqhCZ/vWvAn1lvAnu5U9JIZUfsVUVPKmKBfWGZIliAtW6Sgrg== X-Received: by 2002:a2e:9815:: with SMTP id a21mr1310526ljj.180.1586473638922; Thu, 09 Apr 2020 16:07:18 -0700 (PDT) Received: from [192.168.8.100] (user-5-173-33-152.play-internet.pl. [5.173.33.152]) by smtp.gmail.com with ESMTPSA id 130sm240024lfo.42.2020.04.09.16.07.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Apr 2020 16:07:18 -0700 (PDT) To: dev@dpdk.org References: <20200331192945.2466880-1-jerinj@marvell.com> <20200405085613.1336841-1-jerinj@marvell.com> <20200405085613.1336841-19-jerinj@marvell.com> From: Andrzej Ostruszka Message-ID: Date: Fri, 10 Apr 2020 01:07:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200405085613.1336841-19-jerinj@marvell.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4 18/29] node: add ethdev Rx and Tx node ctrl API 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 4/5/20 10:56 AM, jerinj@marvell.com wrote: > From: Nithin Dabilpuram > > Add ctrl api to setup ethdev_rx and ethdev_tx node. > This ctrl api clones 'N' number of ethdev_rx and ethdev_tx > nodes with specific (port, queue) pairs updated in their context. > All the ethdev ports and queues are setup before this api > is called. > > Signed-off-by: Nithin Dabilpuram > Signed-off-by: Pavan Nikhilesh > Signed-off-by: Kiran Kumar K > --- [...] > +struct rte_node_mbuf_priv1 { > + union { > + /* IP4 rewrite */ > + struct { > + uint16_t nh; > + uint16_t ttl; > + uint32_t cksum; > + }; > + > + uint64_t u; > + }; > +}; > + > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice > + * > + * Node mbuf private data to store crypto operation. > + */ > +struct rte_node_mbuf_priv2 { > + union { > + /* Sym crypto */ > + struct { > + struct rte_crypto_op op; > + }; > + }; > +} __rte_cache_aligned; Why such definition? With regards Andrzej Ostruszka