<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/uapi/linux/ncsi.h, branch v6.6.132</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.6.132'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2018-11-18T05:09:49+00:00</updated>
<entry>
<title>net/ncsi: Configure multi-package, multi-channel modes with failover</title>
<updated>2018-11-18T05:09:49+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-11-16T04:51:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8d951a75d022d94a05f5fa74217670a981e8302d'/>
<id>urn:sha1:8d951a75d022d94a05f5fa74217670a981e8302d</id>
<content type='text'>
This patch extends the ncsi-netlink interface with two new commands and
three new attributes to configure multiple packages and/or channels at
once, and configure specific failover modes.

NCSI_CMD_SET_PACKAGE mask and NCSI_CMD_SET_CHANNEL_MASK set a whitelist
of packages or channels allowed to be configured with the
NCSI_ATTR_PACKAGE_MASK and NCSI_ATTR_CHANNEL_MASK attributes
respectively. If one of these whitelists is set only packages or
channels matching the whitelist are considered for the channel queue in
ncsi_choose_active_channel().

These commands may also use the NCSI_ATTR_MULTI_FLAG to signal that
multiple packages or channels may be configured simultaneously. NCSI
hardware arbitration (HWA) must be available in order to enable
multi-package mode. Multi-channel mode is always available.

If the NCSI_ATTR_CHANNEL_ID attribute is present in the
NCSI_CMD_SET_CHANNEL_MASK command the it sets the preferred channel as
with the NCSI_CMD_SET_INTERFACE command. The combination of preferred
channel and channel whitelist defines a primary channel and the allowed
failover channels.
If the NCSI_ATTR_MULTI_FLAG attribute is also present then the preferred
channel is configured for Tx/Rx and the other channels are enabled only
for Rx.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/ncsi: Extend NC-SI Netlink interface to allow user space to send NC-SI command</title>
<updated>2018-10-16T05:00:59+00:00</updated>
<author>
<name>Justin.Lee1@Dell.com</name>
<email>Justin.Lee1@Dell.com</email>
</author>
<published>2018-10-11T18:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392'/>
<id>urn:sha1:9771b8ccdfa6dcb1ac5128ca7fe8649f3092d392</id>
<content type='text'>
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
	-&gt; Netlink interface (msg)
	-&gt; new Netlink handler - ncsi_send_cmd_nl()
	-&gt; ncsi_xmit_cmd()

Response:
Response received - ncsi_rcv_rsp()
	-&gt; internal response handler - ncsi_rsp_handler_xxx()
	-&gt; ncsi_rsp_handler_netlink()
	-&gt; ncsi_send_netlink_rsp ()
	-&gt; Netlink interface (msg)
	-&gt; user space application

Command timeout - ncsi_request_timeout()
	-&gt; ncsi_send_netlink_timeout ()
	-&gt; Netlink interface (msg with zero data length)
	-&gt; user space application

Error:
Error detected
	-&gt; ncsi_send_netlink_err ()
	-&gt; Netlink interface (err msg)
	-&gt; user space application

Signed-off-by: Justin Lee &lt;justin.lee1@dell.com&gt;
Reviewed-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/ncsi: Add generic netlink family</title>
<updated>2018-03-05T15:43:37+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-03-05T00:39:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=955dc68cb9b23b42999cafe6df3684309bc686c6'/>
<id>urn:sha1:955dc68cb9b23b42999cafe6df3684309bc686c6</id>
<content type='text'>
Add a generic netlink family for NCSI. This supports three commands;
NCSI_CMD_PKG_INFO which returns information on packages and their
associated channels, NCSI_CMD_SET_INTERFACE which allows a specific
package or package/channel combination to be set as the preferred
choice, and NCSI_CMD_CLEAR_INTERFACE which clears any preferred setting.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
