From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/enic: fix max packet length check Date: Mon, 07 Nov 2016 18:00:54 +0100 Message-ID: <1920946.a2yDThod96@xps13> References: <20161101180828.1590-1-johndale@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, bruce.richardson@intel.com To: John Daley 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) In-Reply-To: <20161101180828.1590-1-johndale@cisco.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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