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 250E945F8A; Mon, 30 Dec 2024 18:55:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A58C240272; Mon, 30 Dec 2024 18:55:35 +0100 (CET) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id D8F3240263 for ; Mon, 30 Dec 2024 18:55:33 +0100 (CET) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-216395e151bso89133315ad.0 for ; Mon, 30 Dec 2024 09:55:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1735581333; x=1736186133; 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=tilmi2gKL2Ze2zGTClYyxjzplfhsrN8oHpF85e2GjRQ=; b=T8Lk77ob8+ehrSaNorwqNWNkHmzgKbBHfY89gqF0BbNb9Q3HVCdkTH8ey8If+hiXA/ X95MQuGhKu7OgiN+PWsEiqpLWsEU1ooTQnotSrWVmDXh+ZBEF45dJIknK+wtm2oXuIhZ NSAFaJCJa+OCp+sb8D8hqeiVBIY7koDUzA2czTKHRidMtePvIPzemumFRF0JXzwRdQcZ vrLm7bzjCXTkrdSUsfhvRZ/pgLFzQI6IJXOB49Scqhra0691M9rBmXMRRuG7fk3GtGRZ QjqGbX6HEnuwbiI8L8l9k9xDuFS2tMAOsm28vVazpsp08mSYOkO2DlMnpdaMRxNRcduo bqRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735581333; x=1736186133; 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=tilmi2gKL2Ze2zGTClYyxjzplfhsrN8oHpF85e2GjRQ=; b=a1XRZLIze8eRZfWwME0vkAOT0hzGuPS+3+zWX/ZH6/xk9I9ic2OsulrjyLOlBTqXDQ mewadB9ekLfn+T1a0tdch5CWqOyWqF7QlXaN8iw+M1qzezoK43T5WChEqIYvtxBsSzAm j6wYsFDZqb+Eyvg4h2eh980S44i+73KgEtBZijjJDPsnw7qV2n7OTZD64OdqAiu5qkmO P5mgzPO0sRl4dCRZRPIICtAO4emyP12SaguhysPC2rwDl6YaR9LGqkCzZh+BepZ8XiQy gm2YxsRRHE5UAQ6Mvj/BGobkJ90L943DGvpb/eLT9EMqxAEkMAcfWThEGAhT1C7yIw4i dQgg== X-Gm-Message-State: AOJu0Yxm4ttSNoWZyHHa8hKeMZgFA6y6jfJmrB8JMTmcNGAZW/C3uylA QRKqygFThZHBFRCGbHHg3je868zPdeiQit7dOCGuGDWIMejB0weXDy/Dlqwgywc= X-Gm-Gg: ASbGncuNaaWI2Ry/w8AtewarFGnlCxIGAzefVWJLaCBDqpoFK67lwg1fC6Z8WOZzGWb DcMwzNmMOD24nj4Hp0YVJXE9rK7wcrrGAVGUEQOGpjBksH0UgZ0BonkixRkyJN+Fx9jTQ9ZBOa0 J9xvLuPlSFc+QqtGnsVCjVlajnpZXXCBjt5rfm35zUEbXnWEmtWADC1Qpgj1MhFB/736k3oVMqc iyrkoKL6V4UugGqrr+OQx9gZxW4iUIP1LQtlwPY+LuLcb5LZLIa8Lax+jE8coJYs+tfyqYKASn4 cOfpDBEM X-Google-Smtp-Source: AGHT+IFatSBuJfwkcwkDBov9ah/tr6aKb2vBHIMMH6yyWk/RxIReL3n/M5iczMkrvmAkbIexUrZUWg== X-Received: by 2002:a17:903:903:b0:216:6284:8a00 with SMTP id d9443c01a7336-219da5b9cb9mr591543995ad.2.1735581332916; Mon, 30 Dec 2024 09:55:32 -0800 (PST) Received: from pi5 (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc970cbbsm181503315ad.103.2024.12.30.09.55.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2024 09:55:32 -0800 (PST) Date: Mon, 30 Dec 2024 09:55:30 -0800 From: Stephen Hemminger To: Jie Hai Cc: , , , , , Chengwen Feng , "Wei Hu (Xavier)" , Huisong Li , Subject: Re: [PATCH 1/3] net/hns3: fix simple Tx path incorrect free the mbuf Message-ID: <20241230095530.7cb2f643@pi5> In-Reply-To: <20241230065405.18552-2-haijie1@huawei.com> References: <20241230065405.18552-1-haijie1@huawei.com> <20241230065405.18552-2-haijie1@huawei.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; aarch64-unknown-linux-gnu) 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 Mon, 30 Dec 2024 14:54:03 +0800 Jie Hai wrote: > From: Jie Hai > To: , , , , , Chengwen Feng , "Wei Hu (Xavier)" , Huisong Li > CC: , > Subject: [PATCH 1/3] net/hns3: fix simple Tx path incorrect free the mbuf > Date: Mon, 30 Dec 2024 14:54:03 +0800 > X-Mailer: git-send-email 2.22.0 > > From: Dengdui Huang > > When RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE offload is not set, > use rte_pktmbuf_free_seg() to free the mbuf. > > Fixes: 7ef933908f04 ("net/hns3: add simple Tx path") > Cc: stable@dpdk.org > > Signed-off-by: Dengdui Huang > Signed-off-by: Jie Hai What about the fast free case which is using rte_mempool_put_bulk when it should use rte_pktmbuf_free_bulk instead?