From patchwork Mon Aug 2 04:27:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalesh Anakkur Purayil X-Patchwork-Id: 12413251 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=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 EB86DC4338F for ; Mon, 2 Aug 2021 04:13:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C9458610A0 for ; Mon, 2 Aug 2021 04:13:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231425AbhHBEN0 (ORCPT ); Mon, 2 Aug 2021 00:13:26 -0400 Received: from lpdvsmtp11.broadcom.com ([192.19.166.231]:46080 "EHLO relay.smtp-ext.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229828AbhHBENY (ORCPT ); Mon, 2 Aug 2021 00:13:24 -0400 X-Greylist: delayed 382 seconds by postgrey-1.27 at vger.kernel.org; Mon, 02 Aug 2021 00:13:24 EDT Received: from dhcp-10-123-153-22.dhcp.broadcom.net (bgccx-dev-host-lnx2.bec.broadcom.net [10.123.153.22]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 71E13A2; Sun, 1 Aug 2021 21:06:51 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 71E13A2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1627877213; bh=B4pS463qdpSOc2Geyt6nQi7JodXBkLS4Uo7GYGI3iLY=; h=From:To:Cc:Subject:Date:From; b=S/GCMtbdMKfpTUv3SRxvQVh7hUtOZSS+1Nxgu16L9DdZDYon+W7YGuMD4+tYQ8gGF UNFJ6iKQ33g70jKavaSmLKJsK9X5+RG0JhnIbQQK2SbwKkNcqZq+aAEJcd6nZtJISi ZVamAhuDunjG+lyOEusSAzCGG1kXPo1e92Hk0wGA= From: Kalesh A P To: davem@davemloft.net, kuba@kernel.org, jiri@nvidia.com Cc: netdev@vger.kernel.org, edwin.peer@broadcom.com, michael.chan@broadcom.com Subject: [PATCH net-next 0/2] devlink enhancements Date: Mon, 2 Aug 2021 09:57:38 +0530 Message-Id: <20210802042740.10355-1-kalesh-anakkur.purayil@broadcom.com> X-Mailer: git-send-email 2.10.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Kalesh AP This patchset adds device capability reporting to devlink info API. It may be useful if we expose the device capabilities to the user through devlink info API. Kalesh AP (2): devlink: add device capability reporting to devlink info API bnxt_en: Add device capabilities to devlink info_get cb Documentation/networking/devlink/devlink-info.rst | 3 +++ drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 31 +++++++++++++++++++++-- include/net/devlink.h | 2 ++ include/uapi/linux/devlink.h | 3 +++ net/core/devlink.c | 25 ++++++++++++++++++ 5 files changed, 62 insertions(+), 2 deletions(-)