From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0063.outbound.protection.outlook.com [104.47.36.63]) by dpdk.org (Postfix) with ESMTP id 6CDD37D56 for ; Fri, 16 Jun 2017 07:33:25 +0200 (CEST) Received: from BN6PR03CA0091.namprd03.prod.outlook.com (10.164.122.157) by BN3PR0301MB1186.namprd03.prod.outlook.com (10.160.156.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Fri, 16 Jun 2017 05:33:24 +0000 Received: from BN1AFFO11FD028.protection.gbl (2a01:111:f400:7c10::120) by BN6PR03CA0091.outlook.office365.com (2603:10b6:405:6f::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14 via Frontend Transport; Fri, 16 Jun 2017 05:33:24 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.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 BN1AFFO11FD028.mail.protection.outlook.com (10.58.52.88) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1157.12 via Frontend Transport; Fri, 16 Jun 2017 05:33:23 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5G5WNFU001003; Thu, 15 Jun 2017 22:33:21 -0700 From: Shreyansh Jain To: CC: , Date: Fri, 16 Jun 2017 11:11:01 +0530 Message-ID: <1497591668-3320-32-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131420648042504127; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(336005)(39840400002)(39410400002)(39400400002)(39850400002)(39860400002)(39380400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(85426001)(6916009)(48376002)(36756003)(33646002)(5660300001)(2950100002)(2906002)(104016004)(356003)(5003940100001)(6666003)(38730400002)(105606002)(8936002)(4326008)(575784001)(86362001)(81166006)(106466001)(189998001)(50226002)(77096006)(50986999)(110136004)(76176999)(47776003)(2351001)(8676002)(54906002)(50466002)(53936002)(305945005)(498600001)(8656002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0301MB1186; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD028; 1:J5EocGJZVtOFeDlcJKYUUILHIeKue2oRNh4jvBsdVRRgUcXwS5DhuEVpnmt5dc2Vxu1Kvb1Hzb2Dd381GnkQ8Vn9WDC//JukdK0ug6Ka+NZ8PrzdMxxlAoSRmPZ7PhQwmdvsHSQYWOXm7TCl0ry599UUOXYlYZKFQAlh/NRfOdTTV+TOaPxx1QA6+VPF8MLHghW5qLJ+AgyMbcLdlW31hDxEhHZqnwLff6qSu0cI69pKIUjThXzpACpCsKPTQYS5gmjNfwfam8/E2nUP4kPG24SzULxcglAtfVmDOmTFD7TJxVHHijSg82AuXIRDzdbEMW+ojCg2DAHhm6zlvHwdI5HfBls2WRqEbIuylQ8oLPg/TkKbUk2w+LptW8kf/UobVrey8RNLpeG8lMWAeOXN2zokZF4EMrRQ6j41a+iRYNYrAHuLzFtb0Xf5LgFwx2LLyU04nSCDN37P3s/7LBH3q5o7ZBzflSSj9krcVy+Ub/kjsQrBCZNbmbX03z/sGUbqQVjvgXMBYLLOStslqxkYhMglA4rBzvkuDxRV5lD5VIrNhv3e0N05isVS/bj/eMZXIPcE6gbATlvpl8xkY9Pyu3GTBfuZhijD+W9mmDxEUAzKmGu6J6iEwRxHuHnxi8Dj//a/FTBw8BmuXHr0RuVwFgNVqRMyYwhvs8P6oE1OC1lRu2TZyw6rmIZNxs5bnRpS3At6EdKb0fJlZsQ6LN1y9zDaANXOp0nvoEOwmnP63ms= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d183fbbe-5626-40a5-94bf-08d4b479351d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BN3PR0301MB1186; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1186; 3:JNzWc5ZzMDjMHCo5mFuS97MGM9v6Z3DybL7FouZRPsEvXTKxLO0iIPeEfwfQgRPGy8eDi4wYUTl6AubpkBmnXu36hxTdrDpw4hL3KBm0N99t8PWRAxhYSRd28/gTvdSLoFpZrQLubZDEUHUC8jwL42pr8gCTCHhSF85leX6XFhLeGX2hF2M3froNzxwaObM9TCojj6zewR5utJ3gUMuibf/0x4Uj33W6zDCZwDeXfdjWGMTTyqrQ6Ib4H+ExC+t/6iWpRLhh79ADCTe8exRlqE69RBxaN2ynX9rJoa7uGYFbjpA7qANCKtPKroU5ONJ8LeMPlM0IQL/v1SYb+Qc+EJzv/Bng5DCfi49exmqw6MmGd150QMU9WZtvVt9NY3NO3Geb94GRXdgzYunDUnsliMjoTjQKnneub7d7YuUXC2xOy5Alc8CAZ8KkrsBa84sE; 25:nMQCfCx/5e9FLJy23HlhlyZrtpegVEo2W2n41M9SFn/QCQpWNhKuUwKX8Ufmfxa+y+Xzo57Feufn7CjbshEn3R8S0LyxSGVjbmr+cMrkig+jd32QKCYgd5RYlByFV51ep/qV2rE1lXY4IrQozEBLn9TAQzFVd3QbgVoETxx1XW0KL65JEfxA8Q+E+haGNVeZzHi0VBprN8rY8a86mxcJPgydyboNBGU0ioBLjuwvn59L7DSTZ1ABc5UsNeu0kCGYjbcZNzounGUTZOSZ1SIDgF9GrX8gxJpiDrHYiydy1UtNtFgvmFgWY7Jk/b7P17l0DZ+3nh3ofy2QbCWP9XXOFXA99xzgEwHxozrUECD+VI4XocBtX6pHi6uDEHWSLjKvt1sXjjRNipEPxTAz8elKIkDLQPW5OjeW1afJqQZdymk9LYLtW1DY7QCiZ6wIJatFMCHxAHAdRAi84eXDPtPbjpHvdvMOUeXHZZwpxm6mchI= X-MS-TrafficTypeDiagnostic: BN3PR0301MB1186: X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1186; 31:MOuPVOWY28/wWcAdHqK6Rl1UcWXOapCZbVbmE+r+conHjofrr6M5PMyAid3ghKESaQFAUCjq1tiC8J3JCMGgd6G1FV/OfmiN07Y+vsYI5Uj8NlcXZERY0m8RXs2sTzeznKhrlfKgcb4QgJd/CpUrMOTi3DItJiPOe9yl3zEdu8y4shHmSY3MrByv9/Xt9uDRkNHZwRGDNiisjQy8Tu/r8mrcnRYOdOPusicVVK7B1FiTvE7fSwQo3MpDsiLm4St8AtchWGZNIEfmgxMsgK2tcg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(13016025)(8121501046)(13018025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123565025)(20161123556025)(20161123559100)(20161123563025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0301MB1186; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0301MB1186; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1186; 4:VsHhNwezqR56avENAgXqN0WjfMZ6VZacMWnPOEgr?= =?us-ascii?Q?zqy507WA/R6JxeV5zlBqKfgEhGv3yaq8ACvDdhCMn2AMXnPLUaxbMZ7K9xPQ?= =?us-ascii?Q?EoIFzxdFd2ct5Q/JriSw04F5FXnKYS3zW9QwqPuKFsn4Gt7/84PZitLgz0Jm?= =?us-ascii?Q?buR1LmD4KWmcKaHa2egL93XbekSh7fnsf7S2wHD2HVyd0OIXIPtFAJ1luaV2?= =?us-ascii?Q?eeBMyK6hqWAauvOI154hbDk9NIeCFbuxmV/nHEIKaRjWLyT405zmuvWZTWmo?= =?us-ascii?Q?0lCCqwp8HIXXLn6spHEAK5b1tQj6QFOVmDw0MhaS7J/y8iGxKmx2XyIlrBOQ?= =?us-ascii?Q?rqb+A+5xRrCDu9kyDYXyxVmab0q+w4XHd+5yrsbfb7AUKuBQ3TeAUXpXqr14?= =?us-ascii?Q?n6skmRtvCFwidByiIygHTWJ4l05T71deA1iw/B9MTWxqLZRct7om+hCilmqK?= =?us-ascii?Q?uJmza1sgeWh3cvpIo6KglKpBBjbKe7QLQuCxuQ4w9fOcDGhmJbAY8aoW1OXx?= =?us-ascii?Q?OmShEg95CG14WovGCElgfTjqj8azM68Z20i7Nlypm9wVxy01EJGCBpD1WjKP?= =?us-ascii?Q?P42EBdnFCp8tN/2L6xm9Nku/C8aTRr1hKBMp/D/fsUcWfhNTkuYHuAuAxGis?= =?us-ascii?Q?run9fZSFhaSimQsomN6GhPGsZtmEhe+jx3fWVh2Uboid+m1Gji6gvrnt/hk7?= =?us-ascii?Q?Ek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OPMUF6rVCKkee3J4uWLUaeoWVt95E+YPipGqNOtChj?= =?us-ascii?Q?g6BD9k44eRP5TnBikWD+b9jeItGW35Wz401gpVOQTaX2bBYHC194BO4wKXh2?= =?us-ascii?Q?NNhnoweapbqT5uBZDUihBkohm1bmlfWjbkQdP02XeCJsoI3w/6oEhChUA/g3?= =?us-ascii?Q?fVWWHq9KmHNX8pFaosmZw4PNckoAlLXBj5oynjv0ms5IkN0TzHTC9O99Ackv?= =?us-ascii?Q?4eI00y8FzAJnhx9VU43tV6ORNWF0dcQQxfoXuCTb/qF6J/5tB6KqTEU2w/4U?= =?us-ascii?Q?vghyWpJDFxdJ/y4km80zkEYpu/QHJ2bk6DB23cHrYd/Mb3wOIb9OV149GTOx?= =?us-ascii?Q?WuDBaKASNNruv1bRMTwGfOVRBSWG4G4gwz69E0KwboenpZwbNQ98ppIFGn26?= =?us-ascii?Q?5UTsuvezGYpYxoyCy/QZknIuBnLztST6iIOt3KXNC9J0LKUFzGjl5JO0WNlO?= =?us-ascii?Q?9xRKBEczW2lzRI3w814GR+v4zHZWgkT46yid/yKQ0HJVUvgLdtB3uUJzGiHx?= =?us-ascii?Q?MXYZRNoNtPG+LUwYTbOdAIRGH08t3owihJY5fqeGkiMZiLG5f3qxk2H1Maky?= =?us-ascii?Q?+9GEee/jm/RyIn8xb1f0Kj8STZzB1fBDey2SJQEHWhipinPxkI7QVwmIyjGP?= =?us-ascii?Q?QnEQtbXzmBaL9MYBViBqSAJGS0/lnocVuZnUDlROgT6s4wqaR0/8TakwxYPo?= =?us-ascii?Q?NO/I0dMc3ByzmjDo37shQcV9SKjp+ohgu6Ns8K+e0oHurQR8Omsmm6U+HjJK?= =?us-ascii?Q?cQFniHQ9CwlLhb/gdC96ptBnaL+a4fPTfabEe2FoEfgffurYrSvcDN465plu?= =?us-ascii?Q?Sinr2jzlOT5RdZz7nR0g3qJw61Kauqc0Y+33Mg+vWoghi8wnMPTrPCPAtlbn?= =?us-ascii?Q?3osjMghUSpN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rJTSzAmk05N/8+fnEtgWGmWpwGH35UkTRwrtzRj0mLEFXr72DuJhMHl3zZm8lHAS44JJpkK+l9I39m3jSdbowh0ODaKZ+3BY5MCAbHMicokoTDhXCgIPd5a3SG5EWWkDkvP/ooGUITiNKW+w6JszFUUKLlZxwBdQPVHtemqowWxduP/kIoaBk+wttD6ZA/9iLVjLSMOR5SQ1np2nOoRaOZAKymgUiFBlggBa5sU/yj42rVUW1F9a7Rlbc7dKfZm9ixdB/wNnFORYqGWeHzdrbaG0inFOYrTjSY9FjBPlBkmxcc9P7YoHLH/h9kxcV0eLOrt9V1cdr682iIwTGZAhg9Nxt7/jEQF9bPz6boS57abSbLOnQ==; 24:eoGCjpbmZ8IXW5p6libfTQHv6vsoVlRtIuSvrIN6zwIz/8JZoPt+lm6sSq04tXHTDXmAHqznsxbKkxEuZQzt8wUkijJjUdyZgKteiAGaY2M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1186; 7:AjI7m63vJJziGrp352r49DRS1g9T8bm0XJZLPohJIGGgkjMKRDK0Xg97zzy13WPAdBUgsCv1royhVqcAB+fcCuNbjrSRfoOM/Dpuu4k12z8iBrZE6fC1UQlADThJs8Zv0NdrGnpAhC+BduN9455pMG3and+t7JOb5IjhLSu6du0h6XJwl4l1MXPi4IUjze9yCXUe2t7mrz7OM8pP04MuugtNOozkK3G8DvK4xKR6PVyO8lwO7sKEoRRWq2bZTelt42ASIEPUZJJK8YoacJbZgJP0KdR3r0Z58IiNbQ/AEcoM/OohhquWpdK8mytfzRRj4IsiB1Pej1/0hDxY8dynrA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 05:33:23.9384 (UTC) 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: BN3PR0301MB1186 Subject: [dpdk-dev] [PATCH 31/38] net/dpaa: add support for basic stats 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, 16 Jun 2017 05:33:26 -0000 Signed-off-by: Hemant Agrawal Signed-off-by: Shreyansh Jain --- doc/guides/nics/features/dpaa.ini | 1 + drivers/net/dpaa/dpaa_ethdev.c | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/doc/guides/nics/features/dpaa.ini b/doc/guides/nics/features/dpaa.ini index 80dd3ca..54eb85c 100644 --- a/doc/guides/nics/features/dpaa.ini +++ b/doc/guides/nics/features/dpaa.ini @@ -12,5 +12,6 @@ MTU update = Y Promiscuous mode = Y Allmulticast mode = Y Unicast MAC filter = Y +Basic stats = Y ARMv8 = Y Usage doc = Y diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index b0c60bb..649b67f 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -182,6 +182,24 @@ static int dpaa_eth_link_update(struct rte_eth_dev *dev, return 0; } +static void dpaa_eth_stats_get(struct rte_eth_dev *dev, + struct rte_eth_stats *stats) +{ + struct dpaa_if *dpaa_intf = dev->data->dev_private; + + PMD_INIT_FUNC_TRACE(); + + fman_if_stats_get(dpaa_intf->fif, stats); +} + +static void dpaa_eth_stats_reset(struct rte_eth_dev *dev) +{ + struct dpaa_if *dpaa_intf = dev->data->dev_private; + + PMD_INIT_FUNC_TRACE(); + + fman_if_stats_reset(dpaa_intf->fif); +} static void dpaa_eth_promiscuous_enable(struct rte_eth_dev *dev) { @@ -323,6 +341,8 @@ static struct eth_dev_ops dpaa_devops = { .tx_queue_release = dpaa_eth_tx_queue_release, .link_update = dpaa_eth_link_update, + .stats_get = dpaa_eth_stats_get, + .stats_reset = dpaa_eth_stats_reset, .promiscuous_enable = dpaa_eth_promiscuous_enable, .promiscuous_disable = dpaa_eth_promiscuous_disable, .allmulticast_enable = dpaa_eth_multicast_enable, -- 2.7.4