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 5C3744660E for ; Wed, 23 Apr 2025 17:31:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F0DD402EA; Wed, 23 Apr 2025 17:31:00 +0200 (CEST) Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mails.dpdk.org (Postfix) with ESMTP id 6CDC24025E for ; Wed, 23 Apr 2025 17:30:57 +0200 (CEST) Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-af9a6b3da82so4329019a12.0 for ; Wed, 23 Apr 2025 08:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1745422256; x=1746027056; 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=wy9HVV3Q99t8kht3GwH/nGT6iTMaupsS3DneBA+H2DI=; b=XTon0EFevB0tfba5maQZSqJAn46KRi3y2gevrYhHhk1OZngmSukIfmiR8BZXKGJ5FA JAlvwa7qtOvNHH9jSl/a6MeoY0WTxP931JYsMavpdvgt5r+H6kelGlSGJuo41QI6sx2j dgmfCxCaBzoTjhdKV/uwyCU2hECLJX/lVbAg+SLV/6GvSwKu7t12e0df7PwtxzQcK1Ls BaOppFxAodg7gag2vChvzeX1rL6puZ2sZJwfdZYmlUqfzlVXzZxMN7Pj4rZbiBPCcgfj mj/gZa74TwWXSeAgwwIwWo1YD2aNpdkkm4ioLi4a5Mvq3hvOLuEXcAHMULyR/XuJDvG6 LLDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745422256; x=1746027056; 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=wy9HVV3Q99t8kht3GwH/nGT6iTMaupsS3DneBA+H2DI=; b=l8J5JDpuZcgqHsGBvHIRLXAsrqzKcR/Jyx80mqON2ehjNG4ZmuXcJ/41PE3/voPV6B NEXSgg8ryQ9aCNZgxNdAhqmP1a+FylfqLl722dU1/bI+CF9gj1HyziHdNkQI7ed7L9Qa yUHzl8YvC7DG55gKcyzmhP67IaDtQSDjc1BHjfaRiswLgat97HpKwigmEOkwCu4XKH8I lmVY2IpA6yj5PWQfSb7OpVrCuL6FxMovipaQJdpbpsMk2kj6wn3bYzdaUdw82uBShnGm nucmgBZIjOnYu4NfTbm+P7HJsCfDQtUw0OobRa6lTa6MEaaWfUOuhWXaiXyOHo0dq+LL FfTQ== X-Forwarded-Encrypted: i=1; AJvYcCUTQjyUqW5nrdCU45eLIQD6gDaR/TPKN3aTRN/T0oNFGmkjBUi5PAZPupLIrdlEjUfvOy6Drjw=@dpdk.org X-Gm-Message-State: AOJu0Yw1eA607U83gqd/cn0HeI+rYUpCI4CteqktIT15kL4Bubb6UkZG PaKnJkUZ6B5kbbTby9WtkHg++TUJT3vjIJhbAeTdelvGr0HFRH28lN5BfPb5sfs= X-Gm-Gg: ASbGnctQiu0hX3bx/OoyMusVuOAMkh5fml2Cgw7KPWU5q32Z/GagxRfY66UV0OCWxwz YbrXSMVPWWcSk/a/DBfv84frABpAZ14Mu5TniZ6ikUZ2kF2a3cz6HQbilMSnS9FT8cGvngS5JNx QRSbNQrV6AV1USw/T9BqC5tB5JaUcUDpV3/SibjKdcKzfY0hpVREiBzSL5u40WNT3M3k2iTwhr+ 9cxTHWixhQw/1OZ1R099by2iqb899y3D+E3jhKYpmwUYuIGsauofelsMz5+pzoXljQSfWa1ZEcB 81fL/v7qPS7tTfrzcKerfDZfZxgGDnt1gsq3SAfo9yghxdBdoxt2l7liUzAjqIQBtmtKC1cUela glMy6KgeiCNy9yj0K X-Google-Smtp-Source: AGHT+IFWELCRXXGPf9cW3vaZlVd5WPVStHIMxH060Zk6yGWcFp5qlQBqPClQWkqzVNG6uOu7tRyE9g== X-Received: by 2002:a17:90b:2801:b0:2fe:99cf:f566 with SMTP id 98e67ed59e1d1-3087bb573d8mr27645986a91.13.1745422256222; Wed, 23 Apr 2025 08:30:56 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22c50fe0460sm106215385ad.255.2025.04.23.08.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Apr 2025 08:30:56 -0700 (PDT) Date: Wed, 23 Apr 2025 08:30:52 -0700 From: Stephen Hemminger To: edwin.brossette@6wind.com Cc: dev@dpdk.org, olivier.matz@6wind.com, didier.pallard@6wind.com, lauren.hardy@6wind.com, dsinghrawat@marvell.com, palok@marvell.com, stable@dpdk.org Subject: Re: [PATCH 2/5] net/qede: fix bad sanity check on Rx queue release Message-ID: <20250423083052.63bed101@hermes.local> In-Reply-To: <20250422155143.3893525-2-edwin.brossette@6wind.com> References: <20250422155143.3893525-1-edwin.brossette@6wind.com> <20250422155143.3893525-2-edwin.brossette@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Tue, 22 Apr 2025 17:51:40 +0200 edwin.brossette@6wind.com wrote: > From: Edwin Brossette > > As per the rte_mbuf API: the driver is responsible of initializing all > the required fields. This is not done at qede alloc, meaning there can > be garbage data in mbufs memory, although this garbage data should be > overwritten when the mbufs are used. Since a sanity check is done when > freeing the queues, its possible some remaining garbage data causes a > panic when trying to release the queues if some mbufs are being > processed. > > Use rte_pktmbuf_raw_free() instead of rte_pktmbuf_free() as the sanity > check is more relaxed. > > Fixes: 2ea6f76aff40 ("qede: add core driver") > CC: stable@dpdk.org Patch looks fine, but DPDK is trying to follow the inclusive naming guidelines. The term "sanity check" is on the not allowed list. I will reword the commit message. https://inclusivenaming.org/word-lists/tier-2/sanity-check/