From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1A75DA034F; Mon, 22 Mar 2021 19:24:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9CA640040; Mon, 22 Mar 2021 19:24:38 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 8071C4003D for ; Mon, 22 Mar 2021 19:24:36 +0100 (CET) IronPort-SDR: bY1MWVnqFiHOJRzgsHlbibdShFZSYrK0heirI89KIhMYAfmQaiNKT9XpDyAYBvGoOlBzjSL+kC 76tuFHHDBx/g== X-IronPort-AV: E=McAfee;i="6000,8403,9931"; a="190420239" X-IronPort-AV: E=Sophos;i="5.81,269,1610438400"; d="scan'208";a="190420239" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 11:24:34 -0700 IronPort-SDR: 2P7QVc5pVsIWoTz7CbCftAnYd/NGcgzdM6qXmOGHz03ADXH7BRsRGbKH4EMl2BmXQCEa/oGi8Q PASN4v9PbbUw== X-IronPort-AV: E=Sophos;i="5.81,269,1610438400"; d="scan'208";a="407938979" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.252.14.44]) ([10.252.14.44]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 11:24:34 -0700 To: Rahul Lakkireddy , dev@dpdk.org References: <1615845106-13071-1-git-send-email-rahul.lakkireddy@chelsio.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Mon, 22 Mar 2021 18:24:30 +0000 MIME-Version: 1.0 In-Reply-To: <1615845106-13071-1-git-send-email-rahul.lakkireddy@chelsio.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/cxgbe: disable Rx path during port link down X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/15/2021 9:51 PM, Rahul Lakkireddy wrote: > When link goes down, disable the port's Rx path to drop the incoming > traffic closer to the wire, instead of accepting them in for further > Rx processing, only to eventually drop them at the port's Rxqs. This > prevents unnecessary congestion in the Rx path. The port's Rx path > will be re-enabled once the link up event is received in the firmware > event queue. > > Signed-off-by: Rahul Lakkireddy Applied to dpdk-next-net/main, thanks.