From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [patch net-next 0/4] Introduce Mellanox Technologies Switch ASICs switchdev drivers Date: Fri, 24 Jul 2015 07:38:13 +0200 Message-ID: <20150724053813.GE2178@nanopsycho.orion> References: <1437666216-3149-1-git-send-email-jiri@resnulli.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Netdev , "David S. Miller" , idosch@mellanox.com, eladr@mellanox.com, "ogerlitz@mellanox.com" , Roopa Prabhu , Florian Fainelli , Thomas Graf , ast@plumgrid.com, Jamal Hadi Salim , Daniel Borkmann , john fastabend , "simon.horman@netronome.com" , John Linville , Andy Gospodarek , Shrijeet Mukherjee , "nhorman@tuxdriver.com" To: Scott Feldman Return-path: Received: from mail-wi0-f176.google.com ([209.85.212.176]:37801 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750990AbbGXFiQ (ORCPT ); Fri, 24 Jul 2015 01:38:16 -0400 Received: by wibud3 with SMTP id ud3so12368566wib.0 for ; Thu, 23 Jul 2015 22:38:15 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Fri, Jul 24, 2015 at 02:03:20AM CEST, sfeldma@gmail.com wrote: >On Thu, Jul 23, 2015 at 8:43 AM, Jiri Pirko wrote: >> This patchset introduces Mellanox Technologies Switch driver infrastructure >> and support for SwitchX-2 ASIC. >> >> The driver is divided into 3 logical parts: >> 1) Bus - implements switch bus interface. Currently only PCI bus is >> implemented, but more buses will be added in the future. Namely I2C >> and SGMII. >> (patch #2) >> 2) Driver - implemements of ASIC-specific functions. >> Currently SwitchX-2 ASIC is supported, but a plan exists to introduce >> support for Spectrum ASIC in the near future. >> (patch #4) >> 3) Core - infrastructure that glues buses and drivers together. >> It implements register access logic (EMADs) and takes care of RX traps >> and events. >> (patch #1 and #3) >> >> Ido Schimmel (1): >> mlxsw: Add interface to access registers and process events >> >> Jiri Pirko (3): >> mlxsw: Introduce Mellanox switch driver core >> mlxsw: Add PCI bus implementation >> mlxsw: Introduce Mellanox SwitchX-2 ASIC support > >This is awesome! Reviewing... Thanks! > >checkpatch.pl shows 1 ERROR, bunch of >80 chars WARNs, and bunch of >CHECKs on space after cast. Those >80char WARNs are mostly macro "\" on col 81. That is afaik ok. Maybe that should be changed in checkpatch as well. The error is false possitive. It is again in macro, checkpatch thinks it is a function and yells about "{" on the same line. However it is a struct initialization so in that case it is ok. > >On the CHECKs on space after cast, should we modify checkpatch.pl to >not flag those for drivers/net? I agree. > >-scott