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 1444EA034E; Wed, 6 May 2020 21:21:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 471EA1D998; Wed, 6 May 2020 21:21:37 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 78ED31D996 for ; Wed, 6 May 2020 21:21:36 +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 046JEtK8029585 for ; Wed, 6 May 2020 12:21:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : mime-version; s=pfpt0818; bh=LJ5Of01h062LbDGHmF8OqMZNafIqSp5edTS39qD++d0=; b=BOAnNp54/gg/6B5iKcDoLlRN1PgfvkfkuoqMvMntSPuWnHfDBSfa70soakQ6urZWpHIF XiBCYfPS8vrY4bAPF0vrrB408GOGRdYpL7Ny2u+jeTTKvjVjT2T9ZHBDnVaEsQCfvFLr R9nAn44U+soF7uAuE4UUFetvv1YoVBUgftZM2FHbjAGzdqJSe9EQEueQf5HPCNVWrh0v 6Un0ZBr8Pj39/MDFvUZmhKrTtq9aBvaOLMS3aXcEd62DqBi3pAPgMyLJ0kZIawaT0l1X 89iKC+iQ8DINOkzIpAWsGIN8KYVvHpGa3yxTPkP4veFYWJjlNzx3I966nUja8hur/qzE zA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 30uryttjtw-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 06 May 2020 12:21:35 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 6 May 2020 12:21:33 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 6 May 2020 12:21:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IxZiKQPjtzMx1puF47WMdM3W+7OfuJP1T0/UFOmFC7+vIyYPFxAYxMg3R6yt6/yWNG6WPAh4l3wQLrjCpYc9781/i1TkjmC59UpylYXMlT2BCREM8GrGt3E7T5eUAM//GyqT4wYLNC6TwvPgWfySn2rMuZMh07TuSgsutkCCTexYmxOguuul18jbOcTr/Qw98iJUGRR1HYLw+iDlQLa2Uxs0PZm/RXgZ5l8mGpgRz206jg2YvJILV2XlEneFNBGJjW0VI4SrankuNnultlE1wCja9ZFlEqc20iLFCfxo+Hng93WsSjuj6y/Zx9M1X0DLunhT3dMGzQnLaj4snWUcIA== 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=LJ5Of01h062LbDGHmF8OqMZNafIqSp5edTS39qD++d0=; b=ON02s3h6xi2Rz557avmTpM7ukVkZMkUQJN9ZWYI11/7fnpEfv1u40AedVi+RnJWfs5SOwhZwLvlnsCH15MnVwdF/2QNUvvLVpkqK0cprryxMP8/8p2g+dffQdNoSHsmbDrkzJ0tmjvJBeN1omYmmAHgx/2WeamABxboRwNb0tgb0yXa1W205YUCps5vFLkLzV76D9jSuLj2recmHlPDHsJ3J8Nuv854CMcWchJnsd6rBnGq2c3peFcSh/7iOigVOYnZ5lRCMyP4C/DNoQEOJNQTcfH14l0nCWo2A6r0vwPB06Kuo9MOop7QYJgyo/RovQRncF8uVubki/hq4cBdenQ== 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=LJ5Of01h062LbDGHmF8OqMZNafIqSp5edTS39qD++d0=; b=koH+NW9/aKkOnzoynxe/ag0t9+F1f/ljKL49bZFbfgjMld1VxAVIu0mhoR83DpAGm6Ak2yxa1Tl4omUeG243j60xtLYJ57L0zm/65UjsrI3wl+bvzAnZG2c/M7u3j77rFGymFCWKoFvKLoYECE0dMpjoF8CLdCaC0sSWCsvp/1Q= Received: from DM5PR18MB2214.namprd18.prod.outlook.com (2603:10b6:4:b9::21) by DM5PR18MB1403.namprd18.prod.outlook.com (2603:10b6:3:b9::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.29; Wed, 6 May 2020 19:21:30 +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:21:30 +0000 From: Liron Himi To: dpdk-dev CC: Liron Himi Thread-Topic: input port in mbuf Thread-Index: AdYj2qw99dXG6+m7RjGGlYGufvFpMA== Date: Wed, 6 May 2020 19:21:30 +0000 Message-ID: Accept-Language: he-IL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.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: f3836443-009f-4d2d-9b06-08d7f1f2ae64 x-ms-traffictypediagnostic: DM5PR18MB1403: 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: uhYjfSVrE70tD/xsu17E7aeTE1iXCvXA4XDOnZu6becibcYgnIxxFWfkUvB3FDsGeUQ3CQ6PDaoHwzwwORz6RRV8+vQ59QccOBboqX5lMgjpBgAFOQIIwodfZKx6XGT/hs2wz+Hner4emLt6TQkS+gVHpfmHmKy8PQi8VgfV9ocjsbTU3h8mZZyGsaeiBwD7Q4LWIOEpar30imMf0U3xPlr3VbmPYQSQ6zZyaaj8rrjUcWixzUsj0zR3rhEpZjvhUHj7uZmtoUr4kntRkyVjmOfgzOlv4upKFyOAltlTlWPV2XC3FkHpE3QnS4BmBDejIp7yzC5fBfm9J4kpgADe7sD+sm1SeGqnw2zS+jND5Cew8pf8nwWqx+WhlAi9pqTwRkOzykw46SfGSIkdJe4+1YezYR78a2PSdNM6WVzZvG6IH3iEKR58UEGPtmgR1bHO8naXGCRnii2YI6ANbGhVex4wLtfrK7ymUqT6bqIzoFRTXb0TADAANaWNjk5IBirJnC6kUp1BT/z8PueNCyU2pg== 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)(136003)(346002)(39860400002)(376002)(396003)(366004)(33430700001)(66946007)(8936002)(8676002)(33656002)(6916009)(9326002)(4744005)(7696005)(9686003)(316002)(55016002)(6506007)(3480700007)(66446008)(107886003)(64756008)(186003)(26005)(5660300002)(4326008)(71200400001)(66476007)(66556008)(2906002)(86362001)(33440700001)(52536014)(76116006)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 45yYlM66/RVxVi37YQbJbn/ypB4HBbKK3d0p/KD4N78kxr7lY+eEbRq+WH/0B8G2Z9SnqZ2yVwbp4Auz4HfkASWhAYR6jk3xVHz5ObbmTLqMIhRaiDt6B8YnvzOmedRF4MMlrzHRVbUWyUGxQGi2rgQknBEzEkJPrTIPtzxJ2ORUFoJHnvcsvV+jSuQs8fBj1Jq/Z8LMuusMQVf3sTTWCrAzH9Uc2k8k2yrcK+Z96RPfRprsDWvg3KcHQaKjpLZ9UjVZZPfo9z2u/zrJq5KMrD6nzPVnqXZmr9aH73nQlhDNZIzgB/teDq/++2eSyn2FMPGfbye4yI35KZ9RVLYUengWgkYG/Q4sMJO1QkUu4bG9SqkMeCGyucWe5yqSe/7ftbbPjKy55qiDm3O5KVXuTa15t9hJ8PFIqVebtt4a1kSntYXKq/tqsRzVgZVeuRibzYt7rYZavg9KQDdRaFdZyFSMzJ2aSaHwV04347ITB6ukGggl0sUetiBFjMEKe2h7JQ6m3HFdfeOqQVKX4IyEHJuLJCc1VeBChV1ApWKVGqTKcy1bAjtwdoUbeG0Wt+ovA2W5/xweN99dGAKU/3RsrxAjp0JdnKC2u0ELaCk5Ai0/yeU1sQH4G0BLztOVIlztI9wHHwm1o9tiesL9JTUD2xuKDRhDkURwJAwAyk6l5QqeB7G7OrtyeSTzPmtq8UqgJFLl2iVPrhAWpNACtSg5uKGzVJjtUoR6gn7NxBppoazkuDZmnHQcrH8HigNL9QFyAhr7u4xJax7WXBtfZyTEFhdLu5+vHVPbl24d8paVqBg= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: f3836443-009f-4d2d-9b06-08d7f1f2ae64 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2020 19:21:30.4594 (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: dOWQUh2GqB7LWaW7fyuwKy9I7sGjxUjs4G7oXFp302YAEGIoi6N4hcJcwATq8Zg5gTwsT5U6Zc+YQWwYEQKYmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR18MB1403 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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" 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 exac= t 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