/linux/net/ncsi/ |
H A D | internal.h | 108 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 */ 187 u32 ncsi_rx_cmds; /* Rx NCSI commands */ 191 u32 ncsi_rx_pkts; /* Rx NCSI packets */ 192 u32 ncsi_tx_pkts; /* Tx NCSI packets */ 246 unsigned char id; /* NCSI [all...] |
H A D | ncsi-pkt.h | 11 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 version minor */ [all …]
|
H A D | Makefile | 3 # 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 D | Kconfig | 3 # 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 D | ncsi-aen.c | 12 #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() 233 "NCSI: 'bad' packet ignored for AEN type 0x%x\n", in ncsi_aen_handler() [all …]
|
H A D | ncsi-manage.c | 14 #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 D | ncsi-netlink.c | 12 #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 D | ncsi-rsp.c | 13 #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 spe in ncsi_rsp_handler_sma() [all...] |
H A D | ncsi-cmd.c | 13 #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 D | ncsi.h | 14 * 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/include/net/ |
H A D | ncsi.h | 8 * The NCSI device states seen from external. More NCSI device states are 9 * only visible internally (in net/ncsi/internal.h). When the NCSI device
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-greatlakes.dts | 68 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 D | aspeed-bmc-facebook-yamp.dts | 37 use-ncsi;
|
H A D | aspeed-bmc-inventec-starscream.dts | 70 use-ncsi; 332 /*N0-N7*/ "","","ncsi-ocp-clk-en-n","","","","","",
|
H A D | aspeed-bmc-supermicro-x11spi.dts | 80 use-ncsi;
|
H A D | aspeed-bmc-intel-s2600wf.dts | 75 use-ncsi;
|
H A D | aspeed-bmc-inspur-on5263m5.dts | 83 use-ncsi;
|
H A D | aspeed-bmc-portwell-neptune.dts | 95 use-ncsi;
|
H A D | aspeed-bmc-facebook-tiogapass.dts | 191 use-ncsi; 199 use-ncsi;
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | faraday,ftgmac100.yaml | 51 use-ncsi: 82 use-ncsi;
|
/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_rx.h | 146 /* NCSI-bound packets dropped */ 149 /* NCSI-bound octets dropped */
|
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_rx.h | 146 /* NCSI-bound packets dropped */ 149 /* NCSI-bound octets dropped */
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | aspeed,ast2600-pinctrl.yaml | 22 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 D | nfp.rst | 63 * - ``fw.ncsi``
|
/linux/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 29 #include <net/ncsi.h> 1559 /* Start the NCSI device */ in ftgmac100_open() 1761 netdev_dbg(nd->dev, "NCSI interface %s\n", in ftgmac100_ncsi_handler() 1779 * 1000Mbit link speeds. As NCSI is limited to 100Mbit, 25MHz in ftgmac100_setup_clk() 1787 /* RCLK is for RMII, typically used for NCSI. Optional because it's not in ftgmac100_setup_clk() 1894 if (np && of_get_property(np, "use-ncsi", NULL)) { in ftgmac100_probe() 1896 dev_err(&pdev->dev, "NCSI stack not enabled\n"); in ftgmac100_probe() 1901 dev_info(&pdev->dev, "Using NCSI interface\n"); in ftgmac100_probe() 1998 /* AST2600 tx checksum with NCSI is broken */ in ftgmac100_probe()
|