From: Vijay Khemka <vijaykhemka@fb.com>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH net v2] net/ncsi: Extend NC-SI Netlink interface to allow user space to send NC-SI command
Date: Fri, 28 Sep 2018 23:22:22 +0000 [thread overview]
Message-ID: <0491255B-B4FB-42A1-9633-1AB44FFC5A52@fb.com> (raw)
In-Reply-To: <58fff61ffd8d4038b59f32b696e76bbc@AUSX13MPS306.AMER.DELL.COM>
?>On 9/28/18, 11:16 AM, "Justin.Lee1 at Dell.com" <Justin.Lee1@Dell.com> wrote:
> The new command (NCSI_CMD_SEND_CMD) is added to allow user space application
> to send NC-SI command to the network card.
> Also, add a new attribute (NCSI_ATTR_DATA) for transferring request and response.
>
> The work flow is as below.
>
> Request:
> User space application -> Netlink interface (msg)
-> new Netlink handler - ncsi_send_cmd_nl()
-> ncsi_xmit_cmd()
> Response:
> Response received - ncsi_rcv_rsp() -> internal response handler - ncsi_rsp_handler_xxx()
-> ncsi_rsp_handler_netlink()
-> ncsi_send_netlink_rsp ()
-> Netlink interface (msg)
-> user space application
> Command timeout - ncsi_request_timeout() -> ncsi_send_netlink_timeout ()
-> Netlink interface (msg with zero data length)
-> user space application
> Error:
> Error detected -> ncsi_send_netlink_err () -> Netlink interface (err msg)
-> user space application
I will request to keep 2 patch, one for OEM handler and other one for netlink user space handling.
next prev parent reply other threads:[~2018-09-28 23:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-28 18:15 [PATCH net v2] net/ncsi: Extend NC-SI Netlink interface to allow user space to send NC-SI command Justin.Lee1
2018-09-28 23:22 ` Vijay Khemka [this message]
2018-10-02 5:11 ` Samuel Mendoza-Jonas
2018-10-02 17:36 ` Justin.Lee1
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=0491255B-B4FB-42A1-9633-1AB44FFC5A52@fb.com \
--to=vijaykhemka@fb.com \
--cc=linux-aspeed@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox