From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10046.outbound.protection.outlook.com [40.107.1.46]) by dpdk.org (Postfix) with ESMTP id 1836F1B22C for ; Fri, 6 Oct 2017 07:08:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fdlViKl+lX4V+iLBg45vBWu8vc/LPRHGjLKNYeHHoiI=; b=PQ73GPv1C9EwBHg9ZZhMLBYPSTTucXs5Z+fR/nS/5RxbooBDDxxmZrin5kVKejfxppikVbDsHdISv0+znZqsivEWFegb+bAeOMa/c5g2IPtCJKMR59sAF6XCZRGy7oC6o//t/NOzl2ILIzrx+GE8lvZyq7IBkO5XSgvRMtDjTiA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from yongseok-MBP.local (73.222.116.174) by DB6PR0501MB2039.eurprd05.prod.outlook.com (2603:10a6:4:6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Fri, 6 Oct 2017 05:08:11 +0000 Date: Thu, 5 Oct 2017 22:07:57 -0700 From: Yongseok Koh To: Nelio Laranjeiro Cc: dev@dpdk.org, adrien.mazarguil@6wind.com, ferruh.yigit@intel.com Message-ID: <20171006050756.GH19330@yongseok-MBP.local> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) X-Originating-IP: [73.222.116.174] X-ClientProxiedBy: MWHPR1701CA0023.namprd17.prod.outlook.com (2603:10b6:301:14::33) To DB6PR0501MB2039.eurprd05.prod.outlook.com (2603:10a6:4:6::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3d31a49a-82d4-4d13-7475-08d50c783ead X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DB6PR0501MB2039; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2039; 3:a+DAPtY7WI7Q4eprmmD7DCjAK1A05c7ma6jhXTHLOScByNmNyKONJ5Tkn9SUmccx3OC9G5ZbDu11aSVwROhO43/K5it12BAxGuhDh/C3PzinQFOhAEKinaec+q2Dh/8lmHiCH7AZy5JMcPKFWb+c4K8Ufhr20z6M/47NmFgJnFrAIUd9/xs3cvXqhAGGO6ba+TdlutMmf+VjPpVHStS8ew78NoD1EKqxqvBv+bAkjciF8E036QcLdz/iUEp2HgW+; 25:9EtSbgqCsGiyAQYjpymTXcT1XSgHOj2gLF57WDRFfkkBcAaetp4P2UyMWWZ7jMFL0L4uRBpz5zfMFIKcct+kgd2ZBEy3tl6u+hzA9zyBwos3s6LdhOixVJFbJvAWaZwhVL5GrTiC4wZBRA/7SdKO3GgUbAOHLnbqxZtks4nWaKIXRdSMNaW+ScTToV0fXwk7C/JJm3JGcNajBbNdCl8LT67eKlGbC60ykmxferK7uORR/mrTJES/MJyCi0A2412gZ3sOhuuLxMsnfmkQDob3kdXb8IHkgqn3wAGPYHv0iBCchYKoJuAT6WwtyDZJLlQTtAbwmAqwcM/fVnlGgg15QA==; 31:myWzmke/l8u+frQuyVqPbpde1UrFQtfX1tLCSox56dH/2fGLeOa/l6LGWWP15lodD8mkqQh5ZoIT/Ww8IDLL8+opsmiCQvnLtvoj3OjV1kGeSTNvbj25TywH1h5FyMJFJzAoo8W4ABpQCfwvINV1IlOaV8KbGPGzVXDnnqCSz7Fzl40vVCi9EaoZAX3EXfAouv5H65QLtdn7V6DvCFN06MGNoxBwdOYpyp/jK1on0qM= X-MS-TrafficTypeDiagnostic: DB6PR0501MB2039: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2039; 20:tCUKUDxkW1ZBG2wvwpJmjDzjUJ0NQW3h5EtXiMjLsrvYC63fQTZHLbgq+Y2NVwwT4ZojggP1xh+v82LNE60WQkT2hsF6MAo6v6J1jALw9iFtYtvPBeTGY5BsYvKjUxCr0RW964XukH9cQlGzTdk4g3b1MDncQiotM1yfeI2vk5t8Dp6NxYv7X+L6HjGyJ830XF6MvZCLr7/QHGwASazAcgJXZDHYnJtY7bXhj3QHiFYKyL4ywUWicyKCX2zyQkgsDO7r5ZHQRv14OCvD/eWu5STh4dkTwEmuBxpLA0x2M+2U7V1UhW1sRpyw0pfJ4t6V5ZiX1raZ3DcfwCQR+MA1TVNiLPM8cQ6hPnf4FAsd4ooN5eGhlBvTp0Hs5BbJwl3oOL1HC2moudpjCr1X4JuF/BqPmtUob8zJghboPtIPB04QIbtc/GiE8KQldOmr7GVnfGK888MqhR5dVd4klwGU2rfu3IxnL59KMYW/F9zcrLCb1w3OSbj2kxp2u/Rp9X5z; 4:tsTMi5+GJUvmRk02UmeeTVyoMK9KdmlOsnOz/BLUtC7VAlZxszVbPsarzzshXSD8I3fHnTAW9u5STy100IFyU+zM2TJ/BgS05fFkGm+Li8HMB/lkWQ1R1wGMUMXki18BAA563nFQPWTQPMinCOZOahgbViix3WnhiiLz11ZwA2Mo4thR9t1IjtKTR0cLySPUpWpNaW0SuUTjt23YxXkMEdYzygn7Ht6N+BkeggLSLgl2YOAzpzE1B31vbO7SA+Ez X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0501MB2039; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0501MB2039; X-Forefront-PRVS: 0452022BE1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(39860400002)(189002)(24454002)(199003)(6246003)(189998001)(2950100002)(106356001)(3846002)(6116002)(4326008)(9686003)(55016002)(83506001)(54356999)(76176999)(1076002)(105586002)(101416001)(50986999)(5660300001)(25786009)(478600001)(53936002)(6916009)(6506006)(316002)(16526018)(58126008)(50466002)(81156014)(8936002)(97736004)(81166006)(8676002)(6666003)(7736002)(229853002)(23756003)(98436002)(33656002)(68736007)(2906002)(305945005)(2870700001)(86362001)(66066001)(47776003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2039; H:yongseok-MBP.local; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; DB6PR0501MB2039; 23:hLW960hVi2sx3SXXffc0EPCiqTNHSGBgICg+A?= =?iso-8859-1?Q?ttpNAS3RxnWiD3MxNyVnuMDTlKJ0m08MQa43ctprZEpKzv9GpDmzL+Uzac?= =?iso-8859-1?Q?TCixf4m+Ea6So2GzhQ15rYs7Bh75cb3nwL68nK57mPgxs1rvDNXEW/iOnI?= =?iso-8859-1?Q?HXkDtXEiUUUoBpNHV2si611xZwxYdpoWwiQF0ori6yv8zK2Nc14VOmShT+?= =?iso-8859-1?Q?Q9817eI/19NHuxf4hcBo6jdI5llpPmvgErEEonlK+X72rm0B1nlzcoreK9?= =?iso-8859-1?Q?T4qc/pYLB2nmDTxhVvdwJbmgjGvpcV/NngN1uJHHB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jL8fmt7j2NbToGEHK+l5p+HwvGKpV7JVevsy8OStC/XCcZ9JANXvdWBzCL?= =?iso-8859-1?Q?313dcgT+Eb8REvwrITC?= X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2039; 6:9MXUEXBC/exnBjUQ5EF0Uoj7kiXu96CzhOfOaXSHQkkfvC/8EWCmkiRnfHLvU+v0NJJrRft61xFzghZCMLSo1qk7/Co+tbRr98A5BOOtSvIk1B7Zm8jwZpqOnLsWzh8k+Ewmb16AcFvy21wWvQXQdJDo0dDrNoPkAJHXBoR+2dBRPeNTfqBtXSoQu9M4JV5u2HNq1TO/fBYtGZ/orSu1tRHwxOWGCF/abjQBq/PqoM+hNFMX30CuWk0ckWflhOcXqZQ9r6o+dbuoeD0Kz4B9oQbOpqPTDfn5BS0epk8rsQalHrpBRNRCzqIz5EVFzdYi8c3RNM5ipim/4FCDhnbokA==; 5:ebg26k36TM/bU7LCgkPKFDhyGQJ2TOQevHFrpphap5GZ25KeogGGX9XYWKSU35zKpdVwNJswzY3AW3RtMS7WDrwwfNEtipVSa+ADgQIS6WmKykKYhSFX6sOHu0YOSG5iAq9L0uec7SLyOPey46T5tQ==; 24:aIwLa+K6gsDh337ZqFBvAUqOkpF+giJXZSr78PzVprN2HGvt/AeNFW7QBMnjkoMg8ndrROzXVRf0TkzZNr9DbKQJnXWD0H2J5emPD4KUZU4=; 7:NNNdsdQ0gX1LTkT4hvbgaGIKyYwbWE/fohBcHtvPJQS1MbSdA7wRwpmKcVu4Pn0Icd3A9fZqHsvY+BeCCQ7lP40oMGOB5hTYAgijZRvRZuwdNrBvNwkoP+duxQ6kdw8Nk+2dZIbpNbSQ5L6MZ/QpWZsZxaIgCafhD1GSeSjzFi0dyciYuNAfwK6/xSUeKww1yAwK21D88dE8RaEfBeR9AEZKFcdoeJVqNgo4bGTz7y0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2017 05:08:11.7925 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2039 Subject: Re: [dpdk-dev] [PATCH v2 17/30] net/mlx5: use flow to enable promiscuous mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 05:08:14 -0000 On Thu, Oct 05, 2017 at 02:49:49PM +0200, Nelio Laranjeiro wrote: > @@ -1630,3 +1646,90 @@ priv_flow_verify(struct priv *priv) > } > return ret; > } > + > +/** > + * Enable/disable a flow control configured from the control plane. "flow control" -> "control flow" Acked-by: Yongseok Koh   Thanks