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 7BD1EA0597; Fri, 17 Apr 2020 19:58:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E50E51DB48; Fri, 17 Apr 2020 19:57:59 +0200 (CEST) Received: from mx0a-00103a01.pphosted.com (mx0a-00103a01.pphosted.com [67.231.144.234]) by dpdk.org (Postfix) with ESMTP id E1BD11DB3E for ; Fri, 17 Apr 2020 19:57:57 +0200 (CEST) Received: from pps.filterd (m0174892.ppops.net [127.0.0.1]) by mx0a-00103a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03HHtPDs013465 for ; Fri, 17 Apr 2020 13:57:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ciena.com; h=from : to : subject : date : message-id : content-type : mime-version; s=06252019; bh=t7AlONQg7bE9ixhFixCnFyCCzX1wL3X4+0zuUzfOZLo=; b=Z27+Y80HfUQbx1bIsESMTYudsfTcf1Hk2hj8L2HUEZ4QXri8IS/qod/T1j2VKrogxEa8 r4/GgvaaLtADDR3MIMtzHIZFU0jeG+DKguEiDnG9FZjzvDLmMVizifmbNIVoUwEOoR5m kGhOaBIxA7yB2KLW+eNt6h+m0v1E3KOc498IHOD2jMzLsoi3mnoIG1OWoMexfqDXN6hB T2fG0DW62XC4dFGLpwNIALyRloIjlHixMjLSlHgUzSoozNQwDc/sXcq0EASu7ppdGpfc /95yeWE6IuyEUcQWnb44ND5+qVch4C0ZTorZq81pJ3Q0iuxZWHi70emGDcSSyUryrV6n +g== Received: from nam04-co1-obe.outbound.protection.outlook.com (mail-co1nam04lp2050.outbound.protection.outlook.com [104.47.45.50]) by mx0a-00103a01.pphosted.com with ESMTP id 30dn7yr4xy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 17 Apr 2020 13:57:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g2ylI7BNVniiZ2Y9gPZAAjmu0vU59IikJS8E7oCk1wR9Ba897v6Z2hEsUNXbNXQRfj/R6lIUsYAEAHXqnHcUnFwlUCy7k5skINxnM15WWmKXb/E4Nc/3Qa0dvFcUnkEgap3RG/CJbUiDzlLactKmQT8SeZOQOeFxEihp41ebDFZg4kZyZlMzW16TtiIsTtLowpuUeHGRIzTU1eC1BXsv25QhZJZmCIvL39QWce8sqValoUnBREuKVbkMz8LGJyW32ZmGscFNXp3ilO77DhSjypoE4im389v3E26AdjZTc7Wmttld7tPYYrHD5BaV3eJwaK+nxYjPWHz9fNJP6vFQRA== 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=t7AlONQg7bE9ixhFixCnFyCCzX1wL3X4+0zuUzfOZLo=; b=Z7xxQN1stkvZOuBHAdxaDjwdcKqI14H7eCtw/u9UhXynLLeYYY38QmeoIKKTB/oVbohKIpfQ/olqMwlQ7d4g1jynf/fC9l2An73q+bAKlbf9/y6JzwP6w2cZllqQUotHwnLrIsyDAhY8zv2KKNdT253iD+nwBMlMDkrFtiUtrfnWazN2zQ3f1ZEr9mqz+ZcokZql2X8yqTiQKibHMOG9L4ACEvwwxg52nEVgPwR3eWiTJ5YLFGQRaEMGWlJR0vM3bz9nDdEAaE4GiGTMQ9Nv6Qc0ekMfPHzj+dzo/mJGQvhysCKiW7RBvgWVKxrvxZbl0aE2S8YPcX7Rpee0BZNB1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ciena.com; dmarc=pass action=none header.from=ciena.com; dkim=pass header.d=ciena.com; arc=none Received: from DM6PR04MB4714.namprd04.prod.outlook.com (2603:10b6:5:1e::23) by DM6PR04MB7114.namprd04.prod.outlook.com (2603:10b6:5:243::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.27; Fri, 17 Apr 2020 17:57:55 +0000 Received: from DM6PR04MB4714.namprd04.prod.outlook.com ([fe80::78a9:5fc5:7bb1:f9d3]) by DM6PR04MB4714.namprd04.prod.outlook.com ([fe80::78a9:5fc5:7bb1:f9d3%5]) with mapi id 15.20.2900.028; Fri, 17 Apr 2020 17:57:55 +0000 From: "Bly, Mike" To: "dev@dpdk.org" Thread-Topic: dpdk-devbind --status and PCI-PT Thread-Index: AdYU4C0G0Hw1SrH3SseOwWhlvd4c1g== Date: Fri, 17 Apr 2020 17:57:55 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [165.225.50.166] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b046058b-4d0f-4b11-d431-08d7e2f8db21 x-ms-traffictypediagnostic: DM6PR04MB7114: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0376ECF4DD x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR04MB4714.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(376002)(366004)(346002)(136003)(39860400002)(396003)(186003)(71200400001)(76116006)(52536014)(64756008)(6916009)(66446008)(66946007)(66476007)(478600001)(66556008)(55016002)(9686003)(5660300002)(8936002)(8676002)(81156014)(26005)(6506007)(33656002)(316002)(86362001)(9326002)(7696005)(2906002)(55236004); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: ciena.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cOHy5aucr6xwDkCEa9JWj+jfgS0b0QzGf4FZQGz+mAe/iA8/QypAXM/DCjwXCKco9BKts9d3CdShv1alWQnrGiA62N9eBpKvIw4NWg+OFaXMc9qL3EeG2HcmQ2wovlp5OIB+qitvCjgXWQceXfrjdKw+3/2hXzVALQRWHq5MBac80uGrQK5bGbVSuY3wbDLIwt2dtfH4/KsXDU8S7M5qivj0Dtka7bwhIEU+dos6xbHvCmYVHhiYxNa33O4wBIVYFXPlcSVtsDtRNHHNLp7gG2+QP6u1eL36bexaZrjXsHXlq0F5i0kdTKLuHhmb0oiJpDhhUhnUmqwoV2iaxRjcKDagIRUgKGpwHpg4yCAxKVLs7LByH9E+wdwYdaaHd+Po9Mlmn4oc1aVDE430eIi3NjPljq4tcEdpYYbLx862Ouzrk5prRJNP1OQ2aHyOxAWt x-ms-exchange-antispam-messagedata: AVS2i+FWkCOtnEPu2SPT7U/9jMEP/H1soAeqrUT+EOXTH7xQex4RFHpBwvsMjUIsDf9gfFlHKK0cyovuc/RpK5hgKpF78st7EQ1CFu67Sh1RGBATPGKOUUb03pJ5v4Hx3IMF1V1MvB8xh9HXA73DJw== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: ciena.com X-MS-Exchange-CrossTenant-Network-Message-Id: b046058b-4d0f-4b11-d431-08d7e2f8db21 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2020 17:57:55.0599 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 457a2b01-0019-42ba-a449-45f99e96b60a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pXEAKfLyziY0Wrr9wSbH9rgeNeWhmBvUrmJneC1DTTNYQ/TTomncQUpympH8lFAI X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB7114 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-17_08:2020-04-17, 2020-04-17 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 clxscore=1011 spamscore=0 phishscore=0 impostorscore=0 mlxlogscore=645 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004170140 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] dpdk-devbind --status and PCI-PT 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" Hello, I am looking to know if folks were aware that running "dpdk-debind -status"= on a host displays both NICs in host space as well as those "owned" by a V= M via PCI-PT where that VM is internally running a DPDK enabled application= . Per below there is no discernable difference indicated as to actual DPDK = ownership for host vs guest designation. In this example the first two NICs are being accessed via PCI-PT by the VM,= which itself bound the NICs to its internal DPDK driver. The last two NICs= listed are owned by the host DPDK application. The end result is there is = no way via use of the dpdk-devind script to know which NICs are whose withi= n the host space application. Is this known/intentional? Example to show observation: Prior to starting the VM, you can see we have two sets of NICs, some bound = to host application DPDK drivers and some bound to host kernel drivers. # dpdk-devbind --status-dev net Network devices using DPDK-compatible driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:05:00.0 'I350 Gigabit Network Connection 1521' drv=3Dvfio-pci unused= =3Duio_pci_generic 0000:05:00.1 'I350 Gigabit Network Connection 1521' drv=3Dvfio-pci unused= =3Duio_pci_generic Network devices using kernel driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:03:00.0 'Ethernet Connection X552/X557-AT 10GBASE-T 15ad' if=3Deth0 dr= v=3Dixgbe unused=3Dvfio-pci,uio_pci_generic 0000:03:00.1 'Ethernet Connection X552/X557-AT 10GBASE-T 15ad' if=3Deth1 dr= v=3Dixgbe unused=3Dvfio-pci,uio_pci_generic After starting the VM up, its internal DPDK based application grabs and bin= ds its two NICs to its own DPDK driver(s). After this occurs, the host view= is now as shown below. # dpdk-devbind --status-dev net Network devices using DPDK-compatible driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:03:00.0 'Ethernet Connection X552/X557-AT 10GBASE-T 15ad' drv=3Dvfio-p= ci unused=3Duio_pci_generic 0000:03:00.1 'Ethernet Connection X552/X557-AT 10GBASE-T 15ad' drv=3Dvfio-p= ci unused=3Duio_pci_generic 0000:05:00.0 'I350 Gigabit Network Connection 1521' drv=3Dvfio-pci unused= =3Duio_pci_generic 0000:05:00.1 'I350 Gigabit Network Connection 1521' drv=3Dvfio-pci unused= =3Duio_pci_generic Regards, Mike