From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0086.outbound.protection.outlook.com [104.47.32.86]) by dpdk.org (Postfix) with ESMTP id 35DB61CFEF for ; Fri, 6 Apr 2018 14:37:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=nbokzIat0bsmRSDSoyUUGgchPQKCvOjLMuP+KGS/e4k=; b=ODz9n8lcCkW8fDizTpdKBGim95BQXSaZPViJufI/DRMjnw+Rsils821b4mTWDDtLch2XkAX+t8c13aqkqyNxHWO9+QUlM8n+1xOeHpJ0bavu8Xd9PG9idfXgR72KsDwyQatDr9lTw+R11xCwU1TEtU/hmQnkUug71xLHgI+tbUg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ravi1.Kumar@amd.com; Received: from wallaby-smavila.amd.com (202.56.249.162) by CY4PR12MB1509.namprd12.prod.outlook.com (2603:10b6:910:8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Fri, 6 Apr 2018 12:37:39 +0000 From: Ravi Kumar To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Fri, 6 Apr 2018 08:36:51 -0400 Message-Id: <1523018211-65765-18-git-send-email-Ravi1.kumar@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523018211-65765-1-git-send-email-Ravi1.kumar@amd.com> References: <1522910389-35530-1-git-send-email-Ravi1.kumar@amd.com> <1523018211-65765-1-git-send-email-Ravi1.kumar@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.56.249.162] X-ClientProxiedBy: MA1PR0101CA0013.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:21::23) To CY4PR12MB1509.namprd12.prod.outlook.com (2603:10b6:910:8::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 65ad9406-c626-4e61-8d63-08d59bbb2f81 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CY4PR12MB1509; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1509; 3:blLLbSqskfmmnbbSnuctG3KjX2sXcQjmE/QOmWTcA+w4lQX2xym8OgCodH2Og2e7+Co8Df21RVPhrwqmg94ZbLJ3qO+eontLKuyxLF8//uKVU6CovnIti5Jv/hrAjQusSW0P3nHEx5sPzk7XifSss2IYvLSyDuWKTTBSCnoCR2qJUbRDZoFQgxA+rz4wvuY3Jayc7xsV2ccvoKc1LxpPmJLeyJ/CqqGbo3wtkArD+5mBZNuTiW0V8p4k3F3evyvP; 25:uRmsbz+7RMqd7nWSRGTMsIZIwHtvp4/ObMOD9Zx7gBCP8wqhSgffqZJeYjTwZZiDOisaILucSuAushq0txEhbdouKsem7IQOb+xvgfnYWoKZH032d/ZCAjgbnbvPJJiMjbN5/dC8pEN0jrmK/MPKW5ITmoCWkElPJ55iuKkQb/Hyh/PFw0M9pCKBipQGCiePJFuXkjZkdr1ZJmrsxaj8KEJ2o3m6FaMxETZP5VNIJG2SVJhOIXq0EHrzfrGbJQ0OdbUWZdIyd7D+AOJcKok2DYY3VCiQnVOTSd7aadF1bIvKx1b5ocxWz8C8o/+1DG8h8umec3R6ktlhg+z/xBOTrA==; 31:JUTuB9ssE7DZqkVO+0GaKWh6mF89XRptnyPScbAOLmqG9mT2kqBqD5llF8kRjquyBavgpkLyvifH8lxEXm4FXE2X2foGnyTiGU9Fy19RhoYo4HY+B5YCAggLUwUPEEBiGmOAfj89Cy0eWd9INeBe9az4vwtaYhvMD9uq42rEPeOth0RXHpqLQTBP2ZFvaHj7lgk33W559c02p+g3Ujsv5ouHj3/+EUuf6eBWWlK3EEw= X-MS-TrafficTypeDiagnostic: CY4PR12MB1509: X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1509; 20:TRUC+erQy3FtqIzuYR+gxZ2/WznnURCM/sqbb5NgHId9E8X6RzN9oL+127QUJ7yvGJr1H3N3B5iVgjxjh1HTg6uYoZohdLyTDXFjGFU4FhAsJ+ZcwhIAbyE6TN5/3jxJ6mGD9qCGTsDMwk0DrYMDr83jucFBpG/4YVkaABxICokRkgOdgyFa0Cx8FT5RfwyEK3bxdtr/S4yImH1MQhIycahONl6sE4D0e04vQl+9t88d4YLZ/+k9JdZYFc8zH2B5Deh8LJkRu+IlzN/0tmKRRDpLwhNCwTUDzKhxqscH15OhSWyOQss/JhmFV0pZr85le7spIdD5uIysYhwX+MM+fc910MzFu+2zDHFuyA/G1XArQ7tNbGQeN30FsBbscnsvGs42Rb8YSL4Ssosq+Z5c3GY0mxqWdfk8yVwbPuMraxbCXbMv5+/HzLujnKaq31/chV8e8K1YdwGt69TW0N7wX0Em6JeIA3wF7aiN0j+McaI4AdhN0fqhAj2ienDT+o3o; 4:xRSfqFB4lZWaCUJ7OdR6kTZSjqcttQwKHUBdKX00x1zyF2AkWB/G3csNTem4jDbqkar19eVrRehx3rwCYx8VNMKdknwJvleMIC1s2JTbBkxLJOkdWzAKTwsfTmqXntNXhIjY6ALVuKmEfTdLpBZh3CUMLcv4E0OPmsJpA+qqTFRliVS0+xxTThEtpZ8ydel5lC//Tp43E/zuGmIBbhGt0TGS2iMGQtb3YdhrS9yeozGDCexfTxOgLzJPv5Cmkjpgj4IufHuQVZwPOMDYtW3ZnpySBuzRjDiQjc/2Jm0kMlnr2Y5d7Xms8FhAmf4FoH+W X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231221)(944501327)(52105095)(6055026)(6041310)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:CY4PR12MB1509; BCL:0; PCL:0; RULEID:; SRVR:CY4PR12MB1509; X-Forefront-PRVS: 0634F37BFF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(39860400002)(346002)(366004)(376002)(199004)(189003)(48376002)(72206003)(7696005)(105586002)(478600001)(6116002)(50466002)(3846002)(446003)(486006)(53936002)(11346002)(68736007)(2906002)(2616005)(51416003)(386003)(16526019)(186003)(26005)(76176011)(956004)(50226002)(16586007)(476003)(316002)(97736004)(305945005)(2351001)(2361001)(25786009)(7736002)(36756003)(59450400001)(5660300001)(52116002)(8676002)(6916009)(6666003)(47776003)(4326008)(6486002)(86362001)(53416004)(8936002)(66066001)(81166006)(81156014)(106356001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1509; H:wallaby-smavila.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR12MB1509; 23:+H4Pu8DxLKy5VMYnNomKjzsVsIUj3IB0uZqXLc08f?= =?us-ascii?Q?mBkOUFpxLDAsQMdvGecGVtWCVWIoGzCayP/x/rnh7hsE0qyJy8RSFip8ySvU?= =?us-ascii?Q?+PQuRR6WA9VxW3ZOx72MIMw4jsRKisjuD10TG8w+YY2DeE0kgOE5Fbcg5GBV?= =?us-ascii?Q?51K6ppUrP3CsVzKNmrOjh/YIxHU0BTElMO7zILzXhwuIwCycVKszLzMC0Ln9?= =?us-ascii?Q?KFBps34Ls8ugc7j3ZG/I0zOgqJpRFrU06C6ihnDsG/Fk5GEstGNtp7XCKYwp?= =?us-ascii?Q?cEZvXREgdalcKhuTwyMKVPX0CrHXZEbKL3QJLjL1T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uI8Qni2mduF36ELUcWs6nVtDqVi9NICBY6ciEx26L1jnU3dwFnw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1509; 7:PHARKZosVBkExQ81+MVPc5AoeTnZcMw0Hdlgt1KanAIeVlAy42m1+Fq7+wrf2scEhUOL1DccezZVJ+6OSUWsz9+e7LdTeqJKeJkA0CgLI0dJNzjnA1zyXxZrXA1KoSWy19uXcbi6PUzuAhMqhGl1YES7A8884YY35OydMl7EUMGvW+rg98h6Ovy9G5Jw6FUcQSMNAJJttmhQzWrBukLxkVYozIDNQR3nyppDECO0522YpRjdcvrjgwtFbQxakOUD; 20:/3BU/ndc1nIKv73ueSxpcUHOdrDapL55QQ1o0j9nqiuHbo2uHsFcgYSSDIsrSMwfPBuwPQ/KJCDtyYVPmiXrJQejLhwgspjWS67vkY1IKQmgW5r/5TVbwzoLzOo5KnA5ZDGn8McrndmiIyHIHqT7K6QJIBjkZ5DjogQnxr9vTQHk9/muhY8Uqv8O9cdrrqKTj6aVnoSj+9Ky9Cu3JfL4ag6piCMBuiSwaRLCKguowbWz7IxZs241KG92R8OLEhHI X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2018 12:37:39.1471 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 65ad9406-c626-4e61-8d63-08d59bbb2f81 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1509 Subject: [dpdk-dev] [PATCH v5 18/18] net/axgbe : support meson build 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: Fri, 06 Apr 2018 12:37:44 -0000 Signed-off-by: Ravi Kumar --- drivers/net/axgbe/meson.build | 19 +++++++++++++++++++ drivers/net/meson.build | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 drivers/net/axgbe/meson.build diff --git a/drivers/net/axgbe/meson.build b/drivers/net/axgbe/meson.build new file mode 100644 index 0000000..548ffff --- /dev/null +++ b/drivers/net/axgbe/meson.build @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved. + +if host_machine.system() != 'linux' + build = false +endif + +sources = files('axgbe_ethdev.c', + 'axgbe_dev.c', + 'axgbe_mdio.c', + 'axgbe_phy_impl.c', + 'axgbe_i2c.c', + 'axgbe_rxtx.c') + +cflags += '-Wno-cast-qual' + +if arch_subdir == 'x86' + sources += files('axgbe_rxtx_vec_sse.c') +endif diff --git a/drivers/net/meson.build b/drivers/net/meson.build index aae817c..b7cac4a 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -drivers = ['af_packet', 'bonding', 'dpaa', 'dpaa2', +drivers = ['af_packet', 'axgbe', 'bonding', 'dpaa', 'dpaa2', 'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe', 'null', 'octeontx', 'pcap', 'ring', 'sfc', 'thunderx', 'virtio'] -- 2.7.4