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 466DCA034E; Wed, 6 May 2020 21:43:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 45EFB1D9FD; Wed, 6 May 2020 21:43:08 +0200 (CEST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by dpdk.org (Postfix) with ESMTP id 9D6931D9A4 for ; Wed, 6 May 2020 21:43:07 +0200 (CEST) Received: by mail-pl1-f177.google.com with SMTP id b8so824101plm.11 for ; Wed, 06 May 2020 12:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ssyhx8rG4X63Ica0ZnpCZssyxuPDjyQP+hVdW+rilzg=; b=Hqgr5h1klFjJKhb4ApsK/NbBCCxEQnnSUHzf1lScVY3rDU2WKzoXfTrGOtDqbbBgAI pkmXNqXiIOs5nqp5UBcTqhQdvWc6QfSwvlCtDA43IAZoPoBCtzqDdvWU/+CkXcvVxKsm DalLkLZRpkneoM93P3gJt4yAbS2wOwtvjcAb8XIeF6AFc9pHppPCfDv0ddFLiEzf2biS ziKXuJ5hQXwFzwrAj4YbvUVunzS3gCfPUalxjYJTOvzlRKW9dlyUODQRqk0za/+NY4ZO O8kgYJzGtJU5Op+Vrjdv9eVzJ+zmuReTTDPX736ArESZYgHvp9ZaFNF7po+zoYMqxL24 QjwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ssyhx8rG4X63Ica0ZnpCZssyxuPDjyQP+hVdW+rilzg=; b=Lvx3jdiyuZHGLF19kpftY+qLIVD7ZkngjSEDdqE+4B4CkGPVSUFgp/ClQ2I+DUsNkZ poq//jd1k1VLlljmjWoOIDBZh+DfT0FTxz3h8ASu28vs04+tFD6nWi6BsAi2crEGCl5D cqzxrQ56P1MxklVQw5QqYRAh6NK1Pj7oW6z/irWKmlNyZRbIH0oK8AkNekLMtoes1tYt dH036IIegEIGrk95L/Ft/1euhRDkO7BBj1lLwFDupnsq9FStiJFrfSyPA4pQO9dx8K+2 L9Gxgkv8o76DI9b4uPdPDAdrfUDwiJyHzeVXETDV2+j4iPC/pxh/UfHGehMXCBC/g3dW uK2w== X-Gm-Message-State: AGi0PuZiMYt3W/OViLXQWxwmzJcqIfEipFB73R8mj5NUagHNK2VwEAKq u2V47lOytAvEk8T94DO1Lk2IaQ== X-Google-Smtp-Source: APiQypJCIK+P3VVxDcsodV3j3azXPuErdKTcL3atOYfCBf4qg2gqxcv3HMSS/+u6u9FnsgJQRByQmQ== X-Received: by 2002:a17:902:7e4b:: with SMTP id a11mr10342936pln.168.1588794186767; Wed, 06 May 2020 12:43:06 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 9sm228047pju.1.2020.05.06.12.43.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 May 2020 12:43:06 -0700 (PDT) Date: Wed, 6 May 2020 12:42:58 -0700 From: Stephen Hemminger To: Liron Himi Cc: dpdk-dev Message-ID: <20200506124258.69b138e4@hermes.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] input port in mbuf 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 Wed, 6 May 2020 19:21:30 +0000 Liron Himi wrote: > Hi, > > We need to save the input port in the mbuf in order to return the buffer to the right hw pool. > For now we use the 'port' in the mbuf as it is supposed to be for this exact purpose. > But we noticed that some applications are override it with the destination port. > > What should be the right behavior? > is there another location that that this information can be stored and read only by the ethdev drivers? > > Regards, > Liron > There is no requirement that input port is unmodified by the application.