From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0042.outbound.protection.outlook.com [104.47.41.42]) by dpdk.org (Postfix) with ESMTP id 351A71B6C4 for ; Wed, 31 Jan 2018 06:14:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RBH4dEd6wvu221lfUJkK9I1AvZl1J1EaPO6Tr3qzAq0=; b=mspoK19Qf0BGHi5UTDBAm6RnSNnMqPjvRv/TgCq5CGvjOYxWQ5azp5BjehyrCAvKlA/8q2ZRgYW8ozi4wrPA5eDU/ofFQmye7xgSZpzWhw4gZjgxPT8WwzFSWC0/mwVXWXlqlDfAKo3gKYzb2sZ4vx+HDu4DLNhtpFBBbDbIqQk= Received: from jerin.domain.name (106.201.47.68) by SN2PR07MB2525.namprd07.prod.outlook.com (2603:10b6:804:6::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Wed, 31 Jan 2018 05:14:37 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas@monjalon.net, Jerin Jacob , Pascal Mazon , Jan Viktorin , Jianbo Liu Date: Wed, 31 Jan 2018 10:44:08 +0530 Message-Id: <20180131051408.3652-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.16.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Originating-IP: [106.201.47.68] X-ClientProxiedBy: MA1PR0101CA0040.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:22::26) To SN2PR07MB2525.namprd07.prod.outlook.com (2603:10b6:804:6::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 19b4044d-0be8-40a0-66a8-08d568698760 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:SN2PR07MB2525; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 3:UNb6Us32knc6UE5BwLINNRQ/14lnCe3CF66tNMGpswcO4A/NqyMsJ5gRelt34QNGT7sUbOWHJletn4Wemk3A+ndJEVpM++OPqf+oYOMde6d2bMp8yTwKkPjFnbG7Dic/oWLcgXP8lmCfQ//3l07u+7bBwQpCQRqbl891WS9Ovo01bEroKmUvk/D2G4LlCfWmZVjZrXRzS6ou+UqmfWWB3Kg8qjQz7z091m6L2usiPIXMYLfl2pvwhPGod7uszuSJ; 25:FO/A2a8C+/dgWU5vR9avfG25mnDv3yqkpdCA8ipmfNgc7K550xIe89t4573diNgTay8/obAsdMt5dz49UtOTuM4KguLeCj1ayxKoVc55UtiCSai6Txicgms0os/c6VJKyl5P24DgbLuXlWof+NZH74ig86gnbvWgI2tqO+vXVVEqWwIOE0arM3Gp4pXWbFs4Q1UBI1ttgGah3978FhgH6wIoWRsEmKr/SMC8oqrz9hieUdel01QcbX18IYED5L55BfYnKPZO0Y7FD3ZfmbVd56qSXfxlvxtKlrhQU+dVJnlPwHxdSfdSXU/5znCNcVaY8B3xm/oNPsaQIKcd5JY1AA==; 31:3WC5CK3HxQEp1RmH31fIdk1F9RRKXaVTvb2Gp4+zNSCCI8QhnsllLDsShd+fNS4ON38jjCJ76gu3caWTqC04LC6vWFHaywSA4XXdDY5bp2atcrVl9XspaG8lf3SPs0kVvzEMOu8X8UP/56uiA3uXQ2VU3qUQxDvSflLqyjUgs0Kb0Vd2+okve8wdntCf51sWQspzFJjMQqoO815+uA5kDtDYy9FAQd5vDfXan1ZXVvQ= X-MS-TrafficTypeDiagnostic: SN2PR07MB2525: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2525; 20:kkMPoP8lY5jEpPpgAQE/SqWjWn/NygJmBBsmAc+8rkvpoGclndryRSiAs9L3+4WTwqkU2eDMCwyOeCRP5sMaKF/LQFEWfAOwQ2WT0Is0cqBngp4V0mzy04bseEMsVLIrdg/MxPNjOFmSmqyEle9ENaCLApL27FYTJ0Xly5rvIiKd2kCqaby6OLtBIaIjzeytSvypaMkyjuADdzxLC4oQ0mHnrKg5ai/bliEAxvuIDS+L+C+TnxwOjzhQioHJ9TrQT5bi+ETvSE3n8+M9xGJAT3MFOkTOWxRRKdlg1pKHG/w8sbZdHLI+HwS3PnOH0EhelBT9afb6qZlDkVI88Udxze3PokhaEhS59B+GCvKxvHkTNyYkJj1uOG0S56UasxJLaY1Zx/cxdshQyhwGsx1KCIhro4W4ZYiRaW5nFv46Ban8Kql4rQ2j94f6p1ltuJxKxWOUEgFkR4IecY3OZ5rHbWfXqpV2/NHQvPDoXRowM6A1JW6Q8jYV7VLa1GRSXMvMqVJe1f1gNZlv9b4afijE1QZ964gv0w51wkfuGKJ/o2y5X5O4+pn7yD25tXccNnX27mkjct7LV7vzepCbZ56r7RW2KT3JU25iXodPm0iqqx8=; 4:uJ4xPz/VMH+SOlac2ulANLZdV5BQWfA1WcmqpN5EzftN4FPP+/gOyxYoJXW8ieYJPSRU21Ksb7qdTWqHo80lHWBIprKiEFYkq3oKlxv1kl1VlawqJvfm1EJG8IH2MShKtCrN0ZETdfVehLYtZ62zwCp9OGON58wGTp52/nZPd54JvMpOArlPcJsBzBxmdDv0hF+/BCIVFwGDCwwlUdBnSNrmLrHDgnYZ9KI/SHzJKkcMW94BiK7GEKSNOhreCityPlCg2sKLo2vFTB0opQfQ/PXB2d7q4lQ/7Rzo2Mzd9zwv69TXzQ9gyM/4xcJpHc8P X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(10201501046)(3231101)(2400082)(944501161)(93006095)(3002001)(6041288)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:SN2PR07MB2525; BCL:0; PCL:0; RULEID:; SRVR:SN2PR07MB2525; X-Forefront-PRVS: 056929CBB8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39380400002)(39860400002)(346002)(396003)(199004)(189003)(8936002)(2351001)(68736007)(47776003)(25786009)(105586002)(106356001)(53416004)(72206003)(6512007)(305945005)(2361001)(66066001)(4326008)(50226002)(478600001)(6486002)(55236004)(69596002)(42882006)(6916009)(6666003)(53936002)(6506007)(2870700001)(386003)(7736002)(316002)(50466002)(16526019)(186003)(81156014)(97736004)(26005)(54906003)(23676004)(6116002)(52116002)(5009440100003)(8676002)(36756003)(3846002)(81166006)(5660300001)(2906002)(1076002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2525; H:jerin.domain.name; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjJQUjA3TUIyNTI1OzIzOkF5aVpTL0U5TTdwT2YyVDBXOTByYkpySlQ0?= =?utf-8?B?cUlQRFo2UDhDWWUxcDBDVHJtbFhCT1g4cjMrbDVMSkpNd0JuejN3V2ozOEtj?= =?utf-8?B?OFdqSkpIbFMzMjVRaEZtNFpsbnBBV0loRmYzOFNRb3dJN3gxMFFweDFWZmpX?= =?utf-8?B?MGxJT25JK294bWVhNzdGNXdPWERDdUloa2U1dlkxejlTZi9OaVZhTWNOOXhM?= =?utf-8?B?QVZjeDhjTUxnMEt4WTlPU1NIY1IwRU1nNHBvWUpOZDBHTUdxMTFsaXlHcDkw?= =?utf-8?B?aVFZenNaYnJPQmJXS0lCUVNCU1hXbmlVdmZxOHR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ddTfU8jf+C+EzWy8wyPF05RQcRG4P2Lok0J4KJKc=; 24:SM2z90LoXCBWzJNbClgEnnVHbTUTCWv6NOGTUuozVybVgKjH1UyYmxhUQy/hs/KU7Jcf8n5zfDIjulnHbbhg1o7NRXrHrudS/RSyuPiPLek=; 7:L9e0O0+y0r+rIHCIBe7hAj0S6hD1swd+oGZI8wIjy5++webeR4I5LcGDhPvNq8EgN4WRU/3WYq3Zfgg590IPaa7rap6fbXn/E05RYZsEN8m7NiDy5RBNvd+EBsoc9DSP2PhLOlr7Cxx5UdMNUmB2bqHthDXxTdb4vLXnKsCZotR7Fy2uETje5CLRv6jMMNruUMJ9Vs/9Esqa7viNIBwQv8Fq2Mc2qQ+MCWfwHO7FAlvs5e8yvidhq8+Rgaz556dC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2018 05:14:37.6139 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19b4044d-0be8-40a0-66a8-08d568698760 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2525 Subject: [dpdk-dev] [PATCH] net/tap: fix build issue with ARM32 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: , X-List-Received-Date: Wed, 31 Jan 2018 05:14:41 -0000 arm32 Linux does not support eBPF interface. Since tap PMD driver has a dependency on eBPF(the symbol __NR_bpf), disabling it armv7 config. compilation error log: In file included from /tmp/dpdk/drivers/net/tap/tap_bpf_api.c:15:0: /tmp/dpdk/drivers/net/tap/tap_bpf.h:103:4: error: #error __NR_bpf not defined # error __NR_bpf not defined ^ /tmp/dpdk/drivers/net/tap/tap_bpf_api.c: In function ‘sys_bpf’: /tmp/dpdk/drivers/net/tap/tap_bpf_api.c:92:17: error: ‘__NR_bpf’ undeclared (first use in this function) return syscall(__NR_bpf, cmd, attr, size); ^ /tmp/dpdk/drivers/net/tap/tap_bpf_api.c:92:17: note: each undeclared identifier is reported only once for each function it appears in /tmp/dpdk/drivers/net/tap/tap_bpf_api.c:93:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors Fixes: b02d85e1 ("net/tap: add eBPF API") Cc: Pascal Mazon Cc: Jan Viktorin Cc: Jianbo Liu Signed-off-by: Jerin Jacob --- config/defconfig_arm-armv7a-linuxapp-gcc | 1 + 1 file changed, 1 insertion(+) diff --git a/config/defconfig_arm-armv7a-linuxapp-gcc b/config/defconfig_arm-armv7a-linuxapp-gcc index a20b7a85f..4a55bb397 100644 --- a/config/defconfig_arm-armv7a-linuxapp-gcc +++ b/config/defconfig_arm-armv7a-linuxapp-gcc @@ -80,3 +80,4 @@ CONFIG_RTE_LIBRTE_BNX2X_PMD=n CONFIG_RTE_LIBRTE_QEDE_PMD=n CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n CONFIG_RTE_LIBRTE_AVP_PMD=n +CONFIG_RTE_LIBRTE_PMD_TAP=n -- 2.16.1