From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 4E8231B32B for ; Mon, 12 Feb 2018 19:31:52 +0100 (CET) Received: by mail-wm0-f65.google.com with SMTP id b21so11726436wme.4 for ; Mon, 12 Feb 2018 10:31:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=W+Ln+G+jVYVmj4rtWBgnRvR5Yu1OxeDcXbUbSTh6gn8=; b=CYUpCXQqwkWr+pnFqV6FCQcM7sdMt9v2QLplaL5FnTcUwgilpeOEB1vRTWXQnAR6nP fGk9DvM3h4XYjiD1q+HrVkMJpG6gFn3Tc58Kif84RqIdRD5IsBe2y0dMrZYRe8s83nU7 CFz/6/otQy60rHO9d3p5Ohttjb0PaqxR1er9ucLrDROXjWlavC/ULAZH5c43IHs9OvB/ 7xeSnDu+tmT1JajS7+pgvk1CZYvU9wKRmxAhvLY5QqQ+6nQ/PzuUX1qjgbHcUc6gpYQ6 QjXVY7/90Poh/+uol4hfnv8hHz/UcwuFIFgtH21PF/kNhTt1HziKPnFACUsMSWPcVwvx NhWg== X-Gm-Message-State: APf1xPBk4yYv01HoDRt7W7/PQ9rVLxiT+1Tp1hahX0tHhu+LpekRvU43 yfUCmgtv1zP7066RiAHtnYNDVQ0w X-Google-Smtp-Source: AH8x226L0CWnN216DjdU7BUulaECxMr/9rz0C79o8LNymaHHYzkHVmbtGnrMdmeIku/bj3qyc8Ob1A== X-Received: by 10.28.166.195 with SMTP id p186mr4085691wme.81.1518460311866; Mon, 12 Feb 2018 10:31:51 -0800 (PST) Received: from localhost ([2a00:23c5:bef3:400:9531:588b:44ae:bec4]) by smtp.gmail.com with ESMTPSA id v5sm11290495wra.94.2018.02.12.10.31.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Feb 2018 10:31:51 -0800 (PST) Message-ID: <1518460310.17920.32.camel@debian.org> From: Luca Boccassi To: Yongseok Koh , stable@dpdk.org Date: Mon, 12 Feb 2018 18:31:50 +0000 In-Reply-To: <20180212182022.36466-1-yskoh@mellanox.com> References: <20180212182022.36466-1-yskoh@mellanox.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix handling link status 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: Mon, 12 Feb 2018 18:31:53 -0000 On Mon, 2018-02-12 at 10:20 -0800, Yongseok Koh wrote: > [ backported from upstream commit c7bf62255edf ] >=20 > 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. >=20 > Fixes: 62072098b54e ("mlx5: support setting link up or down") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yongseok Koh > Acked-by: Nelio Laranjeiro > --- > =C2=A0drivers/net/mlx5/mlx5.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0|=C2=A0=C2=A0=C2=A01 - > =C2=A0drivers/net/mlx5/mlx5.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0|=C2=A0=C2=A0=C2=A01 + > =C2=A0drivers/net/mlx5/mlx5_ethdev.c=C2=A0=C2=A0| 118 > ++++++++++++++++++++++++++++++---------- > =C2=A0drivers/net/mlx5/mlx5_trigger.c |=C2=A0=C2=A023 ++------ > =C2=A04 files changed, 95 insertions(+), 48 deletions(-) Hi, 62072098b54e ("mlx5: support setting link up or down") is in 16.11, but this patch does not apply cleanly. Should it be backported to 16.11? If so, could you please take care of it? --=20 Kind regards, Luca Boccassi