From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH net-next 1/4] mlx5: Make building eswitch configurable Date: Fri, 27 Jan 2017 15:23:26 -0800 Message-ID: <588BD66E.2050201@fb.com> References: <20170126233241.2268449-1-tom@herbertland.com> <20170126233241.2268449-2-tom@herbertland.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: Or Gerlitz , Saeed Mahameed , David Miller , Linux Netdev List , Kernel Team To: Saeed Mahameed , Tom Herbert Return-path: Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:46083 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbdA1AfR (ORCPT ); Fri, 27 Jan 2017 19:35:17 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 1/27/17 1:15 PM, Saeed Mahameed wrote: > It is only mandatory for configurations that needs eswitch, where the > driver has no way to know about them, for a good old bare metal box, > eswitch is not needed. > > we can do some work to strip the l2 table logic - needed for PFs to > work on multi-host - out of eswitch but again that would further > complicate the driver code since eswitch will still need to update l2 > tables for VFs. Saeed, for multi-host setups every host in that multi-host doesn't actually see the eswitch, no? Otherwise broken driver on one machine can affect the other hosts in the same bundle? Please double check, since this is absolutely critical HW requirement.