From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 6F8FF1B16A for ; Thu, 18 Jan 2018 08:51:45 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id t74so20102394wme.3 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=iv20eU7UO5yDy93JvxbzsCqvInWgBkEHRy40ywpgaYzzz4TqHWAz/LemnAWwhU6XSM sAVzLbUBwhkBUUmDvZT5yH0ido5xnW0UBj9/C8N3ZJOwA06rebafLIFkU0ukbpCXCMPc 2NBjJHLAslPItndKt+MYQBfT+K78xIi7eVJLlftnXymK2ATYw34pv51tAyCLp0urS612 VgScE7cSi9RpVpWAJ16mFAijxHLV1/0rz99Ji5n/uZ7HUrMD4Uki1qVaKcjN5grtvW4W CUmKZTg2goRxh31DYT9DaIkJLJOCPqHYmTsLYhV8Pr1vFAUa/wG1HxDIH0AVsW59NGmO 9E1g== X-Gm-Message-State: AKwxyteciu2wNBMbOQMJZNGFVgn71E9rn02zy7sjFU24ivLzj4uaEZn/ cEUDpox1ApOu6HHAjjb65DXg 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-dev] [PATCH v2] net/mlx5: fix handling link status change event 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, 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