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 43759A0C4D; Tue, 24 Aug 2021 15:18:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04F1D406A3; Tue, 24 Aug 2021 15:18:29 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 58D6C40687 for ; Tue, 24 Aug 2021 15:18:27 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10085"; a="215464993" X-IronPort-AV: E=Sophos;i="5.84,347,1620716400"; d="scan'208";a="215464993" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Aug 2021 06:18:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,347,1620716400"; d="scan'208";a="507614431" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga001.jf.intel.com with ESMTP; 24 Aug 2021 06:18:25 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 24 Aug 2021 06:18:25 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2242.10 via Frontend Transport; Tue, 24 Aug 2021 06:18:25 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Tue, 24 Aug 2021 06:18:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TbFTvirbSFEo0paNEOg53d+KWR5Ep7KKXoqPBeD4/BDHh07LgRXXvsWh1d45mLZU6G2K3sZmDkOtGLtK5PPMJdbB0GdsnPQY3hWj3Ka5q4E/0QKtTziNXVP5BzbKPmBdztlinOr5mo1EYivGKG8Y7ia5vLutAZIPCzdrtsKXRAqTqXBKrXiwzVu1UkiPari//93N4Mdb8RSKa0IuSDQrDx/jMddGPAGTqToSigD8+T9C1iBk02Qft9MTateXOCWdxGT5zOeHa0NIfxTB8ZvGkFwCazSTXufTibNDBOiMydvIVA5F78U8QIwqnVmxakMrF8MeGIc9itWHgi8b62Bjzg== 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-SenderADCheck; bh=O+J1ciVGcEBzU7WK03wnflOhOzTgaKPo/pG1gNqkoBI=; b=YHWuZUk3LxSOOaqbMR45fTUa1R+rplupQZhlGZyrmoe9Hz8kYXwJpTNl2cLjubK6F1cBriEDeVZbargkMMvFXtwnHj+Z72EGqzPTVHPNK022Cx9IH2k3k36OMfr1D27E5EanLmeCyV/pTdPDWYwikfgTxiqXEExukKv0r+ZwWvicKqk8TRtjTBwxMlTJxWQ+pk+VN565WfIzEtGO+JoS7XwnNKcIqXiAAvXZ0Ek15s5vDM0G2txijmFZ0LxkU6mzXvAAKWjDW4pXtyEjfTpTBa7QkPfKjGIxXTbdUGKBadpjs7IJTkalwuHfBwCVvoN1VD5ru/jhCB0UQ3XOwl2KDQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O+J1ciVGcEBzU7WK03wnflOhOzTgaKPo/pG1gNqkoBI=; b=pVV0tKBPDrccIvh4KyrrHI09j4IoAm4qyajVYaNfinzjtujAbmU30oj6LH8nqnRM46DgkTq3Me6OX0kR7TLSpw2F18MBUR/5Z9cjpBK1acYm3GPfJ1sgw1z6gfAO+WtntjWLLNV9J6Zr1PNbw9X25+CzQlRSqHHOuy2B92NKihI= Authentication-Results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4917.namprd11.prod.outlook.com (2603:10b6:510:32::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.17; Tue, 24 Aug 2021 13:18:24 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::2979:70ca:38a:dbaf]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::2979:70ca:38a:dbaf%6]) with mapi id 15.20.4436.024; Tue, 24 Aug 2021 13:18:24 +0000 To: Thomas Monjalon , Ori Kam , "Andrew Rybchenko" , =?UTF-8?Q?Havl=c3=adk_Martin?= , Jan Viktorin CC: , "Min Hu (Connor)" , Matan Azrad , Chas3 , Slava Ovsiienko References: <20210622092531.73112-1-xhavli56@stud.fit.vutbr.cz> <20210714170019.40bc169a@coaster.localdomain> <19363394.Odk5eMyVqo@thomas> From: Ferruh Yigit X-User: ferruhy Message-ID: <7e6911de-c979-52bd-bdd1-763d3d7a2e7c@intel.com> Date: Tue, 24 Aug 2021 14:18:16 +0100 In-Reply-To: <19363394.Odk5eMyVqo@thomas> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR07CA0117.eurprd07.prod.outlook.com (2603:10a6:6:2c::31) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.206] (37.228.236.146) by DB6PR07CA0117.eurprd07.prod.outlook.com (2603:10a6:6:2c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.6 via Frontend Transport; Tue, 24 Aug 2021 13:18:22 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 46f538cf-197b-4fb5-479f-08d96701a6d5 X-MS-TrafficTypeDiagnostic: PH0PR11MB4917: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1ZM9iAQkQ6E2S019JW+Yp6jeYQAkTFQEfcEBNzlofbGFXm/WtexJuKj/qLca9BWlKZTsQcxbo6Lb2tiGhUTpNtU1uYGbp36Nr8WiarA78oe/04RIkSRH/kh5mN0aAsFDK50u+ppu9LM7KkC1et9XnFV9MMdzaMbarAsHS7FPsSf6j7y+2EwZmHPgPMaQvBaFfL7imi/AtZGsr6QzPEjjuYR/k4hJFzQblIz6XKEaX4sf9Z+rOLi92EG7S2vqEDSRPmGHzpZvHuRYftjdHyM/c4IDEdCTmu3BitgtqyYfX9ZxwCWAiZHdGYTEm1jSaiKi6SRqGC0R9YDJK/VBkTaM6VVshQw36pJxWALncDpqMf08HVkC+hJDdRY/4swikSalfkSx4ZfgGsagh/1+QleIXKYbvX19ugjzBBHkaKXPTftwJghT7rw/yaWCeLDdGlXngkZM52r/N5VocpmhiSmKlUB+eic81Ip4tLD0RpvU7KhFDPG/gvAjraxIYvQGMdd976aCNIqGLhUw4kqjWFw1XAX1NujLhApwCGdD3rfWZOQ3OC7ehrryfhRbXidfrDcVKrN3Jf/wOBbEMgXpk4ht3FSZETtT20dbF+nB96PLL+NEEK5Y0A4zLut1qkaVkfVcQ1RF6te28On4SPVd3tK4Sw2GzViVwVk4er8Fyyf33yYuFnJ7rq6AEmJjajhDWE+/nipTS8zCpQU0us6anNL8NQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(7416002)(83380400001)(66476007)(44832011)(508600001)(186003)(316002)(8676002)(53546011)(26005)(36756003)(54906003)(956004)(66556008)(16576012)(31696002)(2616005)(31686004)(8936002)(6486002)(66946007)(5660300002)(6666004)(38100700002)(110136005)(86362001)(2906002)(4326008)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?djZMOWtPdS82MTRLMWs3OUkzMm5NeFhYOFY2ZlpXSll1SlRRR0dBbkR1NVNi?= =?utf-8?B?Z3piTXd5VnlwMk5DanBMazVMMUdBWDVjMUFacnNWWklpV0pUbGdrZlk0U01G?= =?utf-8?B?aG9PSmJIL1NWbFNDY3RCS2dDbGltRityd0djVnNiMUxpcjFoekVJZk9Oclpr?= =?utf-8?B?OTlZcVF3Yyt3c01uVThab2hHam5waDlDenZvUi9OejUrdWtjQ0VjbmY3cUtN?= =?utf-8?B?VGRoOXQ4QlJMemorcUYvQUZZb1JEQi80aVhBL3lLUXM1N2F1L3VodnlIODJi?= =?utf-8?B?Ky9ERmsyZFBETWRQVE1OSStjTFZWenBna3p2TG8yQk9Ga2g4ZENOU3VidFVu?= =?utf-8?B?M2FSbm40cTRRZU1zelU0NHREQWd6MVc2TTExbWZWaytFTWI3eGppNWgvSDBk?= =?utf-8?B?Sy9OVnk0dktmNDhrWU9qQ3YvYUxtbWpxZUI5Y21vQ3BmcXdL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0dwbENIYUh0dzVTVUlsWUFv?= =?utf-8?B?UjU0bWVhTy93SVh0YkxaWDROT1NiMVhNQ3Zrcy9LQVkwd1YvL05vNmxUdElB?= =?utf-8?B?cTRYZzA1cUxkL05tRXYxcW91clJFaEhURXdySGc5bzd1ekt0aFo1cGxHaEg1?= =?utf-8?B?QXJ1UDBCTURqMkRBSnVjL1pUd05yYlg2c3R6SHNGZ3NiOEFJTW91c1o4SURj?= =?utf-8?B?aGExZ200b3FjMTVwVzhvMGp3ckV5Ny9FdDBSNGFDRTByNGZMRUFHajk2UE14?= =?utf-8?B?cDgvc0hFTE82d05ZQnRBdFB1djBDMjZFVm5qRmhTSUQ4dk5GWmJoNjQ5cUpn?= =?utf-8?B?MmxmWGRkVjM5aW5IYUxRQUxERzNPSGgrYlREZFU0aWFUSTRzemJ0RzJ5Mi9U?= =?utf-8?Q?nFeyUUJSDazwBTQgnfV37C+CCBTKwgnw3GLvyzw?= X-MS-Exchange-CrossTenant-Network-Message-Id: 46f538cf-197b-4fb5-479f-08d96701a6d5 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2021 13:18:24.2434 (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: KPWRrkWWaknwkiDQQ5rUMFspvuF65sBZeAKlrQWiDhe2fFwBBWtBWomlJgn/9nESy1YjIyneNqT0RniNmBANrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4917 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 3/3] net/bonding: start ethdev prior to setting 8023ad flow 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 7/15/2021 2:58 PM, Thomas Monjalon wrote: > 14/07/2021 17:00, Jan Viktorin: >>>> On Tue, 13 Jul 2021 12:26:35 +0300 >>>> Andrew Rybchenko wrote: >>>>>>>>>> This matters for the bonding case as well, doesn't it?. >>>>>>>>>> It is not desirable to accidently omit a packet that was >>>>>>>>>> received by primary ingress logic instead of being >>>>>>>>>> redirected into the dedicated queue. >>>>>>>>>> >>>>>>>>>> Are there any chances that for mlx5 it would be possible >>>>>>>>>> to insert flow rules before calling rte_eth_dev_start? >>>>>>>>>> Anyway, the behaviour should be specified and documented >>>>>>>>>> in DPDK more precisely to avoid such uncertainty in the >>>>>>>>>> future. >>>>>>>>> I agree the documentation should be fixed. >>>>>>>> >>>>>>>> +1 >>>>> >>>>> Cc Thomas and Ferruh since ethdev documentation should be >>>>> clarified. >>>>> >>>>> It looks like there is no consensus if the patch is a right >>>>> direction or wrong. For me it looks wrong taking all above >>>>> arguments in to account (mainly necessity to be able to insert >>>>> flows before pushing start button which enables the traffic if HW >>>>> supports it). >>>>> >>>>> So, I'm applying first two patches and hold on this one. >> >> Andrew, I believe that it would be helpful to start some new thread >> otherwise we would get lost here :). It seems that we will have few >> more fixes for the bonding driver. Do you prefer an entirely new >> patchset or v2 of this topic? Or any other advise how to proceed? > > This thread is about 3 things: > - bonding issue > - ethdev doc > - mlx5 design > That's too much topics to address in one thread :) > > You may restart the discussion with a doc update > if the stop/start requirement is not clear. > > Is separate discussions created as follow up?