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 2C1B345CA4; Thu, 7 Nov 2024 17:30:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8920443257; Thu, 7 Nov 2024 17:30:55 +0100 (CET) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id 4F17843251 for ; Thu, 7 Nov 2024 17:30:54 +0100 (CET) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-20c77459558so11317555ad.0 for ; Thu, 07 Nov 2024 08:30:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1730997053; x=1731601853; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=KGHnRODrockgNwmntNBIKffpvhf81bRWTBjQVL5n6Ec=; b=XYXgiTy93lh22Tuw+kajuq2hSBxt71WW/kWkz9wTvz1zLfZw1gdFHbLjBAQuioWChs gg7IR3fsG6kKDvWS9mraq6lUdwGUZYfbIhUFg4QR6On6EZLq1aEs8kRAMrrsGashO6Z6 w1a+fCoJOcC5O2NskzP01WjDIgxOog7Ez4miGZIDkOSTkeLTFJ1u51N9kCUoJaXJcOtA AQP9mH/KaSQ3tZLL2RIzSMvUOnlly7gd6O9n03df590XdQT/GMBJpmpG5nRF4F/13/1X 0JJyK1quo91R0l4/QD7tsWY7ciUAkf+i5tmPbcYq9zwyHa8xtTLKggbfzFzxxNCfv1C0 IJJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730997053; x=1731601853; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KGHnRODrockgNwmntNBIKffpvhf81bRWTBjQVL5n6Ec=; b=ClHuBfBTzhNVB1mcSbfIyy+H/rEa+VrPHhMZCZIrHwduQMzPRXl9ODmATD3ChVuP3f GYq/CGJoF3YROgtcJWTwHOawV/SW/A7IYa/NvnXXwX9XgOLQhfWWSl7xD9cX60Qz7XWD rkLmgi2QMGcNiJVfKq6DknALPUuQ7YWXDRxElwU5BCL8Zn3PMbx9tslVtMNvUVhA/shL EWuyzXM0MpY1cp5O+8rtVopG/lJ7XidOMRA5S6lp8eYlHuHeKgYqtML4ZMwwNWo6YV2k GYAr1awO5bbogO3AmBhHb2OOxMG3MpPtHW2Nw2qSqmtyL+mSlEey/QAkhpJ0GNQS1QOZ wDRA== X-Gm-Message-State: AOJu0YzxUhKf7QhYaiVCi6UOz5JQWUkqL4GpSIvoZQFkhJHmXRkNUV4K i0NkXNnry0qkl5UJU4uUwyLKzHrh44UMk9bG2PFntcGkv8+0ROqn9CtEBbKcjaM= X-Google-Smtp-Source: AGHT+IG76Jd0wGpJvyT509DyjQ3IsCc25QBr/QxU4edhDSDmVPSNgtu9tgPHu/L90+QmQ03zMUjxTw== X-Received: by 2002:a17:903:41ce:b0:20c:5bdc:c228 with SMTP id d9443c01a7336-21180f9f49dmr7539315ad.13.1730997053476; Thu, 07 Nov 2024 08:30:53 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177e6abb0sm14162735ad.244.2024.11.07.08.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2024 08:30:52 -0800 (PST) Date: Thu, 7 Nov 2024 08:21:39 -0800 From: Stephen Hemminger To: Jie Hai Cc: , , , Chengwen Feng , "Wei Hu (Xavier)" , Chunsong Feng , Huisong Li , "Min Hu (Connor)" , Subject: Re: [PATCH 2/2] net/hns3: fix cannot fully use hardware flow director table Message-ID: <20241107082139.35728fff@hermes.local> In-Reply-To: <20241107115645.22617-3-haijie1@huawei.com> References: <20241107115645.22617-1-haijie1@huawei.com> <20241107115645.22617-3-haijie1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Thu, 7 Nov 2024 19:56:45 +0800 Jie Hai wrote: > From: Dengdui Huang > > The hns3 driver checks whether the flow rule is repeatedly inserted based > on rte_hash. Currently, the rte_hash extendable bucket table feature is not > enabled. When there are many hash conflicts, the hash table space cannot be > fully used. So the flow rule maybe cannot be inserted even if the hardware > flow director table there are still free. This patch fix it by enabling the > rte_hash extensible bucket table feature. > > Fixes: fcba820d9b9e ("net/hns3: support flow director") > Cc: stable@dpdk.org > > Signed-off-by: Dengdui Huang > Signed-off-by: Jie Hai > --- Acked-by: Stephen Hemminger