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 4A57CA04AE; Tue, 5 May 2020 05:27:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 98C861D593; Tue, 5 May 2020 05:27:19 +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 468CF1D592 for ; Tue, 5 May 2020 05:27:18 +0200 (CEST) Received: by mail-ot1-f66.google.com with SMTP id k110so533513otc.2 for ; Mon, 04 May 2020 20:27:18 -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=CewfPBeTlnTiHJY3C6Ll7jzLwN3b8en52rfUchnGbUM=; b=HJj81q7sYI2XpwsuRb/xn9F94N6ITpdBJZLG5w0ez46Y8D4n0Frk0JtKeE0s6ZsevL iHwMINv7moCMr1ch3kODbyoNzJqAd1W+ykcFYFaQ+VqnefPdZl8Sb4PdBdHjLNBG9gL1 sxd5A5ewrhJJO3SZlNvAHh5e65WwrI7tHuZVs= 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=CewfPBeTlnTiHJY3C6Ll7jzLwN3b8en52rfUchnGbUM=; b=sAYpe72k0gvVFjW2m0MplTO/JCZk6tAtQhUQcfJ+4gzSOEtuvBff0uLYT6ANcALyT2 MApr1SFrF4sdKFs74myTB2oxROAbfdG2G6NUmN6Q4XguUvTfMho3w8D6KVEx3/iGK5K7 SAjVVy6cPTqxoo4Rl5wA/Z6iM5V3ST2Lrsjv/IZsRaDRqyzKjwcyUIi1xc8KEfOBxStv nuT5/XQ4Omq5oyt5+8spREOPOtKR41AbPcCF93qFSVTaJvJ4WX+pOEvHmFnE17Q63zhD 88f2mjtO2FChLwBMRiGppKU/Ho75WvaWVultJMXi9JIr0nAMlSBJde2byGe9oJ7q0gWp Lx2g== X-Gm-Message-State: AGi0PubM1f5EAVtNDbqxSd5RfpQkJQvQIsImq4/NFe91HBPz0nVDlLPb qtIbL1TMnDGhOb+TfvFkna6r9DaXTeN75ZkBnu9QBQ== X-Google-Smtp-Source: APiQypJtrGEiNF/7TpkMVZoBTKizyQx1U+puyzUspD8Z9lKKBj5uSOHdDH/wWES+jeT4Qgepw27EoTXawnpAy4zJhOg= X-Received: by 2002:a9d:170e:: with SMTP id i14mr657053ota.283.1588649237490; Mon, 04 May 2020 20:27:17 -0700 (PDT) MIME-Version: 1.0 References: <1588613102-46399-1-git-send-email-michael.baucom@broadcom.com> In-Reply-To: <1588613102-46399-1-git-send-email-michael.baucom@broadcom.com> From: Ajit Khaparde Date: Mon, 4 May 2020 20:27:01 -0700 Message-ID: To: Mike Baucom Cc: dpdk-dev , Kishore Padmanabha Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] net/bnxt: modify mark manager validity checks 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 Mon, May 4, 2020 at 10:25 AM Mike Baucom wrote: > From: Kishore Padmanabha > > The ulp mark manager originally assumed that zero was an invalid > mark and used it for invalidation and deletion. The mark manager > now supports adding zero as a mark, flags for validity and type, > and adds explicit bounds checking instead of relying on mask. > > Signed-off-by: Kishore Padmanabha > Reviewed-by: Mike Baucom > Patch applied to dpdk-next-net-brcm.