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 62DDDA0A02; Tue, 27 Apr 2021 18:02:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 46FD44127A; Tue, 27 Apr 2021 18:02:11 +0200 (CEST) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id D22F241271 for ; Tue, 27 Apr 2021 18:02:06 +0200 (CEST) Received: by mail-pg1-f174.google.com with SMTP id j7so33251763pgi.3 for ; Tue, 27 Apr 2021 09:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6AscuRU1wT4o72WpcoBoKujHdSW61Ba/p95Ao2D/7VM=; b=0w5UNW2V87Q/s5kB7MQlUlrrObeHOrV7PAjmBu686i7ZBSTj1hj6XUnkBjf0wcwc3V kvvOVpie2yl4RQ0x/VgAXVUeWFyN8r/A38Gp1QwnsYpPHGDWrvdcbMhArwumXW56s5rZ SBdxTb3hqagmUdEC42qNXURazqW2+KeJC5NziR0RE7bRVpKHdE6tsSyE+QeDL9He1Wwm S9q/trPwq6Yj41aLvvSVWqlJmRMs7Fwa3ofFZvKpp6uqWOQBLEsl+IIRNpt7IaGs8R+t UNAICb2Oy7hUCOGduEGiIbAlkXhvduqp8hWquVC6JX8Kz87qDZ8qbvUB94kufRwE7c16 1Amg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6AscuRU1wT4o72WpcoBoKujHdSW61Ba/p95Ao2D/7VM=; b=lUIuQQ5I4NdCUkRHQTDAd1fHNA3q0kfs5ogFMXRBF1wF3+lIz5YbII613ohzUZy9Dj jOo7SVfgzOgOdzRks08sKULjDaEn3J9dsulTGFg3lMTEhXRbr24cfWrntTMgCBXkL5EU Me/NApLYuNpNMJkPfSor3mLUsBcv8cVTKe7IBW5wJTqyXulgZ4kjeMxzoMZQxGA3DiI4 oyximq7XjZFLmjnnDosvUnpzpbiKJNMJyIaLzOMTaFRVFrP1V+HUAgnw3CFBm9XIxfEt E9ZsNZ5iQCaufsRQ4PwSU2zf0E8EHT6ixCKvSzNp70di15Lf1bV/u7MIf9H7vaQ3rgTo hnHA== X-Gm-Message-State: AOAM530qnPP3w1OpZITU90my94R6M5ravUYvxXgk1FgKhI3lPU/6SLQc eW3hJKDNJZBY+wM+l8WEt6g1bA== X-Google-Smtp-Source: ABdhPJz7z190QclVgfLyHvqM9zQzU/keoGhBGiCBi/APzOVLHBOc1jjsxmFYcSlSQb2N19UB6biIRQ== X-Received: by 2002:a62:830a:0:b029:273:940:747b with SMTP id h10-20020a62830a0000b02902730940747bmr15784602pfe.70.1619539325852; Tue, 27 Apr 2021 09:02:05 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id y8sm215214pgr.48.2021.04.27.09.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Apr 2021 09:02:05 -0700 (PDT) Date: Tue, 27 Apr 2021 09:01:21 -0700 From: Stephen Hemminger To: Ferruh Yigit Cc: Honnappa Nagarahalli , Jerin Jacob , Kathleen Capella , "thomas@monjalon.net" , "dev@dpdk.org" , Dharmik Thakkar , Ruifeng Wang , "david.marchand@redhat.com" , Bruce Richardson , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "Ananyev, Konstantin" , Stephen Hemminger , nd Message-ID: <20210427090121.4f6f0089@hermes.local> In-Reply-To: <81781e97-735c-f584-4148-ff07dedc5cb4@intel.com> References: <2273212.ItJIoklBD0@thomas> <20210426104720.2b892045@hermes.local> <81781e97-735c-f584-4148-ff07dedc5cb4@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] L3fwd mode in testpmd 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 Sender: "dev" On Tue, 27 Apr 2021 10:50:20 +0100 Ferruh Yigit wrote: > Agree that it may help testing to have l3fwd support on the testpmd. > > Two concerns, > 1) Testpmd already too complex. > 2) Code duplication. > > For 1), if the l3fwd can be implemented in testpmd as new, independent > forwarding mode, without touching rest of the testpmd, I think it can be OK. > > Not sure how to address 2), also lets say we want to add new feature to l3fwd, > where it should go, to the sample or to the testpmd? The original purpose of l3fwd seems to be getting lost here. It was intended as an example, not a complete test or real life application.