From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0047.outbound.protection.outlook.com [104.47.33.47]) by dpdk.org (Postfix) with ESMTP id E277A90F2 for ; Tue, 4 Jul 2017 16:36:26 +0200 (CEST) Received: from BN6PR03CA0035.namprd03.prod.outlook.com (10.175.124.21) by BN1PR0301MB0593.namprd03.prod.outlook.com (10.160.170.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 14:36:25 +0000 Received: from BN1BFFO11FD036.protection.gbl (2a01:111:f400:7c10::1:118) by BN6PR03CA0035.outlook.office365.com (2603:10b6:404:10c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11 via Frontend Transport; Tue, 4 Jul 2017 14:36:25 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD036.mail.protection.outlook.com (10.58.144.99) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Tue, 4 Jul 2017 14:36:25 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v64EZM7C016426; Tue, 4 Jul 2017 07:36:23 -0700 From: Shreyansh Jain To: CC: , Date: Tue, 4 Jul 2017 20:14:19 +0530 Message-ID: <1499179471-19145-29-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131436525853369451; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39410400002)(39380400002)(39860400002)(39400400002)(39450400003)(39850400002)(39840400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(2351001)(68736007)(5003940100001)(2906002)(6916009)(76176999)(50986999)(4326008)(105606002)(6666003)(69596002)(498600001)(47776003)(106466001)(2950100002)(54906002)(189998001)(36756003)(8656002)(81166006)(8676002)(50226002)(8936002)(15650500001)(53936002)(77096006)(5660300001)(38730400002)(110136004)(50466002)(356003)(626005)(48376002)(305945005)(86362001)(104016004)(33646002)(85426001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0593; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1BFFO11FD036; 1:dhF1/vUvXrkadfVI15b51gYZ9FLB/DzbZIpQKmXQR?= =?us-ascii?Q?uwxQ6QBEEonpfLz0jJSpMxJAu2hbpBSj+IxqjiLsh9ysYHCTTi4mOCPhvUQx?= =?us-ascii?Q?DRWjKMvxvvXmic0f5L2XeQPzYvt7vkHCmwsOGOUsglfT0ELgoXiWl04f/y0I?= =?us-ascii?Q?LWbrlLA+aPLqPTOHcOj9LkBbNHv+KU0k8LpctXami1FF8egJ7TC9lWYHYSoA?= =?us-ascii?Q?ZTbTgXANemvbS1uLazMZ3VLN8IWXpDkvldGmbc883SXQrVZSINchhNJg7SN6?= =?us-ascii?Q?JNjeqnpj2AVslNbai6/Mqj84MkM9wkVSzROZExKy6ggDACPOwcDt5GGS0JWp?= =?us-ascii?Q?rXqAGBGSoLn0QgOGJ2UXR/d1B2rtsSX+4VYbRBJTp6q4oMeM6EAYraWVfAoE?= =?us-ascii?Q?c1sPcNz6bl387nRrVS7Eaun3xaD94A8wtUhfRD7oFtNv7Y52S/TIGmkBYzmU?= =?us-ascii?Q?/u52iPgdsjIo9jR99UJUv7bbF7D910KRdsv7dBKwtRTm38QhuzTSykq5R+nH?= =?us-ascii?Q?edaUPCrHCn0PpYheg0YaIZgBRj3vgyqao1ZhMToNLCbp8Th6LhrtcB9MlV9F?= =?us-ascii?Q?oL5OSjelEKugcbjiQBiNBlW6+ABCVfZfL/OmfQhyww8WddJ9Zmd7BeMIbLMv?= =?us-ascii?Q?J5efzKxduC+dhthd84Lnqfz+su4H6L8VUwDuikmkmKyREVK1gZT0ytX6Mbud?= =?us-ascii?Q?rzDlz+is6EnMoIIjJHvd3P2TYD1FNkEa9zM7crNDkGmJ5CjBQNPacYJJ+TXt?= =?us-ascii?Q?Q/Vaf3hpH1c7lnEO5UC9du6RzSwRuwD78LTUIF2Bzm+A4l27ezxoEoQauL2f?= =?us-ascii?Q?pS1fQ+fNLMw8wV/5KatuFiLaTm4lSEPtgZZ/rUfXr8WC8iOC2irv8VwaldFS?= =?us-ascii?Q?E+vQ8R2JYUiAUpALE423ZEOgd6lRogYVF09LNJiGlATgTRulIcCT8eZMYt5Z?= =?us-ascii?Q?xaJW2gN4MM/P7hXoK3FSHLRszIXpJx6LvTCFeuKJ6Yc9Pc5ZhX2D5xFbJC2U?= =?us-ascii?Q?UVEWcDtoHvSDbwaNy/GBWWg9uuud/aEqsLQV1hE2fdaqtQYvcKrE8uAJS8Tk?= =?us-ascii?Q?HutEVJI+ke8bWR1fZQ8glbqFo0dNMjgTA39dTJO92QEQ2aXqA=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f25a2bd8-3b35-4c0c-030b-08d4c2ea0c75 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN1PR0301MB0593; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0593; 3:3UUJHxZhl+jh7JhPVzZXw6GHA5YKeLjuAWKnpDlpEuvHBCcVcZbV7yxl7+MicomIymPHddlq5PrvxjgqLOpGuo8Xx/kkC14K4WN1AIqR5dzEyvp2cCkLtOvDSKjlbWln+L/Ik0x8JZ1WQ36ASsGqva2jIMwBwSGbPdEBZdqaymHDEjpqPes62CBGPA+unNRHnZ/zJX/yvIiFzA9HHikwiQwt2ZSgZicHOczL2ummsqJzlKfAMF84tsmXadmTUCkqi4FX+yQLyvsR8cINipl7P0iZfPwBrLVtWlII5vKcVJu5JLnY+ZvgLf5u8SuIODyRuvyeqnm06N7BGdMietNDQLFrxrIaQU+mwN9LPi2ZONEwOu0ntSb6dtBBoQPZpCqO0zHbaXkOxvA7hWWW3O9m8ZRF1sc5x/VC0cjzwlPr0bngL5QIMcte4KhnwaVdKaHLFFGYGwNgr8ltQVMaWe9G9m4CGw84c5bqHjsuLocvJM6gaPZcUNqUuueUIBpRJWiY3CUAlFws4D6sfKzr4vcrHITBVXRKSjKA/dni0hzTh/t+h5zLOK6sC2suSsP6R1pFffBWPRAT+UICw0yno2TFWWp7tbNVE4vlS7Xn2Ag26lPMJPro6HoCK0TKZXuVRf3VdZ+7Y8BQxaMU89NGRMnM1uBXdQUADygJejMrBBJzRIG2UcW3S3lDzoZlQ/SnjiJ1F75ZAOX4p2clPDrvGstoJ4WinwNMZtRblSMzVvHQn8iYNqCbSSoZFn0TAn9tOlmbh00Dm2x1W55T6zML3dFtSGZSAQJyEVLZX6S98s5CM3CvmyR10Fzhqwx90z0nI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yxHZUyXE= X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0593; 31:u/sbFKTso6JgFPuX7xkUJ4kyncMoU5NwAkeskRt5kQ3TD0Uvf8o/gtzIoN2JmZj7tOVYiICk7BL3Mp2Mg7Gn/31VSS++0ziI0H3urD56xdk3ij46tNAIUWu3RtpeUDJMOn6zwq7k+SUNNB+qBSlq0XkoGK2sWZVWPaHBr0pp28+YC3GKTYV38D4ux0yx1RiQE2qZIJpynEV03M+paDEtwRb4qWhnAVGocw5jVPOLkpbPsej9FMgCB6zHy3jE3m7+r7+lajNmE5OZQMA1nn+xSqjitBs9qqUoOXwdUyJFzNDrkIt+DxfXww8jd8Uzmqaru9D+wtxeQmzeVvVJAwzWY9HvdhhXZngmsQVMmrhDCS28289bNoOYD1w1ZiWHJ9/TxCaiwv5dgTU0ALtEutJVNdww12pVTRvV6EWwRA+u6fEzywTKNiulGm26Nxu7vy2O55bL45Gvaye8ZO+agfDUHicFeyID+LXI6YWd/+64wqCsvXA6Xsgf3JnTTO2ue3zbK1UboKNHnlzW3FpkCC9Py1PsWmzmJKl7/QyOTqi/dpnQ2RsdKNv1fsm6QLYGkVzyoZMggpQRf1H/4xdsX7FXosp4VJBR7KNHIPXuBw53GKLIz/ILBUqlIux/jFVxe+6pyx90MHUwgK57htejFF1OEZuI0TlghF0SKgvNomPhpmaWz1nKKMpS03fzt8EQUtSRQDaqzItKaVrImsFz5bTgoA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(185117386973197)(167848164394848); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123563025)(20161123565025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123561025)(20161123559100)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN1PR0301MB0593; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN1PR0301MB0593; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0301MB0593; 4:gfyEG6QIGbO8z5mcaTWym/aj0z3guW3MBH/xvRxo?= =?us-ascii?Q?R9JE8Zrbt90DV2+A8RtYHIzWMbvavg66KN86blBrijQbjaxlfOeNOudycoMl?= =?us-ascii?Q?lVwcmF5H8rq99QeiyQhplR3mswkdZxg8QMm6s3UElrA9F0WI3LmRmoe34C07?= =?us-ascii?Q?VNmvFJ0EKEscp7M9GXkDDLmGeQrJP4HW1QXCUNTueST1iYKyYiKtAuGa7EKC?= =?us-ascii?Q?CvZGDCJFQDrQQ54Ms3uAyr0SVLW6iEagkGIeHNx73yYzYXcw4eDHmGF4iPqc?= =?us-ascii?Q?MKzVKUoxHxaLJIJ9j/ABmfAUABT6lxtpKWd5cqalTFn8+siNmekGzRpYh3iw?= =?us-ascii?Q?VZCxuk+p6wsAM8cRfG60Rk20w9w2Dk+YfKIIkDEvZUM3VdRJV4bT2hOjdegP?= =?us-ascii?Q?p8L1ihX3/IPDoBopObt6DCl1pEn5QEe7j3ng0pU7BBjAywg603FDQCIrwPAE?= =?us-ascii?Q?Xzz/RY6cDmk+FiOIljgvuQR7ofVuN+xq2NGUcdZa+G7OjWvB3Zs8Q9/ALr/L?= =?us-ascii?Q?roJ8OheOdHJ5W2Ntd52CBQTLLhEulIkqwn65C4aFYfuG7vld1csgHfn75Xs+?= =?us-ascii?Q?pQLeIBTPGjLou9j5HdP/PRbdpCedw+5e6eD3qjvR5lHvkDfjeFOblSbhx30K?= =?us-ascii?Q?GvEiUim3rql7c3eo9gjuBtKHXCGdp+QUPFrXC2B6qsrKbqpDOxy3ygIOviVn?= =?us-ascii?Q?AGzjSBG5JmqPgog4y02VGb2AOAC+jYD0tVNp+8I1LICGe1WOJqZ8oo1QCZ0B?= =?us-ascii?Q?86na/ZJzK9RJVVxCks1wMlDszdNdN5HGgzQ5j9lDpCM4X0j2KL4jyx1L1NiO?= =?us-ascii?Q?WgOm6hvJB6tbohv09N6y5K65DMqS6H3CLHvNiIX9Ulu9rqjtbuTCaTIqSOqQ?= =?us-ascii?Q?OHvBcUBm7wfXCXsiddQMgCtkKQqSoPLtR2EVVYKn2uS2hdQy03TZNHdKDuXH?= =?us-ascii?Q?SOw3cfpie6A33XEQynCq08TAgG89Yz/NLz3MA6qRRorLZi12enTon6y+iesd?= =?us-ascii?Q?LhFMt4PIweTTaMjIfJ9SSyuTFHJ7ZhaE8lhS6sB3wEmpbqUM38xEDgp1eJn9?= =?us-ascii?Q?NbN/Ua0nTa5LKBLL/SAda8RB/QZWrlFGLiOYdbCIDkCF+ndbe4cM65Q3RCOR?= =?us-ascii?Q?uAUubMI0yraGzUo3h3VUNDzCByikK0vWT2V3OjLC8Q4eBJyK9XJmh+RlLdD3?= =?us-ascii?Q?8a00ktASAt+bRqX4je0V0TTtX9By7v0v8oSdLxTOHr/kBD88aCjHh7UYRizz?= =?us-ascii?Q?VHgm38xekmA93xjbnf/TQPBXPDuCT6Ler5yopZZxLdQci9Gi0H+WqggJfErY?= =?us-ascii?Q?xXCzrXrIqUWIqQZSg9OfXqnqD3rGKB1M+R+LDtKd2N8Ondr3mqse23k1IK9F?= =?us-ascii?Q?cTcHl+4xcqWzrNKMor4aRC1msUE=3D?= X-Forefront-PRVS: 0358535363 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0301MB0593; 23:nuz+X3AiwftaHO0sMYCo3gCpzpqhRlLAIXNAJA/?= =?us-ascii?Q?d+SYQ+2S5ce5QSY87hoZ8/GXCraSNl/UWASTGL6PZ6ArUa2yElGPyRb1yMcq?= =?us-ascii?Q?ieFaQdTwEl4+OAwgEqi9xQVLV8wRcYESFI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ascii?Q?Fk9eczTJ4htRd4LAOr2S0PkrGVCVPTkbGlq7sgMYbbHpAvhLNkBHQtMyg5VH?= =?us-ascii?Q?NRx2rBkTLyp9M20iWcHBjQ8sUCsSYguD4YE28HZ0X8fuV/QaZlmeD/tboM1n?= =?us-ascii?Q?IExpeo4hZOmXXO4W6WO2fnCvya9LrO7PjjiYfLYG8mzVrNCjVnNiYajnC64I?= =?us-ascii?Q?3xiji/qG1+nvBQh8VxqyHfJPBVchbnA3rPyPWZCbe03UdoiR0Hb0kQAdYzms?= =?us-ascii?Q?d17Vk8DpLS/wG/stz/mUmyqkgyBxHqG71uo1qojh6pC1Z/PfjAKghDOHdaZf?= =?us-ascii?Q?sqVRgIqwr1+aUW97LC0X9yWYV9ZAXyOKDddWbPiEeIhQf?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0301MB0593; 6:4fVHr0/CklCextvyDzsaEHn2kqf/DRTTAXCEq+UZ?= =?us-ascii?Q?iogk5jYumDUFy6FCe+vd/DYrd4ow4k1lITFKL+4bjIg7HnknU9bd5osIxG5w?= =?us-ascii?Q?nQsOL0baFwe5NpB73CizsVw+O6a70LgPAUIbymZBrGEj9mUgOjlxOGzw+1Ge?= =?us-ascii?Q?o7myHnYTCDOeV+4aHdrpuK0ux2QsHM3JK3+65SNviF0XADoxIMCVwq6VE23l?= =?us-ascii?Q?BSHU5zz4vSSWPGIJWbnT4B7QJG87bKI5JyIMfqHokE626L4eI6243GNvW3Ar?= =?us-ascii?Q?T+gDiaOHMFSoD76AdkWhQEW2lHzKDwf7I3CSoMg7noU+KZsYbZ3f8/uLQJzR?= =?us-ascii?Q?rBr5qbomobiSn9EcdBWI3P4mlHRFQKYu7e6w/shg5dPlKDxsQOvkQgOJhAGW?= =?us-ascii?Q?ItjNd+5dNkK4Me0f/esVKDgEYlv+zZD4i0oGqxuvAsonFv4WEqCfdYtjM/dW?= =?us-ascii?Q?j9pD7sGB/qYybo8ot0p/43hk0dtMtAaTceRz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N7KsH1xha4rYxTqP0Cs= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 14:36:25.0873 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0301MB0593 Subject: [dpdk-dev] [PATCH v2 28/40] net/dpaa: add support for link status update 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: Tue, 04 Jul 2017 14:36:27 -0000 Signed-off-by: Hemant Agrawal Signed-off-by: Shreyansh Jain --- doc/guides/nics/features/dpaa.ini | 1 + drivers/net/dpaa/dpaa_ethdev.c | 42 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/doc/guides/nics/features/dpaa.ini b/doc/guides/nics/features/dpaa.ini index e62812c..132f94b 100644 --- a/doc/guides/nics/features/dpaa.ini +++ b/doc/guides/nics/features/dpaa.ini @@ -4,6 +4,7 @@ ; Refer to default.ini for the full list of available PMD features. ; [Features] +Link status = Y Jumbo frame = Y MTU update = Y ARMv8 = Y diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index 057840a..a6513d8 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -142,6 +142,28 @@ static void dpaa_eth_dev_close(struct rte_eth_dev *dev) dpaa_eth_dev_stop(dev); } +static int dpaa_eth_link_update(struct rte_eth_dev *dev, + int wait_to_complete __rte_unused) +{ + struct dpaa_if *dpaa_intf = dev->data->dev_private; + struct rte_eth_link *link = &dev->data->dev_link; + + PMD_INIT_FUNC_TRACE(); + + if (dpaa_intf->fif->mac_type == fman_mac_1g) + link->link_speed = 1000; + else if (dpaa_intf->fif->mac_type == fman_mac_10g) + link->link_speed = 10000; + else + DPAA_PMD_ERR("invalid link_speed: %s, %d", + dpaa_intf->name, dpaa_intf->fif->mac_type); + + link->link_status = dpaa_intf->valid; + link->link_duplex = ETH_LINK_FULL_DUPLEX; + link->link_autoneg = ETH_LINK_AUTONEG; + return 0; +} + static int dpaa_eth_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx, uint16_t nb_desc __rte_unused, @@ -216,6 +238,22 @@ static void dpaa_eth_tx_queue_release(void *txq __rte_unused) PMD_INIT_FUNC_TRACE(); } +static int dpaa_link_down(struct rte_eth_dev *dev) +{ + PMD_INIT_FUNC_TRACE(); + + dpaa_eth_dev_stop(dev); + return 0; +} + +static int dpaa_link_up(struct rte_eth_dev *dev) +{ + PMD_INIT_FUNC_TRACE(); + + dpaa_eth_dev_start(dev); + return 0; +} + static struct eth_dev_ops dpaa_devops = { .dev_configure = dpaa_eth_dev_configure, .dev_start = dpaa_eth_dev_start, @@ -226,7 +264,11 @@ static struct eth_dev_ops dpaa_devops = { .tx_queue_setup = dpaa_eth_tx_queue_setup, .rx_queue_release = dpaa_eth_rx_queue_release, .tx_queue_release = dpaa_eth_tx_queue_release, + + .link_update = dpaa_eth_link_update, .mtu_set = dpaa_mtu_set, + .dev_set_link_down = dpaa_link_down, + .dev_set_link_up = dpaa_link_up, }; /* Initialise an Rx FQ */ -- 2.7.4