All of lore.kernel.org
 help / color / mirror / Atom feed
From: tomjose <tomjose@linux.vnet.ibm.com>
To: Brendan Higgins <brendanhiggins@google.com>,
	OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Discussion on IPMI provider libraries
Date: Mon, 7 Nov 2016 19:13:52 +0530	[thread overview]
Message-ID: <58208518.50202@linux.vnet.ibm.com> (raw)

Hello Brendan,

The discussion is with respect to issue 
https://github.com/openbmc/openbmc/issues/430.

The goal of this issue is to share ipmi provider libraries between 
phosphor-host-ipmid
and phosphor-net-ipmid.

The plan is to provide a framework in net-ipmid to register IPMI 
provider API's.
Every IPMI command has a privilege level which would be compared against 
the session's
privilege level before the command is executed. For supporting IPMI on 
LAN channel,
the privilege for each command need to be assigned.

This is the present signature of the callback command API's.

typedef ipmi_ret_t (*ipmid_callback_t)(ipmi_netfn_t, ipmi_cmd_t, 
ipmi_request_t,
                                        ipmi_response_t, 
ipmi_data_len_t, ipmi_context_t);

I plan to add additional parameter for the command privilege level. I 
heard you had interest
around this area to modify callback API to suit your specific needs.

Let me know your thoughts.

Regards,
Tom

             reply	other threads:[~2016-11-07 13:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 13:43 tomjose [this message]
2016-11-07 20:25 ` Discussion on IPMI provider libraries Brendan Higgins
2016-11-08 10:09   ` tomjose
2016-11-14 23:59     ` Brendan Higgins
2016-11-15 10:58       ` Patrick Williams
2016-11-16  7:00         ` tomjose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58208518.50202@linux.vnet.ibm.com \
    --to=tomjose@linux.vnet.ibm.com \
    --cc=brendanhiggins@google.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.