From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 4A0CF43399;
	Wed, 22 Nov 2023 09:28:17 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id E618A402EC;
	Wed, 22 Nov 2023 09:28:16 +0100 (CET)
Received: from us-smtp-delivery-124.mimecast.com
 (us-smtp-delivery-124.mimecast.com [170.10.129.124])
 by mails.dpdk.org (Postfix) with ESMTP id A55794028C
 for <dev@dpdk.org>; Wed, 22 Nov 2023 09:28:15 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1700641695;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=eLWf/42f/mUkuYWiYXn+xaGkY2DEbiNHbPJAKvOes1M=;
 b=JNO0pnYlmkfeFH7RFHbsk3avQROq11wSMqylDFhdLTVG6H+QdtvD3pdyfoFIoiOvT9/yIk
 Tmqswgm0+/yDV7eCrBU+gOMFny2fzDrxqmy2kWTbYZYf4WrCI8PUKG6QGz+ASRGivUYLF7
 S8fDY3y/qUas3a9P5GgllQSD5bJTy74=
Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com
 [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id
 us-mta-43-nVwm1KdAO5aZ5Yy395VVxw-1; Wed, 22 Nov 2023 03:28:11 -0500
X-MC-Unique: nVwm1KdAO5aZ5Yy395VVxw-1
Received: by mail-lj1-f197.google.com with SMTP id
 38308e7fff4ca-2c83269c4ccso60699661fa.0
 for <dev@dpdk.org>; Wed, 22 Nov 2023 00:28:11 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1700641690; x=1701246490;
 h=in-reply-to:references:subject:to:from:cc:message-id:date
 :content-transfer-encoding:mime-version:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=eLWf/42f/mUkuYWiYXn+xaGkY2DEbiNHbPJAKvOes1M=;
 b=GRKABnJH5hAhE1/p/Sw78Q3QoC5YbX+0aXv7ZqU1CiVdcEnvNFZTwBXW0yu5mPht5A
 CJLcX5mDcxwgBq/vteLqwsquvh+xSof1eq7BPTnbe7m7RlDIOYsBns6Y4oU8faWAf4y7
 kdaNM5czxMx/Ft15LpUiUuTc7zAoALJlanwX4a8obplnfeGE0DrJOcsfzHuCmU8Lk9pA
 7ijdoxsvk+Z4FArDhv10cjhCh98iDIE2oS5O5A0QDrfXAzFsEr2rVRanFSuxjk7yAM+b
 Qccf3xGl0Y1Epzn0GZajY0Q+U7QxmKca2LfV5lzJpweOKi3RDOHzs157Ngj1y8Ei+Z2y
 aWDw==
X-Gm-Message-State: AOJu0Yx/46D4kQW8rZtNJ1ZPibGANaAIJtDBx2AWwpQKrWCDaYgJqQZP
 5MbN4sur5/sJ6M2o1KvGCpJclowyRWebiLZXVlfd5ufaTUk+6rs2umQ6K/N1WTG1paIR2bnUnii
 N1Q4=
X-Received: by 2002:a05:651c:199f:b0:2c8:7192:817 with SMTP id
 bx31-20020a05651c199f00b002c871920817mr1299082ljb.15.1700641690227; 
 Wed, 22 Nov 2023 00:28:10 -0800 (PST)
X-Google-Smtp-Source: AGHT+IF0+/2MP6/UuLxnhZYBXFqszRtWVCtHF6glKdB9T50HnZphEuK8xdPDRrTXqy9ehQZsquJ2lA==
X-Received: by 2002:a05:651c:199f:b0:2c8:7192:817 with SMTP id
 bx31-20020a05651c199f00b002c871920817mr1299071ljb.15.1700641689904; 
 Wed, 22 Nov 2023 00:28:09 -0800 (PST)
Received: from localhost (2a01cb000f8b9700598da2e1679e8383.ipv6.abo.wanadoo.fr.
 [2a01:cb00:f8b:9700:598d:a2e1:679e:8383])
 by smtp.gmail.com with ESMTPSA id
 g15-20020a05600c4ecf00b003fefaf299b6sm1394208wmq.38.2023.11.22.00.28.09
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 22 Nov 2023 00:28:09 -0800 (PST)
Mime-Version: 1.0
Date: Wed, 22 Nov 2023 09:28:09 +0100
Message-Id: <CX575YHWLSVH.2LMDUQZSZGJFM@redhat.com>
Cc: <dev@dpdk.org>, <skori@marvell.com>, <thomas@monjalon.net>
From: "Robin Jarry" <rjarry@redhat.com>
To: "Stephen Hemminger" <stephen@networkplumber.org>, "Jerin Jacob"
 <jerinjacobk@gmail.com>
Subject: Re: [PATCH 1/2] usertools/rss: add driver abstractions
X-Mailer: aerc/0.16.0-75-g838e8e0cd80b
References: <20231023080710.240402-3-rjarry@redhat.com>
 <20231121083855.6ae8e362@hermes.local>
 <CALBAE1NThfguj5tM7BLj5OOAcUAuroMh-CGz1Fop0U85bW4Opg@mail.gmail.com>
 <20231121090423.639655f4@hermes.local>
 <CALBAE1OH5Z8F-gJzyMc4FTCEus9xdG+CECxm9Xp=BEfv3FB6fg@mail.gmail.com>
 <20231121092743.43f5a6e8@hermes.local>
In-Reply-To: <20231121092743.43f5a6e8@hermes.local>
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8; format=Flowed
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

Stephen Hemminger, Nov 21, 2023 at 18:27:
> On Tue, 21 Nov 2023 22:51:19 +0530
> Jerin Jacob <jerinjacobk@gmail.com> wrote:
> > IMO, That may be too much of non-productive work to save a couple of
> > lines(seed array) of duplicate code between c and python.
>
> But the tool is incomplete right now, it doesn't cover all the drivers.

I agree that having a standard API or mechanism for drivers to expose=20
their default redirection table size and hash seed key would be nice.=20
The script could have a dynamically generated section that is populated=20
during the build based on selected drivers.

However, it would make the python script dependant on it and it would=20
not be a standalone tool anymore. This is not a blocking issue but=20
something to keep in mind.