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 D3CFD438B5; Sat, 13 Jan 2024 19:05:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7738640268; Sat, 13 Jan 2024 19:05:36 +0100 (CET) Received: from mail-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178]) by mails.dpdk.org (Postfix) with ESMTP id 2A581400EF for ; Sat, 13 Jan 2024 19:05:35 +0100 (CET) Received: by mail-il1-f178.google.com with SMTP id e9e14a558f8ab-3606c7a4cb5so48790425ab.3 for ; Sat, 13 Jan 2024 10:05:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1705169134; x=1705773934; 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=8qAGn+fgo5Qs2A4v2b3+dsYa3VHgTL/p4Jb1FH56kI8=; b=uBiBEncF3TH8ie5xiXq1UMpiamYIAYuz+nlfHesoCrcCwzWrvT6S/KiWbnWK1Q8nji jeXoGJ/ct/xV63jBtr2KgzuskXvw64Lcxxha8v/0jMxr7qBZawmkEw+5SCk+f29JXdWz jBgJ0/9mNkYYbDUQ61jUB7WL5hlraqj26oQQ7+4tRphTIG0nLuJKEe8QeXsC99mXEihk rvP/aieXh4Yi0ww9P/yYVRlN6Fk7C2FB5/zQqZIdhfeUhxxVW2H1o20lg7OsWrv5jyfo VLhs2QQooTD/Bqx3PE75ttthE63ZenTAZFUUpHqhJgX0YM2anVB828K01H65IEqR/1XW rAfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705169134; x=1705773934; 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=8qAGn+fgo5Qs2A4v2b3+dsYa3VHgTL/p4Jb1FH56kI8=; b=FabfEzwT3aqrYMbyUI7WVry/7bscX+0EZF63CtbWvaB0aGffMHI8ZfWFzMhjyO4zu8 /lDOPauIK6pGmJn9d4ja/RhfRbKK9PwI1Aqzy0ZYongC0nHkG0DnmL0pHxGobfr+GarZ yn17mQGkiKjYpNjAwQxrG9mxWRwDNOa2K5iPOiZHPaHRk1v6G3nxupEi3y/Wgwmg8vsH 8gBqwz98c/ttR+nhAIH4mahIbtoNwPT0nAIvWnI8lZGLV+how1mvkDkQaQJvoubi+kBx Rrt1a+8uINsIzAylzWARrZ5ZU0eYtj2CPRTBWhsrG5sECR5qeGym3d0173M4CxyGVUpP s2rA== X-Gm-Message-State: AOJu0YwmlT/Wvu9OM7s98aEleehlgbSK6sotoNzaYiUMd9FDFqWO3ZCD Dlsj0VaFaLdvotZZ46ZgW7lvzF1BAhbRYg== X-Google-Smtp-Source: AGHT+IFBaSoLumTKSMvtYbSpVUZlK/yTB6GzWYdMxiq6uWkpp1dw2llCXWRr4LxduZf3bZ97q24Nag== X-Received: by 2002:a05:6e02:12ed:b0:360:7a2a:b975 with SMTP id l13-20020a056e0212ed00b003607a2ab975mr4461558iln.128.1705169134250; Sat, 13 Jan 2024 10:05:34 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id ph13-20020a17090b3bcd00b0028c94f78c07sm8806964pjb.30.2024.01.13.10.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jan 2024 10:05:34 -0800 (PST) Date: Sat, 13 Jan 2024 10:05:32 -0800 From: Stephen Hemminger To: Madhuker Mythri Cc: "dev@dpdk.org" , "ferruh.yigit@amd.com" Subject: Re: [External] : Re: [PATCH] net/tap: Modified TAP BPF program as per the Kernel-version upgrade requirements. Message-ID: <20240113100532.151e37a3@hermes.local> In-Reply-To: References: <20240112134821.2067-1-madhuker.mythri@oracle.com> <20240112084131.1786113c@hermes.local> 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 Sat, 13 Jan 2024 17:50:19 +0000 Madhuker Mythri wrote: > With the original code BPF verifier throws error, due to undefined array access and thus could failed to load the BPF instructions onto the Kernel. > For safe execution on the Kernel, the array access with such undefined value throws error. > > So, came up with this loop which has Max-queues as limit. > > Thanks, > Madhuker, It does not for me.