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 4F050A034E; Wed, 6 May 2020 21:48:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E767C1DABF; Wed, 6 May 2020 21:48:31 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 2DB561DABE for ; Wed, 6 May 2020 21:48:30 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 046JVlIR016676; Wed, 6 May 2020 12:48:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=/fASwUARMue0qWE0VGRQbb+azY68ujmzWNH7OGs3hGg=; b=Xs56FJv92jDPoE0y2YEcU6mF+ZrX3LqGe396qh7L/xfYsV6v5LICy5VQaJD7+skMJCSZ 34ozfGFk773/FS3ryYIggd2ty7CwdIJRB4XZuL2cZrVwJhcERvd1XAl43eXSqnILNHf9 dpYcLs+3n3UW4X7EJjnC4Pz7cnqdRfWTdK0LVw2dwTgOXNVSLa5Lxm/luBbLXyS2f0Gj 3uHSVjQlclVPBdQD+YSO7EwUQMZiF1FRcmXVwlVjnII844n4GceFBsbav8VmjQW5F+pC iMQ17JknCvXxBaqgswjLDng2qml0v+27xo5+KOU15DqCZP1zrGuLcrwhIODer3zFEwTQ UQ== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 30uryttp00-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 06 May 2020 12:48:29 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 6 May 2020 12:48:27 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 6 May 2020 12:48:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QlqQaXkzlTA2czj9zIxEBn+ijhAhHxRac1hCb195JXxP5eOMdr7cDA682B3Sn+BtfAtw9R7F1eo9MVwL6D0AY01ymCWTUgj28pw5xlhjvjI0dO8G3UHIs0wOHanRTHa7LLOorYqZ+p94VEv0bXZ4koYeaZaIksIZosoKS4WbCOx8UILmRjs0SWqyf/gRHnCu0jCk8sNEm/u/xtjFwIMddMway7pQPA/SodqyaDfoJLcRGeIjF2gunWPpdoW3KX/er4WhXc1NEyoN5EjPy5OemZeEt6V9oBEZ0mXpp8RVhi1/pC7DL5nJ5ukh0jHLSl43E8Nibloma5b0gQpOX5oV7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/fASwUARMue0qWE0VGRQbb+azY68ujmzWNH7OGs3hGg=; b=fT1bl4mD1o8jseX4jJ/fiNJ1ZW3POQV7OfrrtyNdmT3J/tzsrj55XedEn4gXLotQYNC2Am35szGGuqTPgepnve4PwZ72jd3dXw69gm0b2yyTsq4MbL5MPvF81PPrK3izBhq6HgAiOIkyMW39NPrPuW/WRsartA+TD88kJlCkDQ+DUbIp70Hr5cafui2lAB3Hq/I7VT7UzglysPIf63gnTCJmuD2k8EjeGi5jKnEtbdhUCg2Ds5exFAbW3aGY2w2rizE197p2eIcNJu8WAxfS3DsW8bAic+DbN5EDwKrE4vITxOrW7OQ1VHfqm32p6J4tkUgWnmX0bNDGxtmC/KMygA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/fASwUARMue0qWE0VGRQbb+azY68ujmzWNH7OGs3hGg=; b=RZ6YAtX+2Hjub6Ln+PhmWzGZHfw18YBxiuSHYa6HYVMPgHoLDbYjlTPWNW9FyitUiBmLOa6vBfnsd7mGDhPeCqAHMIOQ0nJ+kSfKQdWH2OgOpYX60/eQIQy845qVtEuUtgRREY/jeitpxlBHfzggGaSBdZNAFzzxSpIipmMhV1I= Received: from DM5PR18MB2214.namprd18.prod.outlook.com (2603:10b6:4:b9::21) by DM5PR18MB1386.namprd18.prod.outlook.com (2603:10b6:3:bd::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.27; Wed, 6 May 2020 19:48:26 +0000 Received: from DM5PR18MB2214.namprd18.prod.outlook.com ([fe80::a18a:2341:a36c:2c41]) by DM5PR18MB2214.namprd18.prod.outlook.com ([fe80::a18a:2341:a36c:2c41%3]) with mapi id 15.20.2958.033; Wed, 6 May 2020 19:48:26 +0000 From: Liron Himi To: Stephen Hemminger CC: dpdk-dev , Liron Himi Thread-Topic: [EXT] Re: [dpdk-dev] input port in mbuf Thread-Index: AdYj2qw99dXG6+m7RjGGlYGufvFpMAAA98AAAAAT4XA= Date: Wed, 6 May 2020 19:48:26 +0000 Message-ID: References: <20200506124258.69b138e4@hermes.lan> In-Reply-To: <20200506124258.69b138e4@hermes.lan> Accept-Language: he-IL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=marvell.com; x-originating-ip: [89.139.16.88] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5bc61594-b459-4178-02e1-08d7f1f6716b x-ms-traffictypediagnostic: DM5PR18MB1386: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 03950F25EC x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZybWULTogNxe3ztNJNoAdwCwqBNR2ZRNZ5Zq2HbBcOBoQCBwrngw0X9Gg61CvIMmitWW8MpUepnDtrw33Mi9pTlmCOkxODxSu/cDLGJM9pjm4AvRb7r7dsqRALg7j9YRisohWKE20Zk2DzPgkespug/GJnd3Lm8da6nY+Qb+8F9g0b0USgnZA3+qLjhrUiqGIht/TC+MMCfBbG+shb7ogRNN3WGR5Ota4HncfvORvRFJsC595a0BGfD/1PhOMlYLRtA+OazIAI29deCkVT2Zj/yDRICfzoLQ9bpQHs5OJjre1ALeL8qVFpbBY3mqp4aQzAJw9J5RNB3fwtWlMPfS/ydF3b9wS5JMXi0BZSEzGkQjEgvHAl1Q8yO27705Q521JrdjiVM9dkIPVbNMng+9Wue+2UAJjXveYxtTElE0hLyc0DgNiP7Nh5oAkhDD7Czm34nzTsM7kX3VYV7YLVOxe49UlOEulTXOCp3wb3eaYrYW3QhN+AeIHd8tMQfYMwYiIctQc7EoiRZP1hnyAa20Hw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR18MB2214.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(39860400002)(396003)(136003)(376002)(346002)(33430700001)(33656002)(55016002)(66946007)(8936002)(5660300002)(71200400001)(54906003)(316002)(9686003)(52536014)(33440700001)(4326008)(66476007)(66446008)(2906002)(186003)(86362001)(64756008)(76116006)(478600001)(6916009)(26005)(8676002)(6506007)(107886003)(7696005)(4744005)(66556008)(53546011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: uMrYdovUZzshqgQwpt4d9hquT1XtkNpnHJezl79THCLtbTSWSxcU0INYmh7A1PtQYqpvlU8XHKDvPwsmpPd0FdxIZqbqkHOzhbRhL5VBaa5EOvG+AuiSy9DjDxDCAo/U49nuxzwls/p8AVyy6cUYSch7lsfNAj/qYDwDstyyAxdQ2rGjh2BtykXk3k5TH3uuS4y89NRBUDAXJiiYtajpI0ATq4gFTC8nI8eKoyio0p6IFwlKUNol6Pincfjfiopor2bZWjFvz97X8UoTnTl/J+KusEv8MSyKj53QoKR6cwMC1Ae9vg+GPe1FTvWFvw1i10IJlJNw50uapei7cQbuAy4IUHR+x1UiYSZuLyKESlV24H7xTKtQ74Bpyrylc2N4mGR302/+AE7ha0dE+Qa/s5yLPXR5f42+ofXMlQ9of4TL/nwTKvWBnkBktiu9m3izEOoh0FA7dSj4h/r79YQ3O3xyljHf+t755VgvijUiumY/TBwTDOb5CGkNnEAJhR8qNMIt7n5PVO1jzZTOuqEhigGbUUGlOwABueg7rkK/KOkWzjVFjk+h6H+mGzkIBFQqpG5I9wwUXVMGLbAex6jc6FyZAhEFxuSag+Skjai1sN1kdKyKJFdZO0TIphRPEmTNLqyL/H/UW58EdYUoVv0UthCxmhZSxywyTOFKgOoz/NgMDkDjG5uCzrWhC/pMsqQnEKqhmVn05SUkZ4UEMc3Jye6QXoj3Ojv9MEouVBbZDQgSbDDXlZ4YevcLz3aiYTIUllcAPyEHizNqraRVLM/osFBfBTCzyIv4Zl189tqYsTM= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5bc61594-b459-4178-02e1-08d7f1f6716b X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2020 19:48:26.1892 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9SfzdOPymOz7Ja99hEg0yATFYJtDsNsjBtuhCrr1Z70GyrunZTlO5cSQkKD4LsOBBzTRLNyV9dmPdt3mN6J8WQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR18MB1386 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.676 definitions=2020-05-06_09:2020-05-05, 2020-05-06 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: 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" Fine. Is there another location or option to save this information? Regards, Liron -----Original Message----- From: Stephen Hemminger =20 Sent: Wednesday, 6 May 2020 22:43 To: Liron Himi Cc: dpdk-dev Subject: [EXT] Re: [dpdk-dev] input port in mbuf External Email ---------------------------------------------------------------------- On Wed, 6 May 2020 19:21:30 +0000 Liron Himi wrote: > Hi, >=20 > 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 ex= act purpose. > But we noticed that some applications are override it with the destinatio= n port. >=20 > What should be the right behavior? > is there another location that that this information can be stored and re= ad only by the ethdev drivers? >=20 > Regards, > Liron >=20 There is no requirement that input port is unmodified by the application.