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 C2BFCA0588; Thu, 16 Apr 2020 20:16:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 145FD1DDF8; Thu, 16 Apr 2020 20:16:02 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70081.outbound.protection.outlook.com [40.107.7.81]) by dpdk.org (Postfix) with ESMTP id F24381DDF5 for ; Thu, 16 Apr 2020 20:16:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FAucU9dEHGRxAyAWQdeg7QpUlYUunlbMFoDlhaAR4E0kti/KJDLhUJr488JfzZoVOgcsn9jz+CPp+iL5Aqe4bqcMg545Bfg8ywndaybzwEDHksc068UWVpiCbMFaZGBV256Su7Uaa4SF+fcqHClK/YOH7ci1EMfBQcgME4v5SR9KPkts1LaUFu5SmHUBpsGnYzETpTfi1Uf+x91XTu8Jpmo+YVFxeosT4pO+grqrNFOQkFcKxBGzDelGqkP2L6jE0q0a584f1DpKhrhuRs3gB3kvgIty/aRxS4gGDwp/QxyqHrGIlTIHJWHH1ml0KxApUwOK3zLsBH+J4lZwua25oA== 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=p4PGp6LqzxQY8wBSSxIKGP4Cb84Uc7sEmnpUF/Qw5+g=; b=CAx+jQIP0oE80xr3k0q1aQ2SuvSScarave1UCtxM33Y9q3WrOH82kR306wiT/EEMM2YMaSsf9odaxXCHgsrlmVVA09ck4NsE6xkeXyg+IeS3tllxW445Xa1Mh4Yjh/dtemfr7XwkLdGVTvBbve310GHeYOACpTMpdQenbsDDWPOiz+JM1a4+9wJn9G8ncAvhQzbI0y9ytwdncbXgCx9eunfzaCY4HBlpFLOPSTgdVU4gpHoJdzyWeegNnRdLFdTz3B5UZlyKhkpA8EealrlLut8vOtxzM8CRy7FlzchtDNBOedsbS4mg6XERCc+aJIEu7BLCOXmhbmPXy357WTzeWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p4PGp6LqzxQY8wBSSxIKGP4Cb84Uc7sEmnpUF/Qw5+g=; b=A9xcvIVJbp7zSzkf2vOcobCW4RiPwRmdnltTyFEjefKl5mvqng8T0maGgICcvpQZFeznwrYvrR5FtHuZpXJ8KFk2L2R8eJxfroLIgiTe5EDJ4Pb6aij9kB8ImCC2Aw2SMOz0L3X2JoRnXf0D5kh7IdpSMY9cQ/hmIWEIUQccb5U= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB4237.eurprd04.prod.outlook.com (2603:10a6:803:3e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.26; Thu, 16 Apr 2020 18:15:59 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2921.027; Thu, 16 Apr 2020 18:15:59 +0000 From: Akhil Goyal To: Nicolas Chautru , "dev@dpdk.org" CC: "bruce.richardson@intel.com" Thread-Topic: [PATCH v2 05/13] baseband/fpga_5gnr_fec: add device info_get function Thread-Index: AQHWBia0LDMyrX0B3EOvxs8jdLmBQ6h8KGRA Date: Thu, 16 Apr 2020 18:15:59 +0000 Message-ID: References: <1585526580-113508-1-git-send-email-nicolas.chautru@intel.com> <1585526580-113508-6-git-send-email-nicolas.chautru@intel.com> In-Reply-To: <1585526580-113508-6-git-send-email-nicolas.chautru@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [45.118.166.71] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7985911a-77ad-49e3-bbf9-08d7e23236df x-ms-traffictypediagnostic: VI1PR04MB4237: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0375972289 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(136003)(366004)(396003)(376002)(39860400002)(346002)(478600001)(66946007)(66476007)(44832011)(76116006)(8676002)(64756008)(66446008)(52536014)(66556008)(33656002)(71200400001)(186003)(4326008)(8936002)(316002)(81156014)(6506007)(86362001)(2906002)(9686003)(5660300002)(110136005)(7696005)(55016002)(26005); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AkqTS89uM44tKfhUl6aeFulg/m8MPAilJHuy3Puv6NpLrb13ujxvmkQln5B4+4D+mcJiGk4f1qLN3cQmIoHgC4IrckVPj3QGdFIpnnE0SQSFfBz89j4eev/LpuI/AwEFKrL/74MdhX7Q2CxYzkvYtRDc4aorkQ+PdKANIG9SWvXijh6YUTGVisu0psywy+6dIDolyhJzeM46KKDbTEEItfFCWm9iEZn/SnviFsLA62Pp0gM1+m8FN7SEolLsoeJNOhrQvk+7T+8Vms7SCXUBRGphjIUAXxGq9xLQQVmVC9VitaODjJw/HMTVcHt5U3LhoY0ytZZoyhVFpRGQAWtnCc8NJM6Ycmm0TV6o9StIoi06bh4fdv+O8sTjlbWipQrrI9R/OX6L75yVtKjMKfrH8qLRETicQPau+u/u7yDaXZe9GuZei/izVkzlAj45nAdd x-ms-exchange-antispam-messagedata: 7JJk98IMSxWI/VtrQEgbwfbYXSsfExNTR1ldYzsl4K6CcDv0/Kq8z+v4Jo1YZdjFqV4IAs7nf74OQnEkbd+tpECRLSW0w32JTbfnbNwn8u2fsPB3TIVVnikXDZeBMHJbOzSsB80MOe+sWfDNf6NP0g== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7985911a-77ad-49e3-bbf9-08d7e23236df X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2020 18:15:59.2789 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LkMfxu8rp4DTcWw4l5Qs1OQ7L8HkFsRRlmR/zjLUdpLSmZY8WLW7lMLzmwbuSCn5PwNrAVsiceu9Kil1o83Jaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4237 Subject: Re: [dpdk-dev] [PATCH v2 05/13] baseband/fpga_5gnr_fec: add device info_get function 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" >=20 > Add in the "info_get" function to the driver, to allow us to query the > device. > No capability are available yet. > Linking bbdev-test to support the PMD with null capability. >=20 > Signed-off-by: Nicolas Chautru > --- > app/test-bbdev/Makefile | 3 ++ > app/test-bbdev/meson.build | 3 ++ > drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 62 > ++++++++++++++++++++++ > 3 files changed, 68 insertions(+) >=20 > diff --git a/app/test-bbdev/Makefile b/app/test-bbdev/Makefile > index c53982f..e951302 100644 > --- a/app/test-bbdev/Makefile > +++ b/app/test-bbdev/Makefile > @@ -24,5 +24,8 @@ LDLIBS +=3D -lm > ifeq ($(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC),y) > LDLIBS +=3D -lrte_pmd_bbdev_fpga_lte_fec > endif > +ifeq ($(CONFIG_RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC),y) > +LDLIBS +=3D -lrte_pmd_bbdev_fpga_5gnr_fec > +endif >=20 > include $(RTE_SDK)/mk/rte.app.mk > diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build > index 4f53a2e..e57e019 100644 > --- a/app/test-bbdev/meson.build > +++ b/app/test-bbdev/meson.build > @@ -10,3 +10,6 @@ deps +=3D ['bbdev', 'bus_vdev'] > if dpdk_conf.has('RTE_LIBRTE_PMD_BBDEV_FPGA_LTE_FEC') > deps +=3D ['pmd_bbdev_fpga_lte_fec'] > endif > +if dpdk_conf.has('RTE_LIBRTE_PMD_BBDEV_FPGA_5GNR_FEC') > + deps +=3D ['pmd_bbdev_fpga_5gnr_fec'] > +endif > \ No newline at end of file Changes in test-bbdev should not be in this patch.