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 2C61B46003; Mon, 6 Jan 2025 16:29:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B408B40697; Mon, 6 Jan 2025 16:29:30 +0100 (CET) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mails.dpdk.org (Postfix) with ESMTP id 9353940687 for ; Mon, 6 Jan 2025 16:29:25 +0100 (CET) Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2f441904a42so21345222a91.1 for ; Mon, 06 Jan 2025 07:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736177364; x=1736782164; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ezdm4h2peROtbjlSniR0Xxe6p5Fxj2QODANuuppaIuQ=; b=lyCC8uxmJRs8mbrglB84OQkduIlvnDSdM6LHJZmGN1ybutqKMHQdVunlDfXCJZmMWc FeKi/g2JemBwhco1NCT+/K+fs+XMuIXXl8Lj9u8kJ6CXo+LBAVjRZHcJEWdR+VcWa36u iuysvHVJbdR5VhCEUc1qJK7RZPCRn0XBGYPMZtfHwpfHzgK/De5nMPaJfnKhS6TF9qbc uqIQlIx6D15JxhcmwWobDeRmIMcEt/9Md7WMwxDPP31hOOycU7wn+Pj72qHGetppU3EZ FS7wl6iQu/hWMBeu6idlN02cPz4zfhFc1YzpwsP5noSO85b3olkl5d20Ze0Xr1VZv/i3 ZnHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736177364; x=1736782164; 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=ezdm4h2peROtbjlSniR0Xxe6p5Fxj2QODANuuppaIuQ=; b=PnnLPrrosheXH+XPA4TcLzBfIkcBC+eoqh0gYINGuh8ScP32m577kkh2uZrI5BF6ap kuvnwW+qoVsz7yj+JBY5ypYI5P/qN6/CrotvC9vNUd2t5HwWcHoLH8kkQZa44uRmGdtP +jMPU3KZ7TqNIeV/l5z3YxKnKYdkCZcbk/yLq4iFpN3gk8D4Q7FsOTbQaEvvV4jfvEtf n7BtotlnCs9/BkwkBb7wGVDxtKUQ6F7sxiw1e0nCWhxPRIvKabDgZSaKuCA/x9xjJDPM yAMmC0wDf3+j2Q4De/SAoFVBxYFTyUhq8HWvZH8f/9Uo+xMUKWS4YHRGCIBzZSiYQu4o /8kA== X-Forwarded-Encrypted: i=1; AJvYcCWxTvj7XxVlow1DlifkFK+3hiGnlTVz+aGwBVpDKlwyqoOg9hhB4iELDk21CNoHLWz5BbU=@dpdk.org X-Gm-Message-State: AOJu0YyPZaU8tY31BYLLYxS/JoaTghVf5BKp1xcrLJHPT7hxrJebwh9x EJQcrDawge0UwN7SU4yq8FFZ9sripl21c1hdhyO4eRgonY2OMBsiIq8WhGMOcf0bdfjfAVMlBz+ obJVS4gzLBo2d93S8bfJj9xpjkqE= X-Gm-Gg: ASbGncs+P1kbCKee12B9/d4jJm+znryNysC+YUy82qh990ayLhNS2CDdex2ThUkXxY9 K23Lo9CnGIlKSxt9XJ7fPqKrlE4f2H2k6jkOBY2lv X-Google-Smtp-Source: AGHT+IFGdQk9ZF5ALNahyBBibilqEc7TmAdDFhxouoO7U651yReCp9aHRBthvxjhl8Ohn63jImEG4QR5AFJwdRHHWOA= X-Received: by 2002:a17:90b:51c2:b0:2ee:9e06:7db0 with SMTP id 98e67ed59e1d1-2f452e1d3f9mr83732630a91.11.1736177364461; Mon, 06 Jan 2025 07:29:24 -0800 (PST) MIME-Version: 1.0 References: <20241212080442.1628366-1-tudor.cornea@gmail.com> <20241212091102.20422f95@hermes.local> In-Reply-To: From: Tudor Cornea Date: Mon, 6 Jan 2025 17:29:13 +0200 Message-ID: Subject: Re: [PATCH] net/af_packet: allow disabling packet fanout To: Stephen Hemminger Cc: linville@tuxdriver.com, ferruh.yigit@amd.com, andrew.rybchenko@oktetlabs.ru, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" 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 > This is a great idea. Would introducing a new devarg, (e.g > 'fanout_mode') be the proper way to allow the application to customize > fanout in more detail ? > > --vdev=net_af_packet0,iface=eth1,blocksz=4096,framesz=2048,framecnt=512,qpairs=1,fanout_mode=[fanout_hash|fanout_cpu|fanout_rnd|fanout_qm] I'll send a new version of the patch which will add some additional customization