From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0086.outbound.protection.outlook.com [104.47.42.86]) by dpdk.org (Postfix) with ESMTP id 20F3B379B for ; Thu, 23 Feb 2017 18:51:30 +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=+zFQvSb03y1GnLgs8eibMEWBq2ZvWoEcnlG91GEURZM=; b=aZmoQEjHaBJV3mby/ryW5cFWQiN1XizgPB5JN0xEV9k1cm2lf0ZuaAtjiTQK6rwzk12Y4MViFwV+Bva/uWQQHkyeg1QSZVjBw3T+Tsa4MFshKb8J5uZnwu/DQhS7xjJjy1s7FcTjv9HjeXYkxwYRx+tS5zGn6JWXZP5plCt8jpw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shijith.Thotton@cavium.com; Received: from [10.89.1.6] (14.140.2.178) by BN4PR07MB2274.namprd07.prod.outlook.com (10.164.63.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.13; Thu, 23 Feb 2017 17:51:25 +0000 To: Ferruh Yigit , dev@dpdk.org References: <1487669225-30091-1-git-send-email-shijith.thotton@caviumnetworks.com> <1487669225-30091-7-git-send-email-shijith.thotton@caviumnetworks.com> <2709e18a-110e-ec60-e3f5-c9ad0de36f68@intel.com> Cc: Jerin Jacob , Derek Chickles , Venkat Koppula , Mallesham Jatharakonda From: Shijith Thotton Message-ID: <524e5f50-1e0b-0c63-28cb-b0dccefb8a86@caviumnetworks.com> Date: Thu, 23 Feb 2017 23:21:10 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <2709e18a-110e-ec60-e3f5-c9ad0de36f68@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: MA1PR01CA0102.INDPRD01.PROD.OUTLOOK.COM (10.174.56.146) To BN4PR07MB2274.namprd07.prod.outlook.com (10.164.63.156) X-MS-Office365-Filtering-Correlation-Id: f28581ce-6b0a-4ce9-c2ab-08d45c149766 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN4PR07MB2274; X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2274; 3:qwZBb8gFumHqGW1/bWco7J/CQzYfZBwDGQerbHGZwVbmWXwGzKSmMV9A7lOZvqrdInYMFbFp4mo+boqqK5OkfKioQkNUQ+lgrS7tCFKHiNEGqmHUuQKS8DGAufVFnchMH7zl2aZ1oEZCHavg/eI0LU/rhWlM0CrSPdSKX3C4Lxfb9FL7j7eG9cTuoovakO0ow3OAbIxKOvziX5N0KtMD5CJRb0pAwd5+feUvVXJf8aauBWNYyVE5m6Zmsmp3ayZJ7xZ6P8PwxNK+fuiaYWhWrg==; 25:j3L6wFYOIK1yeLAdyECdj6nvBJjjPzELsOX5Aj/nI6Vs4hzw6O4tLEPmx/lY9nMUjLHTuZWJ1U/GLrv5wzR2sBMqtzKtw+lJuq4t0WIHWjycbYTfrTIyHrDDTxBb4I4Xh6YK5lA0+wW1MiC1klLQcmonfj6IjUZByt6DynsLXzctxB704zP2Ppu7b/LbREb8imVIJSal26wOYEU9iDfmdIxgItnkaHmnWrcda6D8HDHaWYbUVSLQbKkPk1FdnKbN7TcP4JS56MjnwcX/8T8pHUT3bhh4nf9t/NVCVXg6u68YKI1xh0SUP+8ljt1mZ0XkeRWaiuQntUSRF1zb+skdv2eeWwzewvjiA9alrU5I5Gaqf25Y7/nu23vhd3+dXVyy1JpxdBpXAPw+qB7X8bvPInMr35eil9yIvJ32n2I3Al+dTAbTNIRerxIE4VEaFZkzGagWXOmjsiAeJhomheXuJQ== X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2274; 31:9UWTxi8vPa3LQ4vdB+4vyOpDDSeIQId2cfm8xCjE0ecO/tASrwEUdih341FrcfsRXv3UUTcDBaotH3mHX+83krQGJqbJhGr83e6ZXLLC46+Xu7WIFtS7ztS/N7LzOAx6ufFh0TPHCDYcs1typew9YNGs2y7zCYtueY2Rc5XhZ2kBTT9h0BjqHHKZPsJwk76lCW1zEeEpHSDXYkMJOxGNAXZQSGC6wIKL0ExYl4DyJt8i1O7JyqX4Figml2bu7fTu; 20:WkvlfVDHJPi/NCpH1gqMJMErQWwj5d3fhPzkzS+OG8WwHquRjbz8VfPFQhbpC/5NlGonSe0WMJsS1G2VaVGCPK34koWHVPAQgz0LT0BSgLR2seIaG3ezE3s8caoAX8RHVtihtvOuq5cwp0Cj92+EMw4qCLOu+DuKhHy9o6zRyQoNaJXwLt6a2Ry+9O4XrwXORTcKyrY39mk4F1r9tpOwAr0mxdCdxOjejtfdYheb2sT7vJW4Sy2CkvDFVF9HCrImsOv/UlQytKIEZ2QRZ9nVEUUc9S9EEb/l4t0qIx6FK+jJ9RoP7jYwkZhcSbslHJr2RpA8rsH0fmN+4bwZ2QB7c81LKkbti5GPMT0Gzvoo38HvqmopnfhVGpKsaimvMYNN6IZap5RmGaIr0ujIocMNhVGnyE3D3frw8QkRQdJNSqZd0i0Ixh7sK5iPGiirw1lT4YDyghTmaM8lu1yO93dps0h+PC5VIeJWG0qa5yaurYA6ISiyihKjqgIKwXSqeUlJcti5n2zpC/FZ9l6xAEC/exP3NmgKaeVJMY/PF/c5SY4EXFcRg9ey0byNnsiqT7WJydVby3ufQFQNYmVWaOJh/ZLK59tPJEomcmhFnYm8NfM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(20161123558025)(6072148); SRVR:BN4PR07MB2274; BCL:0; PCL:0; RULEID:; SRVR:BN4PR07MB2274; X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2274; 4:hn5iQGWww3tmzhCHh/1EDmeDrZjko96toudF8USOyqNnsQGkwEo3UE8tYPgvdMYBEGXS7pW9Y4+9gM1gglCLiv9vovdQOJEJ9rjcZxJLL0fAGYyeUOmd28IPVq110H7raHT+Gg4HoL0y/F4ChYlR9EuaMmLLrJw9J8BtYsd83TcqHhefIyiJL7ZM0Mi1oKOh+qA5j2LLxxngXOMr+Sgf8J7W+xPI1QWyIUgIDmXQYfro5TRoHWOjuVN/35SjXxyPJWJN/93aK8qx2fidbB1RXxSU2qoOPWBAGGkxntNCiplp1gVYj+eNvc/2Zkma1qr2+p/2QFqwG7WiL/8PyiVROmOiYRI8188u0cwj1WFQuE7Do48BAhFu9Yi1GeFSklAZxuuywzSQc9Fs1ayd2lr9YSef2lgYd5rjD53g5E5iHQNkAbIBFY2xQldnez4ffD2HsmsOWHXqYaoFPAJP+S7iUZojjUHiVrZkfJnOCDr5OstTJeLmXh5XoMZFsxMBR8NhYgva7usGIKThHH+ExJWFgEit/qc1xQ6RjaerLkaLzhg0SA5VItDCJi3GHL+A5gvZrbCymCla6AqCGrqvZK5ZVoApENHGjMyzgTHjabRXNi0= X-Forefront-PRVS: 02272225C5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6049001)(6009001)(7916002)(39450400003)(199003)(377454003)(24454002)(189002)(47776003)(106356001)(42186005)(110136004)(64126003)(229853002)(54906002)(65806001)(6116002)(38730400002)(6486002)(31696002)(31686004)(65956001)(92566002)(189998001)(4001350100001)(5009440100003)(97736004)(230700001)(7736002)(25786008)(66066001)(3846002)(305945005)(53936002)(77096006)(50466002)(6666003)(6246003)(4326007)(2950100002)(76176999)(33646002)(42882006)(54356999)(53546006)(5660300001)(36756003)(50986999)(105586002)(2906002)(68736007)(65826007)(23746002)(90366009)(83506001)(81156014)(81166006)(8676002)(101416001)(7099028)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN4PR07MB2274; H:[10.89.1.6]; 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: =?Windows-1252?Q?1; BN4PR07MB2274; 23:7dAI7iW57qZRxG0RMJNuazk1miV1uT9RIqQE7?= =?Windows-1252?Q?Qd5iMQNc6TleAv0JKqE9hU/9JY5GGyBiE7/2B9uS24/8VifihNB24z36?= =?Windows-1252?Q?e4MJPNt7YgU+TFYosI81TsQogn9/WXfCr9/p/KQO68bFPdXHHzgFYApQ?= =?Windows-1252?Q?wl+v1FSmyo6zod49embRzuevxJOSS2ISnasYf2XpTd64f2AsI7De5TdX?= =?Windows-1252?Q?/82H4k3Gh3FEnnWHrJWuR2/q4K52wTtkWIDQuX51FBimjAI6pnyrAZ8U?= =?Windows-1252?Q?WCN79noDYfGtLcrHOENA5WJPjOtv9q2OXs+XlLci4HSQrJNcc5tZdHej?= =?Windows-1252?Q?+pzRCOjLCFfiQ/rBcF3ZWk8GoJGwsWQvzK0TxrQ4MJDpVMkvSJ0iH2gu?= =?Windows-1252?Q?hE5qE7llyqDMekVZEKEx0764aSwVsoyJx6VUEJCN+2MuiZs1459PtjUx?= =?Windows-1252?Q?W0SoaY+leQ1yagcOTSSMRPITY4klia4QcILZTKRLjC8oY//xXZmEdwQj?= =?Windows-1252?Q?fMYa2NuWTMjVpJMICJglNd8kJHd7hPLLC+NVCHbGYpu1xiOWTP/bjgti?= =?Windows-1252?Q?A5/Qk5SRx58lutOeIGTJqoV8nub8WD1RBvi9BV4a4nn8Nn7tWBrhnSSp?= =?Windows-1252?Q?M17tGXWFrYKfA3UI3eUc6WumOejRiBmhLf6oyH5u0+W4t3Rn+ubX6uom?= =?Windows-1252?Q?ogtall/ASGTlcJUROKNagSgsLkS2hjtJto1iyjz8BGqpw1s3DvJCXgtn?= =?Windows-1252?Q?CmAuOBvoTKcooHB9F9V0olsoWvRf3UkS36L9K35LlnFOxbxpvBtCV6mp?= =?Windows-1252?Q?iGbhMXv32Vq5QMry1/X2H9R2eHjsKqGEcYwJ9F+1Ek8mXwAshUgJ1USX?= =?Windows-1252?Q?Tlg/e67UFnwyMFrpx1pJm3mPz4wyquJjF9BPYAUXJ9qGwVMSNrFqml/3?= =?Windows-1252?Q?uZEchShKgCmCc7/qlupE7oi4QQ/fy84FFVcXoKOgyaEQkhnpmGFISPXN?= =?Windows-1252?Q?jToLduta740L8Yd63D6bGN0ptfvCLoQ0Swm/3SUq7NZIOEuDO+Lz+pAj?= =?Windows-1252?Q?bPPNI6LZWLvEoGmCp8PPJmGrpcOINsBX09J2ucts72jtxmQG23UODxhR?= =?Windows-1252?Q?RGgN3tA1BxhbxdyApxujlZqNLoUB/cAXPMBm7YoGQTbcnOZ2r6KTsLJe?= =?Windows-1252?Q?vtW4irlI1k4efDfGrdPzLiIgIMHC2JfO+JGznHWf5xkV6NqK5lTZZ6q8?= =?Windows-1252?Q?FKh5Hn2HrS8kHV/cLkxpkPbBMfKuKfTiIzKTsmmxOTAGnJh3atmpG2L6?= =?Windows-1252?Q?5WM2EAhxfso01bRL0GDb2+yXK6PPI+ja5wuOJNjE5rSowSQA5X/ROS7v?= =?Windows-1252?Q?J4+6FXRvs/EEzSo8TSB0aVeL7CExxfXBya42NKI0lKsDSBiZuLXDuTlM?= =?Windows-1252?Q?ppNEHbttPLJ9minmxAan2L6nOfZLOpW0hJQrRDb2hNOY26/ZzvFbkuFe?= =?Windows-1252?Q?f4+t7m4grrFW7iqTanOGYylYn9vf10qz5x9w/7d9nHxI7zUsIrxt1UrM?= =?Windows-1252?Q?QPcu+osr5N1+rYNatYhHe3OJWe7X8FVPZ0PRip1u70JQkML1caeGjMVe?= =?Windows-1252?B?dz09?= X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2274; 6:UTSbpW+6yofduSaiGzCf4F5CaYn6Lfe/DBwOlwpbBAZfuGa2GPoeyB8uDgfaGLiJX/75zs4EIJIUWIeVXriC+BnAKqvRX2+TpkRePWbo8RfVMB+YIZtQd8ObmGPvKpjLcy+SLCQvrKeVTR2XwPaLEeMoPl3idDbvWAswdNspmcvdVCSz+1Hl2+UAFKBJ1cjYGjEopeZQdiwKkxW565GEy7ueLItOxrithvB9BIq9kCcVF0OiTGkGDsdHVJFDCjPSPmvJne4hiIW1b8LZmJ53qobLbU5mkpPC2am1J3Z+op5MdhowuAG6+yNImHjWwGUh8gzoVEIQSjnsC7pQYLMmWE9EGIPmVpfRdhl95XvRI8a9Y8zEq0qWiqcj4KZGgZhLHRpyWQhTWSGGQppP/o5s1A==; 5:gPRS4u31be/AwL99DmMORiJDeQWtB8i7M0mbififV9sRip95JlnKZb0KL/9lZoRi+n48x+FLBrqKd1GYOx6H2pWembJR0HxlbsKOTP5ATkhMM9jkDaocUdwwYi7b6XTsL+iorq0zQJidhybFzuvocw==; 24:U/3ncYj8NJpVgapuxQ8H6QRNs3WjtS8i/W/Y7MvVgSK3TsNtvCE27icEa2O/EDzBmRoSHez/VjxQUUw52f6USG7SBlh8hbFmlvZjVufc7iE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN4PR07MB2274; 7:8jm7sl7THbdtr/RBCkYaBKJ6kvOIT+SIQxx7UolRXyGT8prPbdNot2lwZfiwyht/UTaHFVU5No34P+cz/EPTnKZoWXZlOm4kMJSqAFrGVwPyYNemF0p84YE9L/UMM63AgtAfgLTEFbek75wiDfKvM61sKiMOCNa/aYzk7nZU+5K/mke228eVzyI2MXZkLhKHCAtXFpdPWIgm3qa8RFqkCsp2ESylnJzk3YE/9R/XrCS21FdFAdcNpqlUAXBkBvd+ylYucxw2B68h0pyUUQ+JTKurMkPfMPwvcZwENcp6BhV9BceatU/GF0H9l4B0rIDMIeqsC3I0o5BBMIy36oSKEw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2017 17:51:25.0902 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR07MB2274 Subject: Re: [dpdk-dev] [PATCH 06/50] net/liquidio: liquidio VF PMD Driver registration 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: Thu, 23 Feb 2017 17:51:30 -0000 On Thursday 23 February 2017 07:59 PM, Ferruh Yigit wrote: > On 2/21/2017 9:26 AM, Shijith Thotton wrote: >> Register LiquidIO PMD (net_liovf) and define APIs to init and >> uninit. >> >> Signed-off-by: Shijith Thotton >> Signed-off-by: Jerin Jacob >> Signed-off-by: Derek Chickles >> Signed-off-by: Venkat Koppula >> Signed-off-by: Mallesham Jatharakonda > <...> > >> + >> + mac_addr_size = ETHER_ADDR_LEN; >> + >> + eth_dev->data->mac_addrs = rte_zmalloc("lio", mac_addr_size, 0); > > "mac_addr_size" only used here, your call but it is possible to remove > variable and use ETHER_ADDR_LEN here directly. > I agree. Will remove variable "mac_addr_size".