From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0083.outbound.protection.outlook.com [207.46.100.83]) by dpdk.org (Postfix) with ESMTP id 4AADA5A24 for ; Sat, 7 May 2016 17:17:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LiDwGVsCr8NzqLrEgS9iUdrvMug3L3D+SRASinD56a0=; b=GhZRcUaF9TyZrx8Ei9WE+GTgcwHBvdJFuz39PqntCCo9CQhQWJwg7h2DZhzV+ru/Dnr4W10jhpOY0NW7z14rj+pK1TIOfS9Tn/W/IlGX70bWuZvjlew3T7+v9ozuni7lOnO5Ufv1ZAzWcHmCk8WlepD44STXO6CqzWAoqhIPNBI= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain.localdomain (122.167.10.92) by BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) with Microsoft SMTP Server (TLS) id 15.1.492.11; Sat, 7 May 2016 15:17:24 +0000 From: Jerin Jacob To: CC: , , Jerin Jacob Date: Sat, 7 May 2016 20:46:18 +0530 Message-ID: <1462634198-2289-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.167.10.92] X-ClientProxiedBy: PN1PR01CA0050.INDPRD01.PROD.OUTLOOK.COM (10.164.136.150) To BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) X-MS-Office365-Filtering-Correlation-Id: 84d0b4d8-4f97-4278-8995-08d3768ab2c4 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 2:UNXBMYb9XPc9naEnEMWDIOTdK/yHjG4J3SG7hMalpJ0dPL0ouq86LDqbT/ofFW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9iLzmunCtZwnSbdxj3wN9VS5IS9RZ5NPAnialDn+8pe1aD3tdp2F4C30dXmZbJoBuk0pf74Bw2dKmW8te3qlADqBmrtNNRdUUYZU41JSL0dYNPrpVOlDeI9i1Vp9z X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 20:Clebm35XDUkMVb+6wYYyefntb6ZV8ed7YeLDEHEL22ByyGTJrwK5otlBCSq7N5vl+ZFEB5kxYmFEp4aqKKJuSxreh5nKzDgGo4sUekjrcaMj8f5kkfYsM5RN6BM+kH72Wo60yuNlnLgQ++A0GBQtG93KXp5VGQn73oIUNC8H8WHUCDe+Yp6/qWT65nETrunpmyrOJ0HAjZaKaKKJ2mJjp97EVchBzlbpDz7aH+KQBAQX8mnNoBYWMssVf5WMUyvWEba5l/hQ3m3k625GTQVTD/+UX8oYuw6mRPcD3cpuCSTUr4ID7FoU16feMmEEvDtWRo7LiEHd5vjUEwtDmsmx+S0rMiSDdf7R4VXpHXHwQj6aer+YuExqscl8MiFX++3XzssW545b0jvibxJyTI4ppSUgVkE0vUk8FPWsta7IEpktw1U7PK93p25QvzF2ZBamCeTjakkbuYUzeebSdbS77le6pXFREuM/KeSIxACONO3CPgjmxX+a2umWrvmc9JIn3FYNtHz76D57EZBl3KTwyz7B0KHEZ3YChrKNuwWk0HSZMElCr2MkQzvwdzOqIL6SkMDuq0SDbkUP+yjf7jNLpJoLbwvBauzgfbom8GpjqPA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BN3PR0701MB1718; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 4:1PK+jE87hO8IF1rzIGnrayN5RtZFnlanrzaJyTkqSE0pJpbjjd8eNp6oS7omXR/ocHYZe3xFzCer2r/guCNukMrjvp7ej4EF93qoA5tnQEvWUIv086Od/y3MI1a6yMln/ufmqYeNMsUd+6OTbxIgoEJwpbM00iUdVbNWXAC/grPiQIivTZQIsbIoxSEFCOHJnmcM5C41H/yCP5+VEgdfgGfab3T2lTGK9ToyOCnoZjbY/diYIdYm3dnrEaBoOsCmLIgyo54lCzGoVuZ2HCIaiPRRyEINyP6O9ZSrFTiSCt0wXiIjfyL60lIrnTAERj5rZ/nEyyuxVdfQ9XNQ5Rs+soTNQlnVYQZcQLt3UbnGjYI/bs1WhOBg+aRQfmHaGtjY X-Forefront-PRVS: 09352FD734 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(50226002)(77096005)(15975445007)(48376002)(81166005)(50466002)(66066001)(47776003)(92566002)(5003940100001)(4326007)(2906002)(110136002)(50986999)(2351001)(33646002)(586003)(3846002)(15395725005)(6116002)(229853001)(5004730100002)(107886002)(19580395003)(189998001)(5008740100001)(42186005)(36756003)(575784001)(4001430100002)(7099028)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1718; H:localhost.localdomain.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1718; 23:YGW29n46L1O8baN9WSxaTJFKYBY+2CwOa8TmgpR?= =?us-ascii?Q?osxS/99Zed9xI31cdv25gdFuNkCwkYhVNynEQo3XENQEdYOR8XN2a7N48m3O?= =?us-ascii?Q?mXtAn9dkyIZjU0YA+zHiV/iyOQOWmyyzGcTW/1qquI+dJcHnbRxCMy9fxKVW?= =?us-ascii?Q?Zh5F3npWWmW8W02FhFwn/F7+iz4OHvnp3MP2gj6zMNlYRqZpaIZxZtTYZb6H?= =?us-ascii?Q?MMh6gR0029J5HsMY2ue9PGTEOADuiuMYCqdkNr58/Xf9x9kixXxenx3C4kk/?= =?us-ascii?Q?0OZawx3RoHg0GAOxR8QdsIJ6YAJ8kxI8OGRH6Z/fwGb7vPO54J8cxGQhyUhB?= =?us-ascii?Q?C+zg+8B1TkNoR6UaiuKkpqA7C0OIBD/tnQHOvPMzeCO+3m4OedGyCPoRS+S2?= =?us-ascii?Q?DGGt02Jjq4XK1KeEinhVgqoB83fNaogKepIrIQyA8uAP8I81I6qAvwledSyh?= =?us-ascii?Q?xKIv/F83vtwdGFlE/QXTrc7cC9Tl3tdSjkbFvYbLMNtp4LHquw1XtbTD8JKH?= =?us-ascii?Q?DSZNqeJf7NqpwSIWsFYptLHfl+W2gF8zs7Yqb9WrFv+G54Sgb5PvO3uUQDPM?= =?us-ascii?Q?Al80+md57B+68jfxncqbO5T2HjNGF+khtmvKL860Bml5AVFm61AMR6nc1YIR?= =?us-ascii?Q?svvbHMCSIqcXYGzLOgOU2OnfZaswhW26NpT2mMbo5hrYf1f1mOP6NN/T2hB+?= =?us-ascii?Q?mMkTP17kEmoveQbORtgLmHoxJuErnGcYXYlhBHTjGOxmBKrdxp6n8XtbQSu8?= =?us-ascii?Q?pJfCm6s6s+sw8evGSRdMw1m46xKhn4gXzBP7F7b7uzmRPVmNFjB9mMyIb7bq?= =?us-ascii?Q?f0qkECcex/WRBN1zSJDELBKNcWNN2gApmJplghut6EWvGHGKsi2Wegtc/DPl?= =?us-ascii?Q?Ygq/lwoOfqHiRnODQPRK0enHRk3snQRjocvY4wzYFVTsLlDek/GiQohbHPNa?= =?us-ascii?Q?D71hQ9mI/TeJ+3mgl5qDBIjpVaRi7HNv0kX8ADTTMHQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 5:2rytvU2pOYb3VJ5PZRubajV9o8IJuVUzYH9laqTZp6onSd08f8KZX2aThi9Vp4MUHaG9xe28WuBEzCG9mcKpJvNngq6tVomYU+qTsHZILp/as5fpSJa6dIFzfXrH2oToJ92fZ4CbmkYFwxKXJR14lg==; 24:cx3dLjbT2N+LSc95DrbuOI6WyRdV0mWKVIzpjpymy3na9DAVJJLCHUhbDfxlhn9ByPPtbHRABNGD+uUm8LjM0wxI5Rv1TZp48buFGQkywRg=; 7:W5HDqeHVmTWotbuPhiLnAETo+h4UGyes83KvT+JD8PiRt5VpWQi8vKU6+6LkYcWY1xGY0tSmpcThuK4ffPFtSVuZ8dnCNTYvZBoDpxzKVARia/CAihfB+ehu3HUjsmXP+d8IPWnRY173iOZLxn8J7cQu0Q2ADSBu+tlHc7yoSym1QjgBmSYUqlfR5ENw28h5 SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2016 15:17:24.2566 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1718 Subject: [dpdk-dev] [PATCH 00/20] DPDK PMD for ThunderX NIC device X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2016 15:17:30 -0000 This patch set provides the initial version of DPDK PMD for the built-in NIC device in Cavium ThunderX SoC family. Implemented features and ThunderX nicvf PMD documentation added in doc/guides/nics/overview.rst and doc/guides/nics/thunderx.rst respectively in this patch set. These patches are checked using checkpatch.sh with following additional ignore option: options="$options --ignore=BIT_MACRO,CAMELCASE,BRACKET_SPACE" CAMELCASE - To accommodate PRIx64 BRACKET_SPACE - To accommodate AT&T inline line assembly in two places This patch set is based on DPDK 16.07-RC1 and tested with today's git HEAD change-set 84c9b5a9fe926f1aa033dc5352be8d4a5e0b789d along with following depended patch http://dpdk.org/dev/patchwork/patch/11826/ ethdev: add tunnel and port RSS offload types Jerin Jacob (20): thunderx/nicvf/base: add hardware API for ThunderX nicvf inbuilt NIC thunderx/nicvf: add pmd skeleton thunderx/nicvf: add link status and link update support thunderx/nicvf: add get_reg and get_reg_length support thunderx/nicvf: add dev_configure support thunderx/nicvf: add dev_infos_get support thunderx/nicvf: add rx_queue_setup/release support thunderx/nicvf: add tx_queue_setup/release support thunderx/nicvf: add rss and reta query and update support thunderx/nicvf: add mtu_set and promiscuous_enable support thunderx/nicvf: add stats support thunderx/nicvf: add single and multi segment tx functions thunderx/nicvf: add single and multi segment rx functions thunderx/nicvf: add dev_supported_ptypes_get and rx_queue_count support thunderx/nicvf: add rx queue start and stop support thunderx/nicvf: add tx queue start and stop support thunderx/nicvf: add device start,stop and close support thunderx/config: set max numa node to two thunderx/nicvf: updated driver documentation and release notes maintainers: claim responsibility for the ThunderX nicvf PMD MAINTAINERS | 6 + config/common_base | 10 + config/defconfig_arm64-thunderx-linuxapp-gcc | 11 + doc/guides/nics/index.rst | 1 + doc/guides/nics/overview.rst | 94 +- doc/guides/nics/thunderx.rst | 349 ++++ doc/guides/rel_notes/release_16_07.rst | 1 + drivers/net/Makefile | 1 + drivers/net/thunderx/Makefile | 66 + drivers/net/thunderx/base/nicvf_hw.c | 911 ++++++++++ drivers/net/thunderx/base/nicvf_hw.h | 240 +++ drivers/net/thunderx/base/nicvf_hw_defs.h | 1217 +++++++++++++ drivers/net/thunderx/base/nicvf_mbox.c | 416 +++++ drivers/net/thunderx/base/nicvf_mbox.h | 232 +++ drivers/net/thunderx/base/nicvf_plat.h | 132 ++ drivers/net/thunderx/nicvf_ethdev.c | 1857 ++++++++++++++++++++ drivers/net/thunderx/nicvf_ethdev.h | 103 ++ drivers/net/thunderx/nicvf_logs.h | 83 + drivers/net/thunderx/nicvf_rxtx.c | 624 +++++++ drivers/net/thunderx/nicvf_rxtx.h | 66 + drivers/net/thunderx/nicvf_struct.h | 124 ++ .../thunderx/rte_pmd_thunderx_nicvf_version.map | 4 + mk/rte.app.mk | 2 + 23 files changed, 6503 insertions(+), 47 deletions(-) create mode 100644 doc/guides/nics/thunderx.rst create mode 100644 drivers/net/thunderx/Makefile create mode 100644 drivers/net/thunderx/base/nicvf_hw.c create mode 100644 drivers/net/thunderx/base/nicvf_hw.h create mode 100644 drivers/net/thunderx/base/nicvf_hw_defs.h create mode 100644 drivers/net/thunderx/base/nicvf_mbox.c create mode 100644 drivers/net/thunderx/base/nicvf_mbox.h create mode 100644 drivers/net/thunderx/base/nicvf_plat.h create mode 100644 drivers/net/thunderx/nicvf_ethdev.c create mode 100644 drivers/net/thunderx/nicvf_ethdev.h create mode 100644 drivers/net/thunderx/nicvf_logs.h create mode 100644 drivers/net/thunderx/nicvf_rxtx.c create mode 100644 drivers/net/thunderx/nicvf_rxtx.h create mode 100644 drivers/net/thunderx/nicvf_struct.h create mode 100644 drivers/net/thunderx/rte_pmd_thunderx_nicvf_version.map -- 2.1.0