[PATCH] ncsi-netlink: support sending NC-SI commands over Netlink interface

Ben Wei benwei at fb.com
Sat Aug 31 07:46:05 AEST 2019


> On 8/22/19 5:02 PM, Ben Wei wrote:
> > This patch extends ncsi-netlink command line utility to send NC-SI command to kernel driver
> > via NCSI_CMD_SEND_CMD command.
> > 
> > New command line option -o (opcode) is used to specify NC-SI command and optional payload.
> > 
>
> Thank you for posting this Ben.
> Something looks off on this next line but it looks fine in your pull 
> request in the github.com/sammj/ncsi-netlink repo.
>
> > +static int send_cb(struct nl_msg *msg, void *arg) { #define
> > +ETHERNET_HEADER_SIZE 16
> > +

Yes I think my email client was not configured correctly for plain text so it's removing certain line breaks.
Hopefully I have this figured out now so my future patches won't have this issue.

>
> Do you have plans to upstream your yocto recipe for this repo?

Yes I sure can upstream the recipe file. I had to make local changes to build ncsi-netlink for my BMC platform.
Is there a group I may submit my recipe to? 

Thanks,
-Ben


More information about the openbmc mailing list