From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3AD4C47080 for ; Tue, 1 Jun 2021 07:31:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8545961364 for ; Tue, 1 Jun 2021 07:31:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233055AbhFAHc7 (ORCPT ); Tue, 1 Jun 2021 03:32:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbhFAHc7 (ORCPT ); Tue, 1 Jun 2021 03:32:59 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE59CC061574; Tue, 1 Jun 2021 00:31:15 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1lnyrp-000UR1-9H; Tue, 01 Jun 2021 09:31:13 +0200 Message-ID: <3e0f8a6d02435f0bba0b47176e684e331b6a6459.camel@sipsolutions.net> Subject: Re: [PATCH V3 15/16] net: iosm: net driver From: Johannes Berg To: Loic Poulain Cc: "Kumar, M Chetan" , Network Development , "linux-wireless@vger.kernel.org" , "Sudi, Krishna C" , linuxwwan , Dan Williams , =?ISO-8859-1?Q?Bj=F8rn?= Mork , Jakub Kicinski Date: Tue, 01 Jun 2021 09:31:12 +0200 In-Reply-To: (sfid-20210527_133055_476133_D9F74328) References: <20210520140158.10132-1-m.chetan.kumar@intel.com> <20210520140158.10132-16-m.chetan.kumar@intel.com> <90f93c17164a4d8299d17a02b1f15bfa@intel.com> (sfid-20210527_133055_476133_D9F74328) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, > Yes, or alternatively add an optional alloc_netdev() rtnl ops, e.g. in > rtnl_create_link: Yes, that works. It needs some more fiddling (we need 'data', not just 'tb') and it cannot be called 'alloc_netdev' (that's a macro!), but yeah, otherwise works. I'll just call it alloc(). I'll send a few updated patches in a few minutes. johannes