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 6F85141D5F; Fri, 24 Feb 2023 10:11:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E7F940697; Fri, 24 Feb 2023 10:11:30 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 24A3E40693 for ; Fri, 24 Feb 2023 10:11:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677229888; x=1708765888; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=yiFssFgMuCfg61u35krYb1iTEDca6KrfiQmz1IlaIW8=; b=YsyMOilBnZz3JcjxX8dVmbNhg7l+nBI9+KA9hxGkv0WcW5l+sieS08p3 37QiBJTJyQDKjRsXasOfWWXy9bYcHx99QtkaJ7IqNgINtehwahBJF9raX gTO6B/MzthFaFrkJzlywrFx6Vrgso4qpIsTRIzM2+fdD2eP9MZRD8C3px wfcT9VAl+Rjva2FQLM/v4PQPfFFtkWMvxu30JTqqEWI0ggxy6/BiOwC81 /vRcVUL5AuIJyYQnI0gE6C8f2t8+jr4bs+YhHOVCyhMDfXd1+tZhtRKPI KUIqJckcihn4bKe8kxrlGdcJ8VU4HKdPB+3xzf9r21zDJVvtTtQrlXIuk A==; X-IronPort-AV: E=McAfee;i="6500,9779,10630"; a="419667063" X-IronPort-AV: E=Sophos;i="5.97,324,1669104000"; d="scan'208";a="419667063" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2023 01:11:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10630"; a="622647830" X-IronPort-AV: E=Sophos;i="5.97,324,1669104000"; d="scan'208";a="622647830" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga003.jf.intel.com with ESMTP; 24 Feb 2023 01:11:19 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 24 Feb 2023 01:11:19 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Fri, 24 Feb 2023 01:11:18 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Fri, 24 Feb 2023 01:11:18 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.172) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Fri, 24 Feb 2023 01:11:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QRf+rLvmC7NPR6QH7Ob8pLWZfD2bbzCaPEHf5TuDbnSWjYkHxxZGSjy+UVTurNQrDaIBjh4UT3vxfEL21hoZbLhgz+hZ4tH2jaZHKdylBZziVB+cL90c8woCgocAHtTzjVozkfNIxS8o6dJFj55z/+7ELiRa4dBJ8zaEHSu/cjtyF+m1oJjXYmBSM0LsI+I8csOLbfkQs4m7uGQ4K2Klpb7/1Da79rpPusnFvam8J7/359uR2EQpLy8j68sPrdONneIrWgmy2i+swhFPbuqn+mYLuw1GXHxxxQjxMd+C35a9BazwJtEbTTXM4jCY/8RXj8n3lFQAhtgNEFxEct4ywQ== 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=yiFssFgMuCfg61u35krYb1iTEDca6KrfiQmz1IlaIW8=; b=KVKEqbFBqZXAcsq5Q6j8xiX13fimwP7Dxm4hCCNd38BxphJOp9qDCDnx0geVdneEl8zNyTm/GQLBcPtjzh5SnqfAGTgtUTGFb1y72hrF7TzsPBeaqIiqtVU2TRC30T2YMpvlpQQ9yu1lQGypuo105Q2KnnwhFtthWI7Akui+IpmlYpKOpE3akj3vBMMbssR0hrSyng45F5wJ3PsAWrVLzlzr10Q4Di6tbc7DmLGiupCa8/Db43DK0tDN+ft4go4rLAmduYIMwim8+CgEC4eWcXrVNk8M/XKvPDTQEacUFikteWJHOlhN3sN1QPCyKXR2lYRLBKuReQnGHIErzK3rcQ== 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 BL3PR11MB6531.namprd11.prod.outlook.com (2603:10b6:208:38e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.21; Fri, 24 Feb 2023 09:11:16 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::944c:b2ed:2b29:99fd]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::944c:b2ed:2b29:99fd%3]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 09:11:16 +0000 Message-ID: Date: Fri, 24 Feb 2023 14:41:03 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v2 3/9] app/testpmd: rework ieee1588 engine fwd configuration Content-Language: en-US To: David Marchand , CC: Ferruh Yigit , Yuying Zhang , Robin Jarry References: <20230124104742.1265439-1-david.marchand@redhat.com> <20230220164103.3041538-1-david.marchand@redhat.com> <20230220164103.3041538-4-david.marchand@redhat.com> From: "Singh, Aman Deep" In-Reply-To: <20230220164103.3041538-4-david.marchand@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN2PR01CA0084.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:23::29) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR11MB0062:EE_|BL3PR11MB6531:EE_ X-MS-Office365-Filtering-Correlation-Id: a6c48972-76dd-49d8-6b24-08db164714f4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: T3AghfpNqoGBYbnKLkGQU0H/Hb5QKqsg8C6Mt4Az9jEkgMuSExTNLz+xt1pSluZy2xaKs4MCOKqDwIhFieG43teOGDtU8Fz9q/9hLlw3Kfe5U1j/3wGZ20tGK6g/h/871iTitlEJUzkyeGZmPfyXmfD4iddlFRCzF2yGE+JYPJd304CoSaVxpA346C+qMzzURg+wnX9VoyGfprZRcKQpE9OvOc+GA7d5mNJINAa6BoVtSlK3i/gia+5GDQIJfVenFnd/UMnFp2MfJNkaeiF1k/Avi1NhaeV2VPzbH4KLQyUO8BhQCl+AVUkCmghTkxo8+HlVZ4N0HrtiAYmYfIZax21ePj1jtTuqeJl/CzR3vY4a9B4q9VDmmO24pbdNs9myXhDmVrLN9cfEy567Xr9zf9vmT+dCHuLRJ91L5VDHZTEKFxxnppePDGu6xetd9hzfpR2y6z8BGAHkWVRlUVHNcwN2l3ecfxKRwYSULgjKFPdwS9NGYjBf6Wt1C5fafR3/ISnb9aYY3WXTIeeZFYvj0CSeG2dWNjAr4YnoG4bhIr0CjBv6VIoqCUNV0jhrcosb2d1qWsNgJIdDDijXCogqVBFr6K32G4aEl02hxZxrn+VBIlp9ewfQ/xzf2hXyC/Ifgkr37Q+EcbOqsDOdAXYYCy/DyVYfBecFZCSNdy+xmjxy0nCwIyYa3qHGH9OtcYTUmDUQefrSZU/EQJroA7eXLo3ef9pLFRvaOZUwY+NqX6AtN3/RA4hbfucRrkRc6vNLCZgZOhYKwUn3f2Lc5N3NhPHC+L/GA8VQ1Qstrv3kgxw= 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:(13230025)(366004)(136003)(376002)(396003)(39860400002)(346002)(451199018)(26005)(186003)(53546011)(316002)(41300700001)(66556008)(8676002)(66946007)(6486002)(66476007)(6512007)(4326008)(6506007)(54906003)(86362001)(6666004)(2906002)(36756003)(31696002)(478600001)(38100700002)(8936002)(2616005)(4744005)(5660300002)(82960400001)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bUFlNUl5d1VxUk5QNldQR3h5TXJtUE1ST3FISzRqeVVxeGNZcHA2T2JXcEsv?= =?utf-8?B?dnlXYXQ3Vkg1UWlVWTl5U2Rwa3JoV1dUa3l2VHg0L29TT1R6ZUxoYUE2bVJ4?= =?utf-8?B?dFpwdXhOQVZQaFYrS3ZvUXdQUExqQzNibWxNZ2t2QUxucGVEV2VTZzZ5Um5t?= =?utf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UEljL0pxczVuaVNpQVd6MGRyMlhvK1grRjh5R0NE?= =?utf-8?B?UnBCNXV2WEtuRFcxNXF6WWRVZFBROXlmdHFkMm5wT1lWcVJpS3lVSUo0a2Jw?= =?utf-8?B?U3V6TlIxZE5ieHdnUE5TMkNvdWE0dC9GUGEvdWhnTiszL3lFUlFvVmVaOEY5?= =?utf-8?B?c0ZXbGZxZ3l1ZzlqcG1aTHFXRTZVdzlZVWQzZkpEd1JzOHQzazcyMVROZkNX?= =?utf-8?B?N0E9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: a6c48972-76dd-49d8-6b24-08db164714f4 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 09:11:15.7795 (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: uBnuFoQrmc6Sed3lnUjnN22PBFjoplLJmLBbAsD2XFbVSHd8HRp5mHkouXTl02+oe4/6NYg2NL6qH+C2IGzxb9zkqMFuXxGWNwb4EpXyvbE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6531 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 2/20/2023 10:10 PM, David Marchand wrote: > This fwd engine currently ignores the forwarding configuration. > Force it explicitly when initialising the stream. > The code is then more consistent with other fwd engines (i.e. receiving > on fs->rx_port, transmitting on fs->tx_port). > > Signed-off-by: David Marchand Acked-by: Aman Singh > ---