Home
last modified time | relevance | path

Searched full:ncsi (Results 1 – 25 of 44) sorted by relevance

12

/linux/net/ncsi/
H A DMakefile3 # Makefile for NCSI API
5 obj-$(CONFIG_NET_NCSI) += ncsi-cmd.o ncsi-rsp.o ncsi-aen.o ncsi-manage.o ncsi-netlink.o
H A Dinternal.h108 u8 major; /* NCSI version major */
109 u8 minor; /* NCSI version minor */
110 u8 update; /* NCSI version update */
111 char alpha1; /* NCSI version alpha1 */
112 char alpha2; /* NCSI version alpha2 */
121 u32 cap; /* NCSI channel capability */
186 u32 ncsi_rx_cmds; /* Rx NCSI commands */
190 u32 ncsi_rx_pkts; /* Rx NCSI packets */
191 u32 ncsi_tx_pkts; /* Tx NCSI packets */
245 unsigned char id; /* NCSI 3-bits package ID */
[all …]
H A DKconfig3 # Configuration for NCSI support
7 bool "NCSI interface support"
10 This module provides NCSI (Network Controller Sideband Interface)
12 device via NCSI and the ethernet driver you're using supports
15 bool "Get NCSI OEM MAC Address"
18 This allows to get MAC address from NCSI firmware and set them back to
H A Dncsi-pkt.h11 unsigned char revision; /* NCSI version - 0x01 */
21 struct ncsi_pkt_hdr common; /* Common NCSI packet header */
25 struct ncsi_pkt_hdr common; /* Common NCSI packet header */
31 struct ncsi_pkt_hdr common; /* Common NCSI packet header */
36 /* NCSI common command packet */
141 /* Set NCSI Flow Control */
150 /* OEM Request Command as per NCSI Specification */
157 /* OEM Response Packet as per NCSI Specification */
200 unsigned char major; /* NCSI version major */
201 unsigned char minor; /* NCSI versio
[all...]
H A Dncsi-aen.c12 #include <net/ncsi.h>
17 #include "ncsi-pkt.h"
31 * sender doesn't support checksum according to NCSI in ncsi_validate_aen_pkt()
59 /* Find the NCSI channel */ in ncsi_aen_handler_lsc()
77 netdev_dbg(ndp->ndev.dev, "NCSI: LSC AEN - channel %u state %s\n", in ncsi_aen_handler_lsc()
86 "NCSI: Inactive channel %u received AEN!\n", in ncsi_aen_handler_lsc()
146 /* Find the NCSI channel */ in ncsi_aen_handler_cr()
181 /* Find the NCSI channel */ in ncsi_aen_handler_hncdsc()
192 "NCSI: host driver %srunning on channel %u\n", in ncsi_aen_handler_hncdsc()
234 "NCSI: 'bad' packet ignored for AEN type 0x%x\n", in ncsi_aen_handler()
[all …]
H A Dncsi-manage.c14 #include <net/ncsi.h>
22 #include "ncsi-pkt.h"
23 #include "ncsi-netlink.h"
117 "Bad NCSI monitor state channel %d 0x%x %s queue\n", in ncsi_channel_monitor()
141 netdev_err(ndp->ndev.dev, "NCSI Channel %d timed out!\n", in ncsi_channel_monitor()
349 /* For two consecutive NCSI commands, the packet IDs shouldn't
588 netdev_warn(nd->dev, "Wrong NCSI state 0x%x in suspend\n", in ncsi_suspend_channel()
714 "NCSI: Failed to transmit cmd 0x%x during configure\n", in ncsi_oem_keep_phy_intel()
719 /* NCSI OEM Command APIs */
736 "NCSI: Failed to transmit cmd 0x%x during configure\n", in ncsi_oem_gma_handler_bcm()
[all …]
H A Dncsi-netlink.c12 #include <net/ncsi.h>
15 #include <uapi/linux/ncsi.h>
18 #include "ncsi-pkt.h"
19 #include "ncsi-netlink.h"
46 pr_err("NCSI netlink: No device for ifindex %u\n", ifindex); in ndp_from_ifindex()
104 netdev_info(ndp->ndev.dev, "NCSI: No package with id %u\n", id); in ncsi_write_package_info()
318 "NCSI: Channel %u does not exist!\n", in ncsi_set_interface_nl()
386 netdev_info(ndp->ndev.dev, "NCSI: Cleared preferred package/channel\n"); in ncsi_clear_interface_nl()
447 netdev_info(ndp->ndev.dev, "NCSI: no command to send %u\n", in ncsi_send_cmd_nl()
470 "NCSI: Error %d sending command\n", in ncsi_send_cmd_nl()
[all …]
H A Dncsi-rsp.c13 #include <net/ncsi.h>
19 #include "ncsi-pkt.h"
20 #include "ncsi-netlink.h"
42 /* Check NCSI packet header. We don't need validate in ncsi_validate_rsp_pkt()
50 "NCSI: unsupported header revision\n"); in ncsi_validate_rsp_pkt()
55 "NCSI: payload length mismatched\n"); in ncsi_validate_rsp_pkt()
63 "NCSI: non zero response/reason code %04xh, %04xh\n", in ncsi_validate_rsp_pkt()
69 * sender doesn't support checksum according to NCSI in ncsi_validate_rsp_pkt()
81 "NCSI: checksum mismatched; recd: %08x calc: %08x\n", in ncsi_validate_rsp_pkt()
468 /* According to NCSI spec 1.01, the mixed filter table in ncsi_rsp_handler_sma()
[all …]
H A Dncsi-cmd.c13 #include <net/ncsi.h>
19 #include "ncsi-pkt.h"
293 /* NCSI command packet has 16-bytes header, payload, 4 bytes checksum. in ncsi_alloc_command()
393 * corresponding response. Given NCSI is an internal in ncsi_xmit_cmd()
399 /* Send NCSI packet */ in ncsi_xmit_cmd()
/linux/include/uapi/linux/
H A Dncsi.h14 * enum ncsi_nl_commands - supported NCSI commands
51 * enum ncsi_nl_attrs - General NCSI netlink attributes
54 * @NCSI_ATTR_IFINDEX: ifindex of network device using NCSI
81 * enum ncsi_nl_pkg_attrs - NCSI netlink package-specific attributes
102 * enum ncsi_nl_channel_attrs - NCSI netlink channel-specific attributes
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-greatlakes.dts68 use-ncsi;
70 ncsi-ctrl,start-redo-probe;
71 ncsi-ctrl,no-channel-monitor;
72 ncsi-package = <1>;
73 ncsi-channel = <1>;
74 ncsi-rexmit = <1>;
75 ncsi-timeout = <2>;
H A Daspeed-bmc-facebook-yamp.dts37 use-ncsi;
H A Daspeed-bmc-supermicro-x11spi.dts80 use-ncsi;
H A Daspeed-bmc-intel-s2600wf.dts75 use-ncsi;
H A Daspeed-bmc-inspur-on5263m5.dts83 use-ncsi;
H A Daspeed-bmc-inventec-starscream.dts70 use-ncsi;
332 /*N0-N7*/ "","","ncsi-ocp-clk-en-n","","","","","",
H A Daspeed-bmc-portwell-neptune.dts95 use-ncsi;
H A Daspeed-bmc-opp-vesnin.dts110 use-ncsi;
H A Daspeed-bmc-qcom-dc-scm-v1.dts53 use-ncsi;
/linux/Documentation/devicetree/bindings/net/
H A Dfaraday,ftgmac100.yaml54 use-ncsi:
100 use-ncsi;
/linux/Documentation/devicetree/bindings/pinctrl/
H A Daspeed,ast2600-pinctrl.yaml22 Note: According to the NCSI specification, the reference clock output pin
24 pin usage, add "NCSI" pin groups that are equivalent to the RMII pin groups,
/linux/Documentation/networking/devlink/
H A Dnfp.rst63 * - ``fw.ncsi``
/linux/drivers/net/ethernet/faraday/
H A Dftgmac100.c30 #include <net/ncsi.h>
1617 /* Start the NCSI device */ in ftgmac100_open()
1801 netdev_dbg(nd->dev, "NCSI interface %s\n", in ftgmac100_ncsi_handler()
1816 * 1000Mbit link speeds. As NCSI is limited to 100Mbit, 25MHz in ftgmac100_setup_clk()
1824 /* RCLK is for RMII, typically used for NCSI. Optional because it's not in ftgmac100_setup_clk()
1857 dev_err(&pdev->dev, "NCSI stack not enabled\n"); in ftgmac100_probe_ncsi()
1861 dev_info(&pdev->dev, "Using NCSI interface\n"); in ftgmac100_probe_ncsi()
1898 if (of_get_property(np, "use-ncsi", NULL)) in ftgmac100_probe_dt()
2076 /* AST2600 tx checksum with NCSI is broken */ in ftgmac100_probe()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_fw_hdr.h53 CODE_MCTP_PASSTHRU, /* 7 - NCSI / MCTP Passt-hrough firmware */
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhclge_mbx.h53 HCLGE_MBX_NCSI_ERROR, /* (M7 -> PF) receive a NCSI error */

12