From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8334C4363D for ; Wed, 30 Sep 2020 22:29:47 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 330902075F for ; Wed, 30 Sep 2020 22:29:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 330902075F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B02A1D5A5; Thu, 1 Oct 2020 00:29:45 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id EF66E1D58B for ; Thu, 1 Oct 2020 00:29:42 +0200 (CEST) IronPort-SDR: dMr/JiXbyOpkJGyeYzxmb4cLhGH4ImK79wtfl3yohsX8NtEFm7spBFJFr4an8fynV1SisrgN/K YUqr/7eBf9RA== X-IronPort-AV: E=McAfee;i="6000,8403,9760"; a="180719843" X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="180719843" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2020 15:29:39 -0700 IronPort-SDR: zq4SSyFyf6ZGkh3nVNFUbUoUWzx636DHCy6TURYWcuBXkrhUbOb1JiLPAoOBFpSZZ8/A76iqRs wotXQXXRnUDg== X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="312755581" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.229.39]) ([10.213.229.39]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2020 15:29:37 -0700 To: John Daley , arybchenko@solarflare.com Cc: dev@dpdk.org, Hyong Youb Kim References: <20200930034504.13627-1-johndale@cisco.com> From: Ferruh Yigit Message-ID: Date: Wed, 30 Sep 2020 23:29:33 +0100 MIME-Version: 1.0 In-Reply-To: <20200930034504.13627-1-johndale@cisco.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/enic: share flow actions with the same signature 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 9/30/2020 4:45 AM, John Daley wrote: > Flow actions are a limited resource on the Cisco VIC, but they > can be shared between flows if they are exactly the same. > Use a hash table and a reference count in the PMD to enable sharing > actions with the same signature between flows. > > Signed-off-by: John Daley > Reviewed-by: Hyong Youb Kim Applied to dpdk-next-net/main, thanks.