[0/5] introduce changes to support flow scaling
Message ID | 1587786446-35230-1-git-send-email-venkatkumar.duvvuru@broadcom.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1B134A00C2; Sat, 25 Apr 2020 05:48:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 699281C19A; Sat, 25 Apr 2020 05:48:51 +0200 (CEST) Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by dpdk.org (Postfix) with ESMTP id 207191C199 for <dev@dpdk.org>; Sat, 25 Apr 2020 05:48:50 +0200 (CEST) Received: by mail-ed1-f66.google.com with SMTP id k22so8957091eds.6 for <dev@dpdk.org>; Fri, 24 Apr 2020 20:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=9Wd0DfEF64cevgStQ4EzSHdrgbeXISC7ZmDjAxAQX0c=; b=EmuCVT3R1fAlnEmKIcAM4qrDXCS9HEDQA9AQPNwTMs5hK2HiNKbynSqoqUJqSkdI3q Wv7yaGlflZJQ2FbrsYSUNPbppQ/Q8M5a63JYd6Arxal4RqBdwdF+RRTIURfonFhbB1HY fzJJqDLcHip9l396Mv2J6mkjg6pljkjif2IHI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9Wd0DfEF64cevgStQ4EzSHdrgbeXISC7ZmDjAxAQX0c=; b=Qg40emKKfl6jJKoh2gv3zMRuCcsGJ+16BO6SC1OtqgCzumk37D7k3PSs4PWko1xMHM 2Au9zLHjJ0ygwwwA1jR7E+v3DZzPPtjYGdERqkJJhKoyntBXOL9wa/5rm+XUntn+KNTE E9Sx6Qy1UmCyVv4tCP6bd4xDxCft3mVJOWsLQ7PWbnjdign+H/73RW0Pc/OVBugfrhJS Hu1iMvcoeT/YYmi6cpQneAK6ZZmbhaw+5sibH+ewSMH5auJSXSGewaz+i05FmfcaIglF nUBdu40hYYOsktNOrV3HGccXD/QuAyObs8yhhMX+ijSpN99MthYEuyvFVgG0+xyw7qUx 0gRw== X-Gm-Message-State: AGi0PuYvBOjRxJ42hQprJ10hQIJeJP7IZKzHBlYqQJq1WoNu7kPsUuYJ JVXSV9EDLC4DQRgnFbB5pP3zh0SFW2Ei8GxAwd0bcCXIYLLnXxpzhsaw3LbmNtksGFpflHn0Cv2 tMAtqJ0yFrY3wRzucrR8PAFQsGXeUAWLP6A+VqfAkulIAIwYZJR1/B1rUInCz4/a7VOEY X-Google-Smtp-Source: APiQypKz8PBZItaNiq71n6S43duH6OeQgRuFSHedzmgmyTIRfWeDV+NDiKSmWE7LWA6LzQ0BvhEkMA== X-Received: by 2002:a05:6402:d0a:: with SMTP id eb10mr9929259edb.60.1587786529628; Fri, 24 Apr 2020 20:48:49 -0700 (PDT) Received: from S60.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id ci6sm972012ejc.73.2020.04.24.20.48.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2020 20:48:49 -0700 (PDT) From: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> To: dev@dpdk.org Cc: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Date: Sat, 25 Apr 2020 09:17:21 +0530 Message-Id: <1587786446-35230-1-git-send-email-venkatkumar.duvvuru@broadcom.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 0/5] introduce changes to support flow scaling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Venkat Duvvuru
April 25, 2020, 3:47 a.m. UTC
This patchset introduces changes to the action record allocation, flow database entry deletion, and hw flow cache updates. Action record allocation now allows the actions to scale with the flows. Additionally, resources attached to a flow database entry are now correctly released when the critical resource has not been added to the flow. Finally, the hw flow cache has a timer to periodically invalidate flow entries. Farah Smith (1): net/bnxt: action record external pool updates Mike Baucom (3): net/bnxt: reserve a flowdb resource function as invalid net/bnxt: ulp modifications for handling actions/index tables net/bnxt: ulp must set hw flow cache timer when allocating table scope Shahaji Bhosle (1): net/bnxt: add truflow flush-timer to alloc table scope API drivers/net/bnxt/tf_core/tf_core.c | 3 - drivers/net/bnxt/tf_core/tf_core.h | 21 +++-- drivers/net/bnxt/tf_core/tf_msg.c | 3 + drivers/net/bnxt/tf_core/tf_msg.h | 1 + drivers/net/bnxt/tf_core/tf_rm.c | 3 - drivers/net/bnxt/tf_core/tf_session.h | 6 -- drivers/net/bnxt/tf_core/tf_tbl.c | 137 ++++++++++++------------------ drivers/net/bnxt/tf_core/tf_tbl.h | 4 +- drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 6 ++ drivers/net/bnxt/tf_ulp/ulp_mapper.c | 30 ++++--- drivers/net/bnxt/tf_ulp/ulp_template_db.h | 15 ++-- 11 files changed, 106 insertions(+), 123 deletions(-)