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 1DA7D429FF; Wed, 26 Apr 2023 09:25:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 33FC0410DC; Wed, 26 Apr 2023 09:25:31 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id C8B1B40DDA for ; Wed, 26 Apr 2023 09:25:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682493929; x=1714029929; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=Ep0rBENHc/7MQ+ATjOzgi5kwVBUDvE7Ne0KpvLBjh94=; b=Cw/XMTH2MONlkJ/fT3oVgZnTa6I2ODIAyb7V7yb/O9n1MR3wold9c1vm ouuia2SeFstFePtPD+PMwpuhEnj7XOpzi1sw9ahlz5pqqnfznX3yKBe/Q pwm3t62G2Rw6A5nbE2bzR+JWC38XdPcXEoEi+yeQqwe7JqYzr7omlxPqT u8EZ75lOGMLy2ZKHm+b7WJxVNe/T9EC47wrwmmfBQ225DzVDbhbKFZtvL JZOxFtd9SeGoB3b0aJDEINhaEUUMXxaVdEWcQmP3JxDZDKjVat9bJr9CV WyldrY7pV5LUQdP5ssGwPMUMsm60kEFrlveCjB3SL7ZX/b5+HuP8mdeNt w==; X-IronPort-AV: E=McAfee;i="6600,9927,10691"; a="412332588" X-IronPort-AV: E=Sophos;i="5.99,227,1677571200"; d="scan'208";a="412332588" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2023 00:25:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10691"; a="696498772" X-IronPort-AV: E=Sophos;i="5.99,227,1677571200"; d="scan'208";a="696498772" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga007.fm.intel.com with ESMTP; 26 Apr 2023 00:25:11 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 26 Apr 2023 00:25:11 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 26 Apr 2023 00:25:10 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Wed, 26 Apr 2023 00:25:10 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Wed, 26 Apr 2023 00:25:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Js2XkpDEX0EIXf+Gf7okC307wBpit86xZqI9n6q8S8MWdUU8gOfvLdJs4XZ5Jz7n20pxNh9yrrdpJcyvC+97TW6vjnSN5MdBaobCvAhprxtBKBYnirZn+0xO5UPYUdIAnBlM/EPU7i44zSYg/H95f/O+YOiYXrS7HHVtwCVJ9EXcp9H8C/5RbAhjRbsyh1f3OnbXx/olwg9LNc5fto8A0tYYHBdvQjVTJedo6HhjT8HVZ0JeBZ8YE9AAoGtZCERsQ2Blc3HtouNx16HQuk4xfxhDM8AkqeHGJS8oL/i4eh2fHLAGb4/VECjtk3VJQ5wAuHFjiWmBdHLsytVsGKDoxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cFdwvV7K0LpRnXwHa3Za4dg/PS2eZVBXyYa+DCoDLvU=; b=KedgNL28/UVg6Iinb2ugrbVzuRK2WCgnq5KnB1/R4ibiCLFc7XaEZOUpQS8fUzzrfJxZ03Rsr1slh4g5QrLhkijA8qtYcziPqhE4FnwncgwY5zUOPFop1SsWpVPekrhj2ysg2RBaN9nLioru86RN5OkfKOGd/RU0uavpZjok7YtB4zy6k7e1p0O/HgOP4jhZ9POz8UXhX6xGzRuIsBTmDSP/AjVMU18DgLqhY2kef/rQAZGFZLMbXDMRNrAj+0kBsEDh1ozOVFh88E7LJrE/pLojccnXm9b+oelDTpJdKwzh7fPR77iqaQldw9AcqoP30P/XUjw6yF1MbTBpY3rBdg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) by BN9PR11MB5321.namprd11.prod.outlook.com (2603:10b6:408:136::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.21; Wed, 26 Apr 2023 07:25:09 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::8d3b:6bb3:3e95:6c05]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::8d3b:6bb3:3e95:6c05%5]) with mapi id 15.20.6319.033; Wed, 26 Apr 2023 07:25:09 +0000 Message-ID: Date: Wed, 26 Apr 2023 12:54:57 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v5] app/testpmd: txonly multiflow port change support Content-Language: en-US To: Joshua Washington , Yuying Zhang CC: , Rushil Gupta References: <20230412181619.496342-1-joshwash@google.com> <20230421232022.342081-1-joshwash@google.com> From: "Singh, Aman Deep" In-Reply-To: <20230421232022.342081-1-joshwash@google.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN2PR01CA0008.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:25::13) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB0062:EE_|BN9PR11MB5321:EE_ X-MS-Office365-Filtering-Correlation-Id: 717d895f-ad61-4f23-44f3-08db46275d13 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YDTA/2Q43YnwULj10aL17ibN9zmwwHsijfBOB7EvLBAcTSMAh5ehxDg69hDGrA647gmg2dOVLqYrybkq3eH4ed8x9243rc/yk91YfLA1n3F+pXGmFi4ANq64yY42+Twm1U/6ZomAHQ2JjrpXKvGCtiyaZ9fP2tSuK/Jk9lKRoCGOPHzNjcMBo1/67nAYpXMAMCtqDOF0cGzlzLmIaa0xsB/bkrKpWRSBX0wRHp/icBHvzTcagw5MSQRk6eKxwBRjbN3uHFmBeswv6vJ4mJlyRc+Ct6UQphBKMLTcCRms8c7mWkpFMI2nrVFSaoeplUXedVmAE/jWuDPRVItZbV7M11KbJ4kxjaRCcHWrHrTa8We++trTwNoypXL0RHY3tKHlA78wTtDmSW4/BFM3vsYX5lGuVUGOM0CAmMFRHb6YFUIeEUFHnEazH+ppFsWk7VT3XoXM2NxxAy6+UD7IdYIse2G39xBNrixLSUt3JGTLZ4Ud4L/KgugQmvq4bP1aZmYuEeG+asRxDO8/WVy7bTwp2kLID7eu0RYfoE0ImqTglEnvudkhoiEM021lNxQ0t5/SBBYutMNXqo1NyZ3deWpL2SC0+rgGaf3RMIN8oOZ4zEmgoj+/FV71kHW5WkAtuCR4Y//nR0WFfpTtpUEzpPrwtA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0062.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(366004)(346002)(39860400002)(396003)(376002)(136003)(451199021)(2616005)(66476007)(66946007)(66556008)(82960400001)(316002)(4326008)(6636002)(186003)(83380400001)(6666004)(110136005)(6486002)(478600001)(41300700001)(8676002)(8936002)(38100700002)(5660300002)(31686004)(26005)(53546011)(6512007)(6506007)(4744005)(2906002)(31696002)(86362001)(36756003)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Rzl3WTVFb2FjVWcrelVHS21Bc1RMWHh5WU16Vk9MNFJIN0NQek1WMThjTm4r?= =?utf-8?B?S2VtNlJ3aVdVeTNYb1luM055MVZwQ29aMGpZcDBmenRFMm1nNnVvNGlpU0Zq?= =?utf-8?B?Ymk5WnpyUVdlT0ZoeWlTS25VMElKU0pJWGw3Y2hoVy9FSU5Oc05kbjNmMTZK?= =?utf-8?B?eUp5dGZRMW1PWE1wVzc4Lys4MTR0cG0wTjdlS05GZG1MNElHVnR3ZVM3c1kr?= =?utf-8?B?aURDYitpdGlLdHU0dEZGSHo3R0x0d2xQLzYrckgvM2hKMFpzSFhhdkRCbmg3?= =?utf-8?B?amdCcFVoVGZLeTQ2WURYa2wwY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f-8?B?aE1jTW5yYlZhNFdMQ0UzT3JCM3hVQVVnTElvSVNSOU5FdGFWRWNwUTJkVEpC?= =?utf-8?B?eWc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 717d895f-ad61-4f23-44f3-08db46275d13 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2023 07:25:08.5564 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TGoEPR7SsE10uba6FAXFQ5ir43DJBsQC65RHK01gGTHQmzJ3UACovqs9qMiEIHGSqNKuA9ev5sIag9YIC4H04AOHJ3UQRHY8B+RwPowOAFQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5321 X-OriginatorOrg: intel.com 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 4/22/2023 4:50 AM, Joshua Washington wrote: > Google cloud routes traffic using IP addresses without the support of MAC > addresses, so changing source IP address for txonly-multi-flow can have > negative performance implications for net/gve when using testpmd. This > patch updates txonly multiflow mode to modify source ports instead of > source IP addresses. > > The change can be tested with the following command: > dpdk-testpmd -- --forward-mode=txonly --txonly-multi-flow \ > --tx-ip=, > > Signed-off-by: Joshua Washington > Reviewed-by: Rushil Gupta Acked-by: Aman Singh