Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FB1DC38142 for ; Tue, 31 Jan 2023 13:35:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232192AbjAaNfz (ORCPT ); Tue, 31 Jan 2023 08:35:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231946AbjAaNfx (ORCPT ); Tue, 31 Jan 2023 08:35:53 -0500 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 823702448D for ; Tue, 31 Jan 2023 05:35:47 -0800 (PST) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5063029246dso203086437b3.6 for ; Tue, 31 Jan 2023 05:35:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tI4kV5oM2qFPjQvEJDn5jAVsXRrgMzRfITJo9e7Rl78=; b=IbTU8Qz2dEo3JIi3NzAPce2fz2Pb4PMTWYfgXL3raMV1d/zoTdEoR+fmrELHo5hKkc rBq6FNw23PsVBuBFmc0MNBS+rIhZ4Jtw7AKx9Lv9yD0dCmolrmqrgpbYK2PHv40vH0a5 Ra0SKdWBfq/usstmwBVh3QOnXbgTDDiD+U2JpRK9/gjOFS7B8S2Uw+wMKIV+vyS8iSje MHLH4xfHK42foxoZVu73hnrko+dmLmtjMTpCAbi1SE55jSi9si7H8R3tAwZf/FJcczL7 1s3tfh3K8T8BKKhThwud/iLqu6lMIYW95v1ClMnfzkhFovWhPyxf9Kiq8HC558o23qHB NTrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tI4kV5oM2qFPjQvEJDn5jAVsXRrgMzRfITJo9e7Rl78=; b=3c/Y6AVFOfZrApjIIBiU83ZxXucm5uZIEv+w23dgVXmkdHPyfbRHIamc0M3tMyhibb hb6B+w6OJ1ouONg3MN6aJuODMHx4bVivh4ZZFPySvEuA00uFH3o6UlmJze0bh5xMdZNx 2pnwMd+qYOnq6AoyrKW3j0e1ODUQ73fbvqOAA9wx+QLtnXIbifCulMeVbt2/KdF1wMcC WEuRwUXFk5RC4u5lEE9ajvP28kmOPifWgrEbCLOL2lnYwbx/iNEuRruj21hkWd5tZtb8 jALsnm6SoRwkPSqEuSi1RdGOSmH7waNnn+v2HldlUn3Deca0QG6760psMz7jvAfpKjzl Me7Q== X-Gm-Message-State: AFqh2koyLTHxmKDhhMydFYnIiPxMXzMxz27lJP1kaZrpBiEnuT6wZo/I iqvtGBZ8YccyMlqWQWepcxRziOFPShCLM+rVLUL+5A== X-Google-Smtp-Source: AMrXdXs3q2RiccipehWHg8zxYR2iLXkL7CjpaacTtKc4bg5V5IHTA41lkqUQp4FNhYntdV3LrQNKISffJTyFIxiOQX4= X-Received: by 2002:a81:ed4:0:b0:4dd:c62f:d65a with SMTP id 203-20020a810ed4000000b004ddc62fd65amr4835812ywo.427.1675172146677; Tue, 31 Jan 2023 05:35:46 -0800 (PST) MIME-Version: 1.0 References: <20230131130412.432549-1-andrei.gherzan@canonical.com> <20230131130412.432549-2-andrei.gherzan@canonical.com> In-Reply-To: <20230131130412.432549-2-andrei.gherzan@canonical.com> From: Willem de Bruijn Date: Tue, 31 Jan 2023 08:35:10 -0500 Message-ID: Subject: Re: [PATCH v2 2/4] selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided To: Andrei Gherzan Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 31, 2023 at 8:08 AM Andrei Gherzan wrote: > > Leaving unrecognized arguments buried in the output, can easily hide a > CLI/script typo. Avoid this by exiting when wrong arguments are provided to > the udpgso_bench test programs. > > Signed-off-by: Andrei Gherzan I'm on the fence on this. Test binaries are not necessarily robust against bad input. If you insist. When sending patches to net, please always add a Fixes tag.