From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 84B2BA04B4; Sat, 2 May 2020 00:03:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D94F11D937; Sat, 2 May 2020 00:03:05 +0200 (CEST) Received: from mail-ot1-f66.google.com (mail-ot1-f66.google.com [209.85.210.66]) by dpdk.org (Postfix) with ESMTP id B11081D92D for ; Sat, 2 May 2020 00:03:04 +0200 (CEST) Received: by mail-ot1-f66.google.com with SMTP id g19so3734180otk.5 for ; Fri, 01 May 2020 15:03:04 -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=LZ7bAcqUjl7W+m3gpIgh0Nab5ME2tL0mgXtiqS9rEb4=; b=XeH7DFN6Q0quBU9NqHU2RmJHUw+Z6XdeA2nDVvjvQbr05fFP8rVIfuktFYNtPG4VzL LAAz54zm+e2RBc7KHfKGIqX+0HKujZiB7PanpViQ2ffEuExfMQ8/GDwqQwI+B+4/EDrV ryUkBSg5nrfffO0yOp1ustWHyEr1gSyRLQQ4E= 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=LZ7bAcqUjl7W+m3gpIgh0Nab5ME2tL0mgXtiqS9rEb4=; b=VFv4cxE6OpI5Qbwtx3uT6lgwAE19eO0VW0Bls/TRrbjchLdSI4vXYAgXg9tYnASs+u BnouQ+su/bFABvZUm8Ax/Sftw9ru64RkRcR6WQQBUnod1BIV9Td++C6Ov3eogXn5eF/N BbmofluFVSrdiWz4jCGNmcEJwcLtZYZhVhybl0ugtF6G8AW3AEBAwKVjyboWKcWKiXx2 cuyrm0R1FZLQaeMRFgFOw29s7v/8JjLbi55yp0SjpwPshCtQbVQFRjks3Dw4BG3Jeymi fYdouX11UeZKL2sgNFLrqgurk4a7wmez35HFyoYPYDWQMHMFHNXYWtlF5H17qf20VvQ+ vjTQ== X-Gm-Message-State: AGi0PuYfxFVUYqSfDsC+62TgTgKePQLCF5agpHmA16g7zhgtM0i5CS80 jKK5+nfSM08kmaS8+5wqrbZl0I9GchBjeD1uJ3q7STpQIywxPA== X-Google-Smtp-Source: APiQypIdQ6n1QPAF/9+TR5vw0Numk7a4EYfsMDHBg/e4qdoZcWWIOU3K/+db7WasQ1vUJsRvMLweZoFBreQKGzCTpWI= X-Received: by 2002:a9d:5f04:: with SMTP id f4mr5769816oti.154.1588370583476; Fri, 01 May 2020 15:03:03 -0700 (PDT) MIME-Version: 1.0 References: <1588279153-14028-1-git-send-email-venkatkumar.duvvuru@broadcom.com> <20200501191616.62325-1-ajit.khaparde@broadcom.com> In-Reply-To: <20200501191616.62325-1-ajit.khaparde@broadcom.com> From: Ajit Khaparde Date: Fri, 1 May 2020 15:02:47 -0700 Message-ID: To: dpdk-dev Cc: Mike Baucom , Lance Richardson , Venkat Duvvuru Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v2] net/bnxt: fix mark handling to check metafmt not metadata 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, May 1, 2020 at 12:16 PM Ajit Khaparde wrote: > From: Mike Baucom > > The current mark handling uses the meta data field of the rxcmp as the > first level check for determining gfid vs lfid. When the meta data is > zero due to only the lowest 16bits of the gfid being set, the cfa code > is incorrectly interpreted as being an lfid. Changing code to look at > meta fmt instead of the meta data directly for the determination. > > Fixes: b87abb2e55cb ("net/bnxt: support marking packet") > > Signed-off-by: Mike Baucom > Reviewed-by: Ajit Khaparde > Reviewed-by: Lance Richardson > -- > v1->v2: fixed the commit log. > --- > drivers/net/bnxt/bnxt_rxr.c | 85 ++++++++++++++++++++++--------------- > drivers/net/bnxt/bnxt_rxr.h | 2 + > 2 files changed, 53 insertions(+), 34 deletions(-) > > Patch applied to dpdk-next-net-brcm.