From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 81DA11B16C for ; Thu, 18 Jan 2018 08:51:45 +0100 (CET) Received: by mail-wm0-f41.google.com with SMTP id g1so19933513wmg.2 for ; Wed, 17 Jan 2018 23:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=ldn9ko6GgcCmI9cze5jZHPfuKrl7gmaCWv7xqsiVbY0=; b=n1XHAJcoUhCI2TpTPZpkcsJMsxWc03XdDYfhOvGP/CLQalOYYh5McFVXN7he80Quzy eMTak9iedsTMoO9valgBEGztPjW5BHkTMQat0qVLKfcIGnl/fC6TrrfIduOCgxQBpdMl gT58huYLS5sV95U0PNDlX4bb6BVh4MqBAt9JIeOCDZT69klJqsUyBxYSjdSAXgHm3bda 9ROekMUD/R06+/npIhpW8gCwi38+5eDv45uFSH9pG5IFww8u2P51JJyIHLOLxzUiaJwI aAuryC2oTKrgBkQrzE9cl5niHUDB0GCyafIKE8i+R8Oh7fZH/YOCfeyVasgoFiE9rVkr SjbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=ldn9ko6GgcCmI9cze5jZHPfuKrl7gmaCWv7xqsiVbY0=; b=icIOk37xTPC5UcK0dKfmdxxnsm46eKE87/zoUIk+qdqJruCdHCcR4F5zM30VgPzvB/ brlKUuRhIKvEMk+rI+uXRPkxZRoVamDy403NxzNmxWLo0trkFEQCVseo0lChMk80DVuh uwmk69l4wsxdpJPKbIryvR4OL2VHgtfaIfIhBQ4LGVrw3ov4idHOWFiwUTdQcwP52q/B emPw1JuPyvZLAL3d7hZLaWkF0bJ0kNrvWRGkErHCOLRzNzvQqtT36WnIbDWVB7i5jVu5 hDSR9iIFs1Y4wYqTCVODzxoBZhfoPEe6L1arZsStwuhQpn/BTldpzK88CNCCMmOGKoiK kwEg== X-Gm-Message-State: AKwxytdppKLHF1ifM9S3vdab7DATaC/AtLPbi15Wxkla5UemSEaVHB9N RsnQGyQ1UWhRliG10CI3/Ox4 X-Google-Smtp-Source: ACJfBotLS6PPhTUpUlj3S0buO/5mBfZzv+I4VtbdLBpHAA1wdUvclKxAMK2jrAIUEWG2Llwo6jPgyw== X-Received: by 10.80.151.137 with SMTP id e9mr6639599edb.102.1516261905099; Wed, 17 Jan 2018 23:51:45 -0800 (PST) Received: from shalom (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id i2sm4147322edf.90.2018.01.17.23.51.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jan 2018 23:51:44 -0800 (PST) Date: Thu, 18 Jan 2018 08:53:03 +0100 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Yongseok Koh Cc: adrien.mazarguil@6wind.com, dev@dpdk.org, stable@dpdk.org Message-ID: <20180118075303.m2wvfkkcioypxj5w@shalom> References: <20180115234800.3316-1-yskoh@mellanox.com> <20180117174413.48395-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180117174413.48395-1-yskoh@mellanox.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-stable] [PATCH v2] net/mlx5: fix handling link status change event X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2018 07:51:45 -0000 On Wed, Jan 17, 2018 at 09:44:13AM -0800, Yongseok Koh wrote: > Even though link of a port gets down, device still can receive traffic. > That is the reason why mlx5_set_link_up/down() switches rx/tx_pkt_burst(). > However, if link gets down by an external command (e.g. ifconfig), it isn't > effective. It is better to change burst functions when link status change > is detected. > > Fixes: 62072098b54e ("mlx5: support setting link up or down") > Cc: stable@dpdk.org > > Signed-off-by: Yongseok Koh Acked-by: Nelio Laranjeiro Thanks, -- Nélio Laranjeiro 6WIND