[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <FC2694E0-2F55-4089-8544-668243C6ECA2@fb.com>
Date: Wed, 26 Sep 2018 17:07:43 +0000
From: Vijay Khemka <vijaykhemka@...com>
To: Samuel Mendoza-Jonas <sam@...dozajonas.com>,
Joel Stanley <joel@....id.au>
CC: "linux-aspeed@...ts.ozlabs.org" <linux-aspeed@...ts.ozlabs.org>,
"OpenBMC Maillist" <openbmc@...ts.ozlabs.org>,
Sai Dasari <sdasari@...com>,
"Amithash Prasad" <amithash@...com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Justin.Lee1@...l.com" <Justin.Lee1@...l.com>
Subject: Re: [PATCH] net/ncsi: Add NCSI OEM command for FB Tiogapass
> Hi Vijay,
> Thanks for the patch; before I get too into a review though I'd like to
> loop in Justin (cc'd) who I know is also working on an OEM command patch.
> The changes here are very specific (eg. a command specific config option
> "CONFIG_NCSI_OEM_CMD_GET_MAC"), which is ok on a small scale but if we
> start to add an increasing amount of commands could get out of hand.
> As I understand Justin's version adds a generic handler, using the NCSI
> Netlink interface to pass OEM commands and responses to and from
> userspace, which does the actual packet handling.
> It would be good to compare these two approaches first before committing
> to any one path
Hi Sam,
My oem command handler is generic and can be used for any oem commands and oem response handler can be made more generic. We can certainly write a wrapper to support netlink oem command to receive form user space. There are Mellanox specific functions which sends Mellanox specific request. These needed as a part of initial configuration. We can remove Kconfig option with more generic approach.
-Vijay
Powered by blists - more mailing lists