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 8ECF6A04B6; Sun, 11 Oct 2020 09:37:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4FA592BB5; Sun, 11 Oct 2020 09:36:53 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id EB15D1E35 for ; Sun, 11 Oct 2020 09:36:51 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09B7ZVZD005114; Sun, 11 Oct 2020 00:36:48 -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=pfpt0220; bh=DH5gRvkezxo5t04d3yVVk/yA+y6Xv3dYnjBYAE6nSDI=; b=JT9Y98NRQ4PTEX8YGGvozAWCKr6uODo6fqD41fERnlmOAEvBiRqlM1Hr3bsDIKJ1O0gq aHcsEydxnJkg05ZY0Hx8zgCuGwAU9KWU9k3U5COunAAbKEEyhJGNzSarMsmgUVTTHKD2 Vh5A/nnc2Pwmk86G+a4VAOi21GepDSSZl+TsQC1rY4pggvq/CZ2tPEb7LZ7sJsj69wDd RJBboSN1HBfW/ZnvbacEq4cMoWFfeni6rlkB1XZ2VSA83FS9Wl5BlMB0164wL59YN/U4 a31Z2qzYN5UXjGCEgSwciQd6MV5bZELeuJLgXdRPDTzLssoAoVv0ALohsWfddGel0EMc Hg== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 343aana8hs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 11 Oct 2020 00:36:47 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 11 Oct 2020 00:36:46 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Sun, 11 Oct 2020 00:36:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d8EWxQkNcXrVOpX2tGi6NK+XmmsmA7Zc1q1l3xwG3I6QzVWEPGmJL4gaqIxTnIxp02HeHJjixkn5CeBn9cAPqaoCUc0B+ZZ66eQV87VvsYissuKvR/wJkRRz43NG2hG9unCwQj7HHOQYihCOxgffbHvv0bvdGqYEke8S140XiOubU0qE0ditJ+yUpEFD47PV9VGKCculDyZ+ETY2kaYK0sDB/qekjngzle79GD44NVAKIufm1UDOjfZdOKysmzMWizKEgPG73RfBISOzdON5ViMRq+EI5O0E3dima8kcBSR4BZfS0VWmt9cKVJVjq0/+M8AfGDGiiWxsWS5KcHiVew== 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=DH5gRvkezxo5t04d3yVVk/yA+y6Xv3dYnjBYAE6nSDI=; b=fInQRPk+KcONZe+TQ54YDrvt9pZcY+SQekZTKTw3svHPM9GSZYM4OlLpDdQv96fAJusYi8/ZYxT6nK9XDE8XRmun7ZNQORUxvFiXgQuw4t2/GWHj5mQ1KXL4+xr7F2hCaOzB/yc1sbz1iPOU3SsYxS15ZssQiITDQN1ikihNRlTJ/ZrudrNXPoO/msgJDCYKG1oArMolissMLPI5K96RrRZuR6jnZZGcrk93xYnTXhTn71u4elmYLKTcIMMClVab7U6Ej1HhDJg7rpfovwoIeo5lD5Sg0h6pnhlnoIecFxf5B+8ljH6OrWfvvcZiGMKZJGQ9/Q07rxMZBX9YSXxwlw== 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=DH5gRvkezxo5t04d3yVVk/yA+y6Xv3dYnjBYAE6nSDI=; b=LceEZXGBuZIbs6pgygqrxlbWNIk1ZZkkMlqIpAnLPzehzTl5HbHjsL61J738Mrizz0NCklDbdvhh9iKa3Oq+etdQr0K5rV+LUwRlxcYaBYC+HX2aW9HT2hjKYp1VhyIJZaKPdBLGMa8K6UqlFDWzFBuTwzMcs1sUxBxjP9f4+4I= Received: from DM5PR18MB2214.namprd18.prod.outlook.com (2603:10b6:4:b9::21) by DM5PR18MB1321.namprd18.prod.outlook.com (2603:10b6:3:14f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.21; Sun, 11 Oct 2020 07:36:46 +0000 Received: from DM5PR18MB2214.namprd18.prod.outlook.com ([fe80::48c2:9ca9:3159:368e]) by DM5PR18MB2214.namprd18.prod.outlook.com ([fe80::48c2:9ca9:3159:368e%5]) with mapi id 15.20.3455.029; Sun, 11 Oct 2020 07:36:45 +0000 From: Liron Himi To: Guy Kaneti , Jerin Jacob Kollanukkaran , Nithin Kumar Dabilpuram , "thomas@monjalon.net" , "mdr@ashroe.eu" , "nhorman@tuxdriver.com" , "bruce.richardson@intel.com" , "anatoly.burakov@intel.com" , "john.mcnamara@intel.com" , "marko.kovacevic@intel.com" CC: "dev@dpdk.org" , Smadar Fuks , "Dovrat Zifroni" , Guy Kaneti , "orika@mellanox.com" , Liron Himi Thread-Topic: [dpdk-dev] [PATCH 3/4] usertools: add octeontx2 REE device binding Thread-Index: AQHWgFs23Oqt76vPZ0KqPbd1YjYLTKmSQceQ Date: Sun, 11 Oct 2020 07:36:45 +0000 Message-ID: References: <20200901122436.17748-1-guyk@marvell.com> <20200901122436.17748-4-guyk@marvell.com> In-Reply-To: <20200901122436.17748-4-guyk@marvell.com> Accept-Language: he-IL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [89.139.26.150] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f55e4e9f-66d9-439f-af8c-08d86db86807 x-ms-traffictypediagnostic: DM5PR18MB1321: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uhXZZla1Fy7uT2CFhwUpEWSPOvUN5SGiYBAkjwlcFbBGxl7Xc8V8a3SS8dI7TBcvh7i44HaBGdv8hhAqwEuMd+JXNgCDw1E/fFfyqEoNn+4TQG5A+N7LY2GIgGVjE9JCw8hb5MRhvcqcQ3XucJEEffeiq9pf9RH40X/79x6yCudjDbn0A0zrmyJHshHg230NN39Zg3P+2veq27YPvFDKfcsrwXENNxthO5tfm2aeNE4uHssZlhqKZlblLxTnufIIvGlADMOPYemf1DQjGOP3/lLPdcKTpU9WI6ofN1/FFftnryiITDUcNJMbDgn3ByggnPpkJK9MxHJ/wGHrAPV3u3R2Ft5/M7Jd6DAP3PSopu6VRA4aDGU8nVGzRvupdrIZ 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; SFS:(4636009)(39850400004)(136003)(396003)(376002)(366004)(346002)(71200400001)(86362001)(66446008)(478600001)(66476007)(66946007)(8936002)(64756008)(26005)(186003)(9686003)(66556008)(4326008)(110136005)(7696005)(54906003)(53546011)(52536014)(2906002)(5660300002)(6506007)(55016002)(76116006)(8676002)(316002)(83380400001)(107886003)(33656002)(921003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: ZWhecC/ZLAkzqIUSK667/jVZ7GtJTPOXnWfMXlP1jSSfpbNKg1U+pvp41sX5xoGTqVUO95GAyH3EKz/hSmU7mLOYVjhIyDf9l5a0lX7H27vorG+HC6MuAi5SMs4UDA2BbeZ+f4xRgPkcfeNCPfrpioiT7i65JjWOxnjdHHjAClrwC6MoCKB56eOva35sV9Fci/6Vf4twKr+/8gdAXeq21quihNRZDMnRpr2+QD2Pc8Hv47ugyPu/Sn3+rwA2cyXuq6cjP+IQ4a31ehQD4NyGWvHlUgBhcpd3HODzCUU8UgScIhKDdLE1SBt6HquzNaG61mOC5d3kudFMgK3lezMrNv7TDfzXCw1wDmeZdWmgBzPTVO7iUP9Y8CGXdLgLIGHVCr0QVEnVQKeQlpp7QgdMRtYDbhoYqkLaAgAgZfUccBuxZ4blU0qGbubJ2C4z6mDm6exuluF9EyIcMCcQKZZDfP86v2uhVMXMUqNeBgyaMRVfJNgxGgkXCq4YWms9b9nwPfnQRvGCTZXZidSBxIchFLW+3+JdD0B1DnhLa8b73PVg8IvDGRio4BcJDCmgkL/+T4RswNMgFv4z4Wq+vmXe2sV8IQzcYq5oFd8Cpuz3S+XGKB3QBTBBwxYXEBi5fsm3TJMuVvmVNbXTR1LhbK/73g== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR18MB2214.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f55e4e9f-66d9-439f-af8c-08d86db86807 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2020 07:36:45.8480 (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: HsenS6ahaJtWfqX3aOaxok61n5SdhimvFUAcbHl/FXFiBqFBh7IJWPPwX6eLcBTtdmnxevq02ExEl0W0GqWrfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR18MB1321 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-10-10_07:2020-10-09, 2020-10-10 signatures=0 Subject: Re: [dpdk-dev] [PATCH 3/4] usertools: add octeontx2 REE device binding 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" Reviewed-by: Liron Himi -----Original Message----- From: dev On Behalf Of guyk@marvell.com Sent: Tuesday, 1 September 2020 15:25 To: Jerin Jacob Kollanukkaran ; Nithin Kumar Dabilpuram= ; thomas@monjalon.net; mdr@ashroe.eu; nhorman@tux= driver.com; bruce.richardson@intel.com; anatoly.burakov@intel.com; john.mcn= amara@intel.com; marko.kovacevic@intel.com Cc: dev@dpdk.org; Smadar Fuks ; Dovrat Zifroni ; Guy Kaneti ; orika@mellanox.com Subject: [dpdk-dev] [PATCH 3/4] usertools: add octeontx2 REE device binding From: Guy Kaneti Update the devbind script with new section of regex devices, also added OCT= EONTX2 REE device ID to regex device list Signed-off-by: Guy Kaneti --- usertools/dpdk-devbind.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py index 86= b6b53c4..51ee990db 100755 --- a/usertools/dpdk-devbind.py +++ b/usertools/dpdk-devbind.py @@ -44,6 +44,8 @@ 'SVendor': None, 'SDevice': None} octeontx2_dma =3D {'Class= ': '08', 'Vendor': '177d', 'Device': 'a081', 'SVendor': None, 'SDevice': None} +octeontx2_ree =3D {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4', + 'SVendor': None, 'SDevice': None} =20 intel_ioat_bdw =3D {'Class': '08', 'Vendor': '8086', 'Device': '6f20,6f21,= 6f22,6f23,6f24,6f25,6f26,6f27,6f2e,6f2f', 'SVendor': None, 'SDevice': None} @@ -61,6 +63,7 @@ mempool= _devices =3D [cavium_fpa, octeontx2_npa] compress_devices =3D [cavium_zip]= misc_devices =3D [intel_ioat_bdw, intel_ioat_skx, intel_ioat_icx, intel_n= tb_skx, octeontx2_dma] +regex_devices =3D [octeontx2_ree] =20 # global dict ethernet devices present. Dictionary indexed by PCI address. # Each device within this is itself a dictionary of device properties @@ -= 648,6 +651,9 @@ def show_status(): if status_dev =3D=3D "misc" or status_dev =3D=3D "all": show_device_status(misc_devices, "Misc (rawdev)") =20 + if status_dev =3D=3D "regex" or status_dev =3D=3D "all": + show_device_status(regex_devices, "Regex") + def parse_args(): '''Parses the command-line arguments given by the user and takes the appropriate action for each''' @@ -723,6 +729,7 @@ def do_arg_actions(): get_device_details(mempool_devices) get_device_details(compress_devices) get_device_details(misc_devices) + get_device_details(regex_devices) show_status() =20 =20 @@ -744,6 +751,7 @@ def main(): get_device_details(mempool_devices) get_device_details(compress_devices) get_device_details(misc_devices) + get_device_details(regex_devices) do_arg_actions() =20 if __name__ =3D=3D "__main__": -- 2.28.0