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 4C1E2A0C40; Sat, 31 Jul 2021 00:27:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13F5F406A2; Sat, 31 Jul 2021 00:27:59 +0200 (CEST) Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by mails.dpdk.org (Postfix) with ESMTP id 18E3240040 for ; Sat, 31 Jul 2021 00:27:57 +0200 (CEST) Received: by mail-qk1-f169.google.com with SMTP id 129so10934082qkg.4 for ; Fri, 30 Jul 2021 15:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hemLAokvGGV3MYW1U0G3MHc3nsucIuOlH0x+vxZjBKk=; b=CqnijHa+17XO3xPlLqRsL4u4Qe6gzCePUQR1e21xR0DrFDTizULbnYQqNXXABrKLuW Lx6jX+f1pGgoLHTxlAT1zfPwF7UVExLBXanStoNf3lLqygIDuNWX1J20HUfvcNDgKlCR 56qISobiAMXUBO2oYeDMhyvk+hJAX30Wwcx7U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hemLAokvGGV3MYW1U0G3MHc3nsucIuOlH0x+vxZjBKk=; b=bTXq68lQNUWtZZMrZvNm/KGSeSHamc5czESo+NKHPHjKcYx/w7Ps4LxjkCKaf7cp2C ons7IrORSxB6uujhkQlDs7my8rqfg6qpipnA1t0I2ZDiNE4bXKniU7QXuOz7W4N30JgK o0Pw8tzmsgYiTLOKa82VQ8yCXSM2NmNpoPLLJ+y4a8mldfQTvu25ASu3/k06lj5DlsNT rMaZ3Fp/tbLGiXzyOQiPOtalqV7Ptr6loLyFJD+zSoVJ/40SLDIUQMGwlQC7SLlLxiIg uWss0fa2dgIyx+MajEd77rESIkqnnxOBnrzF6C1IsKdqbojED/zuiUgeW0ZJFEEgHzc9 8gXg== X-Gm-Message-State: AOAM5332yS7o45WXLRlGY3UmX0xJs/xBc4nb8/9bXASZvxjyB+D9cJKM Rf/BRGBK+mfdmQEd/NCublaxIQ2nJHFghNJniKfbCYPWr8VQQg== X-Google-Smtp-Source: ABdhPJxMr9BuAXss5lTZJ/tWDfQy1aVwashxMQFzUjVtGYAYhYBwOCtZWwuBrkAu5UkgtD0qYG1lul+WuTFxJrCWhdM= X-Received: by 2002:a37:394:: with SMTP id 142mr4529246qkd.423.1627684076149; Fri, 30 Jul 2021 15:27:56 -0700 (PDT) MIME-Version: 1.0 References: <20210730211545.16425-1-ajit.khaparde@broadcom.com> In-Reply-To: <20210730211545.16425-1-ajit.khaparde@broadcom.com> From: Ajit Khaparde Date: Fri, 30 Jul 2021 15:27:40 -0700 Message-ID: To: dpdk-dev Cc: dpdk stable Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000002f00d305c85ebb61" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH] net/bnxt: fix seg fault on Thor 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" --0000000000002f00d305c85ebb61 Content-Type: text/plain; charset="UTF-8" On Fri, Jul 30, 2021 at 2:15 PM Ajit Khaparde wrote: > > In a few cases with Thor device, PMD can segfault when VF > representors are specified. Temporarily fix it by preventing > VF reps for Thor device. This will be addressed in next release. > > Fixes: 3fe124d2536c ("net/bnxt: support Thor platform") > Cc: stable@dpdk.org > > Signed-off-by: Ajit Khaparde Updated the commit headline to "net/bnxt: disable VF representors on Thor" Merged to dpdk-next-net-brcm. > --- > drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/net/bnxt/tf_ulp/bnxt_ulp.c b/drivers/net/bnxt/tf_ulp/bnxt_ulp.c > index fa2148ead7..dbf85e4eda 100644 > --- a/drivers/net/bnxt/tf_ulp/bnxt_ulp.c > +++ b/drivers/net/bnxt/tf_ulp/bnxt_ulp.c > @@ -815,6 +815,11 @@ ulp_ctx_init(struct bnxt *bp, > goto error_deinit; > } > > + if (devid == BNXT_ULP_DEVICE_ID_THOR) { > + ulp_data->ulp_flags &= ~BNXT_ULP_VF_REP_ENABLED; > + BNXT_TF_DBG(ERR, "Enabled non-VFR mode\n"); > + } > + > /* > * Shared session must be created before first regular session but after > * the ulp_ctx is valid. > -- > 2.21.1 (Apple Git-122.3) > --0000000000002f00d305c85ebb61--