From patchwork Wed Nov 8 17:40:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 118296 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5576126qgn; Wed, 8 Nov 2017 09:42:12 -0800 (PST) X-Google-Smtp-Source: ABhQp+Tmly0V5chl3lj96ajIjZDh8kISgX9vpx4toNbmtz8txYh/EZgG+IlSiNvvglRhjf5feB3/ X-Received: by 10.223.154.184 with SMTP id a53mr1248194wrc.48.1510162932098; Wed, 08 Nov 2017 09:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510162932; cv=none; d=google.com; s=arc-20160816; b=B01GMVve3TtWpORRYiSfxuX+J6V02KtNSfKP9swnLWcSgBRnLiZX1dI2dCjZKMLSY0 Sd+KP7Cj7SLod3tyIh17euhq0XmDmSdtp9E+j9VpHI+EyGVKHZlZCf+NuPZAXPoCyRVz gpNM8XCqPo22rqpE3htDOYwc7i5aiUjGlUOKj1HfWlXsMsxgr3PjFAob6mbyWxEdfpYo zOZEYPTY7NRLxn843pjCvs46DABCH6vDW2umnMCt/pNACZ7nUqmt041lMoqmvAEvNmd+ uVBRHyFchylDeAXxrRrJNz7TdoG6QdfIWMvHjkgE9s3DhMtB2ZltH/FidZEa/eRvdMXi 0gng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=zPbt3DRXjKaui2d1wc+CTY6ZsHUA+4Rjsk8Iz2qoxng=; b=FzntA/27+pRq46K1Fxmq81+p0T9MXv2r95I39A/y/9UHGenpUgPmfp2raYkgVyzf87 vgp+D2RWwgk4kzzg4NbIAp6gaYn7a4Tb6rfeyJdXsv/9Q6KH9N9v637jbSMlcnRas66I nOMLTAYjz4axjPtuN7INs0VXrH3fo95zTDiuaYspMRAkWQDKaDq7gTlB9zbn9BK2rpat tD8kHuo6U5mx8U0DL80/q7PlNZRjNdaW1J8QryGuWd4QE4kkS7vHOhhmbENAdgbLWToq a8/o8a1zqHmm1Yf/7BXOXBm7GfBevvsKeeZdzg1ZizCWXhU19L0jk1UMKWhqWg5mpG1p OOpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id d26si4804341wrb.314.2017.11.08.09.42.11; Wed, 08 Nov 2017 09:42:12 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E57781B2AF; Wed, 8 Nov 2017 18:41:53 +0100 (CET) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0079.outbound.protection.outlook.com [104.47.38.79]) by dpdk.org (Postfix) with ESMTP id 833921B2AF for ; Wed, 8 Nov 2017 18:41:52 +0100 (CET) Received: from BN6PR03CA0074.namprd03.prod.outlook.com (10.164.122.140) by BN6PR03MB2690.namprd03.prod.outlook.com (10.173.144.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Wed, 8 Nov 2017 17:41:51 +0000 Received: from BY2FFO11FD031.protection.gbl (2a01:111:f400:7c0c::128) by BN6PR03CA0074.outlook.office365.com (2603:10b6:405:6f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.218.12 via Frontend Transport; Wed, 8 Nov 2017 17:41:51 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; NXP1.onmicrosoft.com; dkim=none (message not signed) header.d=none;NXP1.onmicrosoft.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD031.mail.protection.outlook.com (10.1.14.196) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.178.5 via Frontend Transport; Wed, 8 Nov 2017 17:41:50 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vA8HfcWB031926; Wed, 8 Nov 2017 10:41:44 -0700 From: Hemant Agrawal To: CC: , , Date: Wed, 8 Nov 2017 23:10:54 +0530 Message-ID: <1510162854-10171-3-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510162854-10171-1-git-send-email-hemant.agrawal@nxp.com> References: <1510162854-10171-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131546365105321868; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7966004)(39860400002)(376002)(39380400002)(346002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(33646002)(104016004)(5003940100001)(189998001)(47776003)(36756003)(50226002)(305945005)(5660300001)(81166006)(8936002)(85426001)(81156014)(8676002)(356003)(48376002)(53936002)(498600001)(2906002)(8656006)(4326008)(77096006)(50466002)(97736004)(2351001)(2950100002)(6916009)(68736007)(6666003)(54906003)(296002)(86362001)(16586007)(316002)(105606002)(50986999)(106466001)(76176999)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2690; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD031; 1:KmydXDCBX3OsszSSYdnHfEspYb8C8YmEUVXN9VWHC++P9WrYysmoE5SPyuE2Fje6Y1wzTbd9YY1xYCXRbfFJ9i+O4xhI+GtbNwYoTiHJCBysxs8w4Y2tuSTUP0kqt7GT MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2f3a25ea-6f86-4d4e-b78c-08d526cffe0f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603199); SRVR:BN6PR03MB2690; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2690; 3:ICy01qcny4rsOLpKI1ieiLvIzhqeMk7yxStjewNxsf3t/ZYDWKrwEC6oWfKoflV9UPSCBm7h2LxXaDlT/HEvCS3eeYZcVeM94lKXAFYiZokYmofIjd1gdv+WLvOsC0EbMuMYmwKvFBEqns9v+sV8c6sIx9qkzVm3rQD1+Hu3v0AVBNBuVIXPHl92RMuBK9n+HL7MWHm6694CfH4N4m5VxBR0Caa11cqGhn5P5Kxyk050cJNwZjUPnZwmWXzBqu13HDd3a8sJs9loqLeGUGXGyk75eO+t4WFg7owmQTvQ/DeBLAMVuo6wxUqw1Bjcjvag2/pti4iVMgEpSyZbokseRdkpolROe7uygFGG+B0+AD0=; 25:AmVkSQ7KDAlBi5yGVtknAw7SKDvxJEx4QAxVTJnobXAziCQOX3OSBF5JutcZEd8nzVFN7goNc6+z/LZX9705pQw7ZP5N28B8+eWkQRJPfg0XO8BzpaM+mk8H689aKB24vQsmzcmLEaVQ8fOntYAcaJUnQhLr1nS5fGPQczgKg9WOtftFRRJvqyh+ulUaGsIqtWqF4eAPS17psZUppJCifZu28HaiY0k6erYNwGf1NpUYB2MnNRMDYgc9Oq1qh7pojK82QQKaR827Lt9ULl/Z+flJ/G1Ubwy1wykYfmmWu6gY3R68I7ESGszb9N+HoUdgzOZCnzqPGaMWJ1R2ONJfgw== X-MS-TrafficTypeDiagnostic: BN6PR03MB2690: X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2690; 31:dN3mfRs4R/wwLTwKtFiKBCg7vmyl+8O2u2Zfx8ojP799ipKLld2Up4y9zJD2WD1YZQ5yicuDzx7AEUVJvdgb8K+JZAU0aColoRpWVBIUTROzx583IViQtFvNqD7bc00eZaW6vmkvW5+eNXVdILjiRfLirxZpYhbL6J7zlv/ooLEwsHUPZ41W7TRHAEFLRXFjGs8Us9Cgeb05ctbm4N45O2zRlp4ngRqefSZHsbCvUVI=; 4:P4rYUnC9ChT65pTt6TUBKt8FeTZViJ1THhSBPDiLTzOKbVj6ASaC60LJaofCtuoQ2aN6DUDWU8ZgrYXb7ieNhDxzo4DVM4YDmRJ7Iar7B3fQw3sgGFVqFaMQW0I4uVchF+h4QtUut1CdNvHjZ5TMNy++2YkmSPf3uCI0BXYP/xHFO8IVT3ARn6qvY7Zmcc7TrjsiTl9RsVPdMQ+9v8nxE356P+6u3Nji05ZtIok0Is+wJGvTWat9vnbbk6dY/wkq00cj6Tc91t/GCB7LhH0//+yaSent5o9ZFdLIR18BIMSnF3lWHXL97aqM2VlN+jP0 X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3231021)(6055026)(6096035)(20161123559100)(20161123556025)(20161123563025)(20161123561025)(20161123565025)(201703131430075)(201703131520075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB2690; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB2690; X-Forefront-PRVS: 0485417665 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2690; 23:EUFaXGk9ofyGfuF8iusXhzMc1P86I0FJWIypxIDrZ?= 1wI3LzKr2J2+MwSkHiJVZI04ZUCIN+vxLKh3NECprzwyCXrrbdoBJv9WwwDBuyby5/cMyE/YoScsRJXTzgX9j9IHGL2B8AM0gnXomSZZZ8KsC2UYvQ5XbJdfijEehwONNbNEuOBMmbiaDiNwthnmPmakZSL/BbfRvKNb1MlPzEQtVX72UIp5qtwAjY966eHW00aVWkNxA0FnJRyRW92O5H1I2YzqL7ZtaJjAqRY6u8jPR6cUGgtm+Xqb+Y3RVfeOS2CQ3N0oyFvW/ifXpZZU9rcbNypZMBFQoMA/COKc7nNQS8BYUaqSQppXh1r9KP7OlptN2y0Ykudd+h8g+eYUFZkZVj51UUu9pXNgPkCs3Pco/WCCTX//urlw+PJyogesDypPWU5XHRneYm1x1K2eVQc21udm+/4OQmPhDDI4PveLqJlKTqnTevmpvJaCOYhjHFIa+mf+uTUZPDMhpjr/F5jRs6+7evVaNN/unx6oxN/uY7vgux7t6ytN5ZV/j4B4Kfkxx4X+s0S0D2uDYAZcEVY9rHTmPPc0XrzMH93GUjcjWODt3bkkv/hb2UzQK/I1/9HWweWZcg8unqOe7474qp1vyIE0QI3wey5NV9zo1Pu0lHCZmW9R9qRmwx0AV0l9UJa9aPFb9ozgIjoBFCrVIoKwRBL5uLbL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C0V/WlH7P0gcByfScV1w/cK608=; 24:cjGeWo8tugKfDjtFly3Bno+jnkBmZ1GWPMvSuQZnylf6U0QguvIZ7YdMrgsbeE5X5Zvzc7T4H0rSK1Mb18Dq8KfDzFeo7ihOwG+0Oo+EI5E=; 7:FUOEDLDOI1TbQFL4CalbBO/YytTTzCap53/GEuEz0zKCOu8/W6r1LIaYueqR+dhXQR/TAn2rJLqOLeWnUDR2u5oof4gJy2xthK0de+sA92L4OrYeXqEg6QdMTeq4Ra2bqcLfeBtkWZJSBDnVRqriOGOSaODst+fEiXDgDKZ6eR9vPJSLd5SKzFj8s31G/8q8aHWoDoJY18a1qSWIgRrkQ2JlG0OQbCPGhfvDA1Nouw7LmZPP3IutiLshcRSkBa67 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2017 17:41:50.3449 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2f3a25ea-6f86-4d4e-b78c-08d526cffe0f X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2690 Subject: [dpdk-dev] [RFC PATCH 2/2] config: enable compilation of raw device library 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" Signed-off-by: Hemant Agrawal --- config/common_base | 7 +++++++ lib/Makefile | 3 +++ 2 files changed, 10 insertions(+) -- 2.7.4 diff --git a/config/common_base b/config/common_base index 34f04a9..30ab741 100644 --- a/config/common_base +++ b/config/common_base @@ -793,6 +793,13 @@ CONFIG_RTE_LIBRTE_VHOST_NUMA=n CONFIG_RTE_LIBRTE_VHOST_DEBUG=n # +# Compile raw device support +# EXPERIMENTAL: API may change without prior notice +# +CONFIG_RTE_LIBRTE_RAWDEV=y +CONFIG_RTE_LIBRTE_RAWDEV_DEBUG=n + +# # Compile vhost PMD # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled. # diff --git a/lib/Makefile b/lib/Makefile index dc4e8df..4c60f30 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -126,4 +126,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_KNI) += librte_kni endif DEPDIRS-librte_kni := librte_eal librte_mempool librte_mbuf librte_ether +DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += librte_rawdev +DEPDIRS-librte_rawdev := librte_eal librte_mbuf librte_ether librte_cryptodev + include $(RTE_SDK)/mk/rte.subdir.mk