From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 9553F11C5 for ; Mon, 7 Nov 2016 18:00:56 +0100 (CET) Received: by mail-wm0-f48.google.com with SMTP id a197so195055728wmd.0 for ; Mon, 07 Nov 2016 09:00:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=6eT9NHr+sdPj6tRXan7XnBqvyB21Yi8EpQyWM+zKOpo=; b=IVs0mLOroDECNN3H1JVjoaUunpfZ9+pxWYqXlTMLgOfMalunVF39FVNNZie2FEqWdz e93OWKuT22uwor0GwuCZxCzzq8pEc3Jc7xspnCKPbcFiwzvUvmDruYAY4dVpeg/xwUM9 5xDU5M9CZSUgbJJqxySs0nkVD45c2e0fzZt5V3dlVyWV+l+sWaYev+x5reNuL/DxZ2+/ 9EsccfPaG/ByEFcL6pcZz2ciMjIdCj6mgpeftpMk7fmQiv2mpFNONshq+WrkPitNiQJi WfV4wTav35H+u7IE3YLUwPM0bC4FOGa5OF7v0O0/KyHT0Cx5UuMEOm4Ae52fDfJMTyDT Eemg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=6eT9NHr+sdPj6tRXan7XnBqvyB21Yi8EpQyWM+zKOpo=; b=bI70Y0zyHgKJX0HPR5h6MTyfYKYFcW2XN1zpOzuY4obmL5SDmPzW5hyStP/s8xIoSw vcR0zSJV3PCDgge2ISqAY2b65kN992LYt/Jy1YF9oVygMgiH/vjvQ9kRhnfPm5EH8lFC +x7j0zCVlGpMPcN653cHryH9FOPfc5jfUYxSYp77NStpN8dvgy/+M6wt7BwztNk0l2Tk WaU1sJCxozyHxLXovRsVVZQuVaUHqLUbhqgvJjSzJRIFRek9L2OJxbbK1tv3OiLbtwK+ sA6vbiHb4NSz4bjEgsrY8K3b35GXmZH73KlIJeu89+EsNTGASN6WZXbxJ8ZCStsD2lQW OqOQ== X-Gm-Message-State: ABUngvfVVjKhnxiYq3w1pJ42EBVULaZg1fx+UjcIBV8+e5rpj9aeQa+D3MmPhbGhFdxoHD09 X-Received: by 10.28.24.1 with SMTP id 1mr9597486wmy.107.1478538056256; Mon, 07 Nov 2016 09:00:56 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id au8sm31985488wjc.12.2016.11.07.09.00.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 09:00:55 -0800 (PST) From: Thomas Monjalon To: John Daley Cc: dev@dpdk.org, bruce.richardson@intel.com Date: Mon, 07 Nov 2016 18:00:54 +0100 Message-ID: <1920946.a2yDThod96@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20161101180828.1590-1-johndale@cisco.com> References: <20161101180828.1590-1-johndale@cisco.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/enic: fix max packet length check 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: Mon, 07 Nov 2016 17:00:56 -0000 2016-11-01 11:08, John Daley: > When the device was configured with an explicit maximum packet length, > it would fail if the value was greater than MTU configured in CIMC/UCSM > (plus L2 header length). It should have been compared against maximum > allowed by the device. > > Fixes: bb34ffb848a0 ("net/enic: determine max egress packet size and max MTU") > > Signed-off-by: John Daley Applied, thanks