Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3581784pxk; Mon, 5 Oct 2020 13:33:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyS7NC/pNznxCGO3CFdTbpDAQUgaRTRUvjXx1RdAAS8o35CLEswBuvN6ZB0JMNLXSTqK7Vt X-Received: by 2002:a17:906:4701:: with SMTP id y1mr1533106ejq.341.1601929984541; Mon, 05 Oct 2020 13:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601929984; cv=none; d=google.com; s=arc-20160816; b=AhjSVwvd4i4GukA+Wniu2xyM1MSUJYtoKgCwujeMJEvu3Zj23K4gy37t6jva2evE+z SZaujd+Xzdo6b6RSl2tiMyG7wFgZZeHwLMouwCw3WNDF00huM9e9UqtPGof4R9t0nWw2 b4CX2HKDkP/WReXMYQosOeGZ9frohSqBFUiOwTI2PqxYVaVsxHW0vK2PHNf0B+wJZ6u3 /M1l3M/xljNzbxvOqEwhq97/5K7oBEKgUNL+YDm1O9Jsn0ZoRxZoTID7llMg3WqBqydQ PbWgb6Gd/+Zg3fy2Shq/+pBqDhGCBpzV3per1AhmrqtleTgkKiyVnRNUccpOB3LLLp2d ZIjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=Te1uUsebUg1xCYWJ8EXHdK1bIiq7BOmNtlRzah6jTZE=; b=DfS4XCtQ4pP9Hsfu8zU2YN7jQdaQhqFSPH8gq3rNZH/6tm1xhPY0JpszpPggba1vY0 ObWTryGGoJQA+Q7/UuRxTXSNqItTKWTpDQIsdrQXBfgWhnvtBDrtYhF/nI4qf6FCZvIh Vl+n6EZNpQXFW5ONILCZiu4RxbwrgYY+lo4AWt14e+rYXmZfvPsBwabpuXrE95g6BivN yZNACDyOQbcBeBnM+++9Ko/bJnBMEdBYrlmwwvf+y09FigF05w+NDVZCnM07coFn6NK8 4e0Ybo/0rKh6l21iRLJRERTyw2vMnJnfL3QhrHzA7qiKgKCbHoahboc1X46/exaj2NDv RNlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si799499edo.449.2020.10.05.13.32.42; Mon, 05 Oct 2020 13:33:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728457AbgJESeg (ORCPT + 99 others); Mon, 5 Oct 2020 14:34:36 -0400 Received: from mga18.intel.com ([134.134.136.126]:46118 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725960AbgJESeg (ORCPT ); Mon, 5 Oct 2020 14:34:36 -0400 IronPort-SDR: cSEhg5Pishzj3ND3pMCztD8lemWXiNXLnh+LfACH82oaDA9c3qre8XRm0aV1calPH3JrtFRA38 Y0GYSMQzd6wQ== X-IronPort-AV: E=McAfee;i="6000,8403,9765"; a="151613987" X-IronPort-AV: E=Sophos;i="5.77,340,1596524400"; d="scan'208";a="151613987" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2020 11:34:26 -0700 IronPort-SDR: kunrzPL0zLYx+ilbaCZZyYZDiXgyQ9DljQOxNsW7y10KymWy6IekP2tN2DRAi/1MRF1eMIrTCL xsukPRGbcRDA== X-IronPort-AV: E=Sophos;i="5.77,340,1596524400"; d="scan'208";a="310154543" Received: from jekeller-mobl1.amr.corp.intel.com (HELO [10.255.65.178]) ([10.255.65.178]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2020 11:34:25 -0700 Subject: Re: [PATCH net-next 01/16] devlink: Change devlink_reload_supported() param type To: Moshe Shemesh , "David S. Miller" , Jakub Kicinski , Jiri Pirko Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1601560759-11030-1-git-send-email-moshe@mellanox.com> <1601560759-11030-2-git-send-email-moshe@mellanox.com> From: Jacob Keller Organization: Intel Corporation Message-ID: Date: Mon, 5 Oct 2020 11:34:21 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <1601560759-11030-2-git-send-email-moshe@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/1/2020 6:59 AM, Moshe Shemesh wrote: > Change devlink_reload_supported() function to get devlink_ops pointer > param instead of devlink pointer param. > This change will be used in the next patch to check if devlink reload is > supported before devlink instance is allocated. > > Signed-off-by: Moshe Shemesh Reviewed-by: Jacob Keller