From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0074.outbound.protection.outlook.com [104.47.38.74]) by dpdk.org (Postfix) with ESMTP id C88292BD1 for ; Fri, 7 Apr 2017 10:55:48 +0200 (CEST) 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=L7htA8sj9mJkSGcmX50zs9fPQUEwWtvw6mKIy6tyCXE=; b=b/YLuUJRAXjEcLwwBci5TXTIdJ+Z8NgvAZMGdntqeNUIM/2f3mWx/Z21fX0N9hUlGvxENCGZMhsXHAwg65tFtVyH+vwUe0vH34+iFC0epV1UUbXhA5m28OdPVbmmSPfuAy6PRixuoc6PKTRbsbI8kYoW7q7W9X6YOje6VWx4qlo= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from [10.0.0.75] (31.172.191.173) by SN2PR0701MB1037.namprd07.prod.outlook.com (10.160.58.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Fri, 7 Apr 2017 08:55:46 +0000 To: Thomas Monjalon References: <1490288768-8114-1-git-send-email-Andriy.Berestovskyy@cavium.com> <1692122.NGhiyjpKUa@xps13> <4c030b76-ae4f-2cff-6cc1-21870ee506fa@caviumnetworks.com> <4167418.F3k0faufJh@xps13> Cc: dev@dpdk.org From: Andriy Berestovskyy Message-ID: <8afea125-4632-ab24-8dd4-9b827fec0610@caviumnetworks.com> Date: Fri, 7 Apr 2017 10:55:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <4167418.F3k0faufJh@xps13> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: VI1P193CA0014.EURP193.PROD.OUTLOOK.COM (10.175.177.152) To SN2PR0701MB1037.namprd07.prod.outlook.com (10.160.58.144) X-MS-Office365-Filtering-Correlation-Id: 5606bf7a-9874-49bb-b6e1-08d47d93e1e4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:SN2PR0701MB1037; X-Microsoft-Exchange-Diagnostics: 1; SN2PR0701MB1037; 3:f7uq+d5xJFJTBkknzuUhDQqKknYocZDW0BuCkQAF11tne0Z3pKNSQgIgQWKA9MegfKTKkPITHxSsMkCL4nYQw/zDhW4Jl5LKpVCXJPCjmaOBNRlIpzIUwPmCPo0rrpROJY9L2ChTHuX+qsGhJfwd7ZibvUNxUtgrSqzYtDE9czJiIK89ToRn16saqj2AvOKL7URnJk51NbfUzU+bwVlwC2IW22wu4+TK6noS6+0BA/a4wV3Q6NI+O7jTsNd7FQgrMIX67YRYfkxbv/PvYt1WEkmRqATQDVML0GsyfmvTfs0b0oFfUIk9kkqBSqUXD4nwqODdqMZeofFZqbyMZvCHUQ==; 25:p7Y5fYr7V/LFZGGTkY1tyFgQ1dsX7Mt51PGnXA5zzeQXXGE3kxEeKbVCmWaIPAZArYRC0WPlewJdCaMlD7zzq1cdt3meNtsSHG5uwXWJtKSyNvWgqhzxn4O5hmfRpHu/YBhH5S3Mu+3SdKy767uksDYWfq3VsMGg1kCa8/6d7nxnOSCYyC7ttbDj2GEPTRPhIXRoZC/AfZKeSI5f3QNBNxUCTOWMui/sjU4LB54kE1So2bcLlAtjD5X8BUfzc7mKEi1StmXW/OIMkv5cNff0hLkIa7WSeF9Vhkl8WATMAfppZj4heyb65M8M4kRl8L4mrLu+pzYPH76Y57GirJpPPlwnDZBMqFFzTQ0S4szhzk/ZltJzff5m9vmOegNglR8lyh8aAV4q39inSx1f6dfyF/gcr+ATF8fOSK8ZZ5PLSj3ofCtKF3LiEd9HdOPwcZPDqufBhU6sE8sQ0x5OXXDv3Q== X-Microsoft-Exchange-Diagnostics: 1; SN2PR0701MB1037; 31:h+Rb3TK6XCkuwDE6aKeSNkSw71t3VZP/MkCvo5Is9TSYrAATnD2CeVP5ojAPW9SsBzRoXZxtyU3UMwJljKo4vLRaaS6U4w1q8akD1wBgy8xDsnPG3pSnThnNBtnYB+2GIVuBcyCr8lgO7011kUED/i+DwnvfikLhXc+MUrDOiaWlYVZNNkoElHQIGizeHopgk6iBFGtJX9dDvc3Nmen79A7KI8lGxgpijfnY2X9PL82AJ8Qr/t5VVsGNwzrhIHZTV3kYX8geqvSy0TuVIRsRtQ==; 20:Kr9fPCtoHRlXgZzxssqyFWNlUSCgUneUgxDU/meiasi0gGEkSkze3I5Tqhv+Ylt9P9r1YOFW7MoHI5EbNsMiif9IxmR0oJD+umli3mrtC7JpA4yMqRVWV1jGgRmEvosGZ7vI+j/tonulWrqqPopL5bHKSxp9Ty1XbqQmBRO1m9lr7skloKU97TSU86S38bWy3NWhhc6A+3E94dYID53Tk7SKdj+0l7cUD405KFIJa0TcxT0v9mf/0jHXo0qtEfS6LF35sbGZRxUsXIkcfs0f2iOoerRzXrkxUToWj45ab/b1hIl+4sK9x7Wvu5gM7aVOClR5iFt3471I1PSTUwnO5y9dUr8SWiNzxpAPPteJPvcS3sGkylEf4Dx13sWGbLsTt1VCVi3uuVt9+N+5HRvh8eFgLpdtxHiS8Q6+cc+APQ8VteqAGzAQnN7Vr5DP9couxMJqcjUg+8XVziiTHooBd7xWYl2FoNbuNp7pjlSP1UFysj3dveflIDAL729CrjKsl9DLb7jvV8BN3P+5R2lMGR1+TI8o9CKC34izwnx39Z5fCGORZfTcg//jLn6qLBPnPei/jvNu+qNw9Hk4uC101LruyybIjeOp+XvJ0FWwAyA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(6072148); SRVR:SN2PR0701MB1037; BCL:0; PCL:0; RULEID:; SRVR:SN2PR0701MB1037; X-Microsoft-Exchange-Diagnostics: 1; SN2PR0701MB1037; 4:IormcPSDm7qmdbRay8O9Mzi+6XWiG/9VWQkgRtkOOm5a9I021Baprm7moOk/f2LMcypUKSwyM7cwE4MLA1lbbRQKlxya+LdZ8nNwKafRBnCwZxUPxPpntkgE3Ke0JRyiOLI2lVQWnhZMLi6tZ5Nv4yi9PlHkK0EIfwbppe7osP9wFTFZOlO0iHYEcv9EM/YrN3dVJWbjJPOnDRbyNNv1Sl6dsSBEWasbxBA5vSJMemUE3mckaPuooZvHy0zuCfFnSfPfVthXWXKRj6W+E/DErnRtr3iiPQmEP3TcirOzWgsEs5c0njbAD/srDCSUtbceBcmMbxvOVWIamhuatNeR1qTLwgbjjNAfX09N08NsiHnKImdnYv3J/P9gG7SuMft4s5qJ6E145/+vDwSdOpLihUKyL4MJY2Yk4EKWFSsoiGWSw3E4JIBjrUMoO46U/XgZrrARPAqXc57XojXiq22xU7gWguqd6USnU/eGX0XZY3sDTkrrn02gVFhCQfRhcqC+H2GdPYrOx4oQPkQpgDVgjlPmpr8tfD9aQazWkvUW6Gq0hyuHX1jmr34XrQl1kMIPBJ0JxDS3LloPfTNLdtk7quVZdYFhN/c8Iv4RrvyKxp4fJwQKMhDbb5NvNCSSu1U4lPmz0eCqxuOigWBfPs9w6CupJe3ikz18Y9YMx7C5Zf38gO7Nz4HeTOR17gQpmwOI X-Forefront-PRVS: 0270ED2845 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6009001)(6049001)(39850400002)(39410400002)(39400400002)(39450400003)(39840400002)(24454002)(93886004)(33646002)(3846002)(36756003)(110136004)(6246003)(53936002)(5660300001)(50466002)(50986999)(4001350100001)(81166006)(64126003)(8676002)(7736002)(42186005)(31686004)(76176999)(54356999)(6116002)(65826007)(38730400002)(305945005)(83506001)(65806001)(65956001)(66066001)(6916009)(42882006)(2950100002)(2906002)(189998001)(53546009)(229853002)(25786009)(230700001)(6666003)(558084003)(90366009)(77096006)(4326008)(31696002)(23746002)(47776003)(6486002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR0701MB1037; H:[10.0.0.75]; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; SN2PR0701MB1037; 23:mou1xyVHwUKuHVsk6jXuLJHJqWfHKUSj2j2?= =?Windows-1252?Q?ss0Sj6JnwvX1bvlLOc03c8vQYdBItO4U8u5NGi4y6auv3IPF9BhvYA8P?= =?Windows-1252?Q?5V+2wTpeNIGH/Bd93SvKHk6HiT4Jp3OGsAQd2G2pScGmzrLuGFTBGHKq?= =?Windows-1252?Q?5FAg41NCIQKq8lxqZSLdN+FGKC0sx/2Ymz/1Tq6KfF8YnJkSVLtScnXL?= =?Windows-1252?Q?K9e0WQcnxDL2aWPD3Y+GrvUOp+FWOYVEdspJfVmR/8TNvQw4DAohJG0H?= =?Windows-1252?Q?zZPVXk7ES/pbdPyHPZzMJAm7hu+hX+ct6hRpPjN9m8twquzWbBpqMHlv?= =?Windows-1252?Q?dw7jJ1SmSNlIDUOcj8ZqSn7/xd/U188wt0Fm/934Hu8l+8gkDZOsN4ac?= =?Windows-1252?Q?zQQcwzvCqGbrmY3RcaMiE7fWze9uBAgTgfyYLdKWCR3sgaMs388Mcsi+?= =?Windows-1252?Q?HWebwDC6yoTXRM6GJHorIz5NVc7Jneh7e11+eP2s0XckE9b5rbMWkAHc?= =?Windows-1252?Q?g5dzW3c0PqlGjx7HswnD5yTv5RX0YY7S2oMCRF5OTw9xH3+w46iXHXJI?= =?Windows-1252?Q?C8hCmQeVCvU8gc1VlcxLXpCx0DBSIotCy8is6sHOK7sQMzVJ+hItcHlG?= =?Windows-1252?Q?xxPxItgds4phfgd805yIHfHv8AZxRIVaArBZnanm4Nx3xFaa7D/G/rVl?= =?Windows-1252?Q?NtqrvneO5zwKhBnoqf7mixZh5NIU7pd+n3YV69SlX2/KpKlP1WBM3NXp?= =?Windows-1252?Q?CngD7UAw9KVapIL4erMxhY/r9DPFoTwuwQ2bey/G5WX4SaS5ZtrG6urS?= =?Windows-1252?Q?g9cMoUdooo+3oIp9euMg5Jp8EFahfWZHJanNm76UF3ofqvcrjScpEDw/?= =?Windows-1252?Q?ZO+lJnP6jfNRLZmG2vZN/cSRho8yehlchnYyTMlsU0AG7HTJEDOiDhS/?= =?Windows-1252?Q?9TNCbzv2iu11in3UK3Oq2cLq2Inz/6WUs4lzt7fsqTM0YUw8V/+tp0BY?= =?Windows-1252?Q?TFrxTXVmowGHbAqhXMMFxXOiNM12y02whhWLHX7Kq1tPDzjGPmE1a076?= =?Windows-1252?Q?iz8HXELQg0S1et1KXLFNMDsO4GNaDkS83pGZtLB036pRwjlgxLDw6NQy?= =?Windows-1252?Q?BF4hnbyqTZdej3+OOdpivCT8CLdR0npUcvHboEmoIfcQKRLQeFaD4Z3O?= =?Windows-1252?Q?evf5BeW/S273b8QmyM/n10cTTFiOjbvUMt7FU4YyYkB5tk5XfMViXiRb?= =?Windows-1252?Q?XvJn1ynjwM4oDNTzelg4dpQ+MeVIbzTydmj0Y+g1KLB/PIhSB02U0bKQ?= =?Windows-1252?Q?OJiHa5i4RuDfNnBszA01PjyyFDrrFlrSZS8d5TL2UAOInJ4wSqoA6RT8?= =?Windows-1252?Q?rFf9LgOufqRXLXqZKUQ1a/DStYwvqpnv1WtxzARW9eXht1wzQfCPW2S4?= =?Windows-1252?Q?2J0HtADTUsmttkZi+ULKsod/uqBVGiElbz4LcTn1Kask5le9I7yxXzqM?= =?Windows-1252?Q?VcKgRXFqAjtgBF33p2cU6umrKHWraF/LCNQ5+Y/goD2jFMYQqbA=3D?= =?Windows-1252?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN2PR0701MB1037; 6:139y40oobcACCLpHwNZrgOy0DicYQEq9jwjz3Vi9+vqu03KXQO/ajmxGKherdsemcm97xnlD8AGM3xTfoufWPTRm+j+SjCQIgMvfoip1eqrS6QO8Ez2O5vlRjxW5npdOz2rYzH8QfpPy6nLOU/YIhYWIwpeHVHWnqXaiw8w8YRkRYVx++KBqA8LQefhE23rhI9vcJgp2uJxW48xhPLzeetF14S0S5fBtV1ozKbo2dt/yzYpCYAg4pcXh86fWWuPcU4XG+qbbnGMj9M9Bx2KFGezpzbg0tMt8DkpCzdUUxc/GXWGy2S+IAk2u9Q9NxkC1jBOYnTt5Cj/e60lCG65QrcTxiU10AueoKhXRuyDmcVUf13E+eYWMmgt5Nb8TEJ/mPbwufAcye8kpRZFedzqloxRTEUPbbet4ubFHFQVIOMXlhhitsbmYD1GByM2i+ZhfCqQEBVQfgNHUWJ0IlmcgYQ==; 5:YwkfhRfc1tyx4GM9uPBHFlrRhDPuMKyS3lMwaWKpfFZsaOKHg+ciHPqIixew+ZDa8Ll0NVvzOp5HMs0s1RKVAeIQtBgO3jiSlLfBC2UyF6Tcnuoof01gA5yeC897IOh+A1KP2k9MgLmIGAuvSuq3UQ==; 24:inynp9LJq4euprXwgxJh1/s1SMcjCVZfOOZPJleurWcoDsj7H1IIV4XfXopsxiMO3SAiZc2kC4Y5VNluCJXn7cUpWM4DAbfHv5wxfTrv0g0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN2PR0701MB1037; 7:F4bTHI4/+9WMCQRKSg7waggEc6IXqxueRepRhVH7pemK4WZQ+ZvaBlJur/Wh2Bjk4qUg+8sZT7axXM1MG6NIpwdo8L8Ec6/Nz9vW46M/hfKSRv0o/VbCGU/R3OLM9jdIlAJZ7YB/53YB/ahfQ3tFO725bF43Z90MOhtqFS1h5mLoiJliH9FHQsu2iMipuBhjUCPhEB06U5/Np3RUiGglLWi1uE7FryQGMNwcqgWOMduo9XsIMUnHSiFUpN1Pt+yqBvmiaUT3KXy+CLBf711aI71wFTOeMWuVzFATqE59ji0sdGbg9WGA6MdQiD079tmDjSkAWYOXQoyk1KRZuV5mew== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2017 08:55:46.3494 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR0701MB1037 Subject: Re: [dpdk-dev] [PATCH v2] ether: use a default for max Rx frame size in configure() 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, 07 Apr 2017 08:55:49 -0000 On 07.04.2017 10:34, Thomas Monjalon wrote: > We can set the right default value if the app input is 0, > as a special case. > For any other value, we must try to set it or return an error. Right, I will resend the patch. Andriy