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 B4615A0352; Tue, 8 Feb 2022 18:49:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F81841140; Tue, 8 Feb 2022 18:49:10 +0100 (CET) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 788B64111B for ; Tue, 8 Feb 2022 18:49:08 +0100 (CET) Received: by mail-pj1-f50.google.com with SMTP id a11-20020a17090a740b00b001b8b506c42fso2761027pjg.0 for ; Tue, 08 Feb 2022 09:49:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+g1syEjczLiWNIpHAD9QLpan8yYRZDkL1t7RHs8uHEo=; b=AHPbIg0IOsgzeJuWhildwC9aQqmKsrNBuxFGlYcrQ5ALy159D0abGF6G9fU6GfAkuP roLvoYAG9N9rFtg6dccdf191A5biUv0ZQI8nQX7FX+XJac5YK8Yead11fSeXzHEwIIiI HdnmOYX3kxbWAbwySYCLasLAzAMaveNTSWsRqxvuapnGPvapf1Wrkxb/H4WliiYIL2tO RfxhIdA1ZIwj7JHgr/s4uHQGln8LUYKbWTa4Nt1abohFOv62fuOgh5np/P+N8Dl6syZt qOXeG+igNWWyjIsO9Epmnk9f+GWn6n4hkATRXA23ziD0Koy2aukulvotG/YirPPQQinT BlcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+g1syEjczLiWNIpHAD9QLpan8yYRZDkL1t7RHs8uHEo=; b=4wW4GX+P/C40aMwsgNjp2G+juhaNJ8IJws5APq4NyHvSb6lyYsu/qmtnOjWg3CsiRO 5LcrfrvgO53pkRucxU8TpBwJxf2F88CWQXErtrmFXWobouF/3wEwYB9U4l5GDfH2q12s nnMdckhFp1X40FxSiCy6nNPjA2vweZ/QJNTN+UviyhiVWnPw9WNXnrErEDwFkvGp8XJR NQ/6OLOF3Qo6Uq1jAN5RIeicaGz7d7KZI+w45yUP91lFWdAP0PX8mDKUmPyRcX0hyxhS UfimkuN2OUwQTvOWI4W69wxe2lGCG0KhhhGvq0W8je9icJVJnna4wqPsw1xS9sYE4Qbs Uu6w== X-Gm-Message-State: AOAM5330hwyhodv31xnVO5en0w6aEkZ9l4dHiAnl9gIppu4pUqDzLN+O 8Sebz8GF8VZRLPAI43sFk1yJSA== X-Google-Smtp-Source: ABdhPJwpqhawhaiWyHGFrxuj6R1hLnBxaEXimyQclvnrUYsjVA2CVGQ9DmvwdKT+Za0L6zxnsvKhiw== X-Received: by 2002:a17:90a:5d82:: with SMTP id t2mr2559422pji.65.1644342547608; Tue, 08 Feb 2022 09:49:07 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id t15sm12101476pgc.49.2022.02.08.09.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 09:49:07 -0800 (PST) Date: Tue, 8 Feb 2022 09:49:04 -0800 From: Stephen Hemminger To: "Medvedkin, Vladimir" Cc: "Ananyev, Konstantin" , "Morrissey, Sean" , "dev@dpdk.org" , "Richardson, Bruce" Subject: Re: [PATCH v5 0/2] Add config file support for l3fwd Message-ID: <20220208094904.5ca9db4c@hermes.local> In-Reply-To: <5a01520b-b85a-02c7-67eb-5a7119e46ada@intel.com> References: <20220126124459.2469838-1-sean.morrissey@intel.com> <20220204195905.449192-1-sean.morrissey@intel.com> <20220204142636.6250f05c@hermes.local> <20220207190419.2a1ca44b@hermes.local> <5a01520b-b85a-02c7-67eb-5a7119e46ada@intel.com> 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 Tue, 8 Feb 2022 16:15:15 +0000 "Medvedkin, Vladimir" wrote: > >> Or have a generic library for reading LPM entries. L3fwd is supposed > >> to be as small as possible (it no longer is), and the real work should > >> be done by libraries to make it easier to build other applications. > > > > I never heard users ask about such thing, > > but if there is a demand for that, then I suppose it could be considered. > > CC-ing LPM/FIB maintainers to comment. > > Though I believe it should be a subject of separate patch and discussion > > (I think many questions will arise - what format should be, how to support > > different types of user-data, to make it generic enough, etc.). > > Agree, it is very application specific, so it could be really difficult > to make it generic. But several other also have LPM tables, so why not have common code for other applications. examples/l3fwd-power/main.c examples/ipsec-secgw/rt.c examples/ip_fragmentation/main.c examples/l3fwd/l3fwd_lpm.c examples/ip_reassembly/main.c