From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751875AbdJXRNX (ORCPT ); Tue, 24 Oct 2017 13:13:23 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:51969 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751534AbdJXRNU (ORCPT ); Tue, 24 Oct 2017 13:13:20 -0400 X-Google-Smtp-Source: ABhQp+QV3s3gZO3zhg70W9yXN0CKiPB/Plbz+YX/+wYRBa8fO7Lc8C4Zqa7TcS8PRagZ74sfbhLSUA== Date: Tue, 24 Oct 2017 10:13:18 -0700 From: Matthias Kaehlcke To: Jakub Kicinski Cc: Manoj Gupta , "David S . Miller" , Simon Horman , Dirk van der Merwe , oss-drivers@netronome.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Renato Golin , Guenter Roeck , Doug Anderson Subject: Re: [PATCH] nfp: convert nfp_eth_set_bit_config() into a macro Message-ID: <20171024171318.GB96615@google.com> References: <20171003200546.165731-1-mka@chromium.org> <20171003145000.53683e21@cakuba> <20171004111724.29a4d7ff@cakuba.netronome.com> <20171024165603.GA96615@google.com> <20171024100356.63bcbb2f@cakuba.netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171024100356.63bcbb2f@cakuba.netronome.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org El Tue, Oct 24, 2017 at 10:03:56AM -0700 Jakub Kicinski ha dit: > On Tue, 24 Oct 2017 09:56:03 -0700, Matthias Kaehlcke wrote: > > > @@ -561,6 +568,6 @@ int __nfp_eth_set_speed(struct nfp_nsp *nsp, unsigned int speed) > > > */ > > > int __nfp_eth_set_split(struct nfp_nsp *nsp, unsigned int lanes) > > > { > > > - return nfp_eth_set_bit_config(nsp, NSP_ETH_RAW_PORT, NSP_ETH_PORT_LANES, > > > + return NFP_ETH_SET_BIT_CONFIG(nsp, NSP_ETH_RAW_PORT, NSP_ETH_PORT_LANES, > > > lanes, NSP_ETH_CTRL_SET_LANES); > > > } > > > > Do you plan to send this as an official patch? > > Sorry... Dirk is prepping a larger series for this area of code and it > got stuck there a bit :S No prob, just wanted to make sure it didn't slip under the radar. > He says it's coming any day now... Great, thanks!