File tree Expand file tree Collapse file tree 14 files changed +272
-0
lines changed
Documentation/networking/device_drivers Expand file tree Collapse file tree 14 files changed +272
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ Contents:
2323 intel/ice
2424 google/gve
2525 mellanox/mlx5
26+ pensando/ionic
2627
2728.. only :: subproject
2829
Original file line number Diff line number Diff line change 1+ .. SPDX-License-Identifier: GPL-2.0+
2+
3+ ==========================================================
4+ Linux* Driver for the Pensando(R) Ethernet adapter family
5+ ==========================================================
6+
7+ Pensando Linux Ethernet driver.
8+ Copyright(c) 2019 Pensando Systems, Inc
9+
10+ Contents
11+ ========
12+
13+ - Identifying the Adapter
14+ - Support
15+
16+ Identifying the Adapter
17+ =======================
18+
19+ To find if one or more Pensando PCI Ethernet devices are installed on the
20+ host, check for the PCI devices::
21+
22+ $ lspci -d 1dd8:
23+ b5:00.0 Ethernet controller: Device 1dd8:1002
24+ b6:00.0 Ethernet controller: Device 1dd8:1002
25+
26+ If such devices are listed as above, then the ionic.ko driver should find
27+ and configure them for use. There should be log entries in the kernel
28+ messages such as these::
29+
30+ $ dmesg | grep ionic
31+ ionic Pensando Ethernet NIC Driver, ver 0.15.0-k
32+ ionic 0000:b5:00.0 enp181s0: renamed from eth0
33+ ionic 0000:b6:00.0 enp182s0: renamed from eth0
34+
35+ Support
36+ =======
37+ For general Linux networking support, please use the netdev mailing
38+ list, which is monitored by Pensando personnel::
39+ netdev@vger.kernel.org
40+
41+ For more specific support needs, please use the Pensando driver support
42+ email::
43+ drivers@pensando.io
Original file line number Diff line number Diff line change @@ -12608,6 +12608,14 @@ L: platform-driver-x86@vger.kernel.org
1260812608S: Maintained
1260912609F: drivers/platform/x86/peaq-wmi.c
1261012610
12611+ PENSANDO ETHERNET DRIVERS
12612+ M: Shannon Nelson <snelson@pensando.io>
12613+ M: Pensando Drivers <drivers@pensando.io>
12614+ L: netdev@vger.kernel.org
12615+ S: Supported
12616+ F: Documentation/networking/device_drivers/pensando/ionic.rst
12617+ F: drivers/net/ethernet/pensando/
12618+
1261112619PER-CPU MEMORY ALLOCATOR
1261212620M: Dennis Zhou <dennis@kernel.org>
1261312621M: Tejun Heo <tj@kernel.org>
Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ config ETHOC
168168
169169source "drivers/net/ethernet/packetengines/Kconfig"
170170source "drivers/net/ethernet/pasemi/Kconfig"
171+ source "drivers/net/ethernet/pensando/Kconfig"
171172source "drivers/net/ethernet/qlogic/Kconfig"
172173source "drivers/net/ethernet/qualcomm/Kconfig"
173174source "drivers/net/ethernet/rdc/Kconfig"
Original file line number Diff line number Diff line change @@ -97,3 +97,4 @@ obj-$(CONFIG_NET_VENDOR_WIZNET) += wiznet/
9797obj-$(CONFIG_NET_VENDOR_XILINX) += xilinx/
9898obj-$(CONFIG_NET_VENDOR_XIRCOM) += xircom/
9999obj-$(CONFIG_NET_VENDOR_SYNOPSYS) += synopsys/
100+ obj-$(CONFIG_NET_VENDOR_PENSANDO) += pensando/
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: GPL-2.0
2+ # Copyright (c) 2019 Pensando Systems, Inc
3+ #
4+ # Pensando device configuration
5+ #
6+
7+ config NET_VENDOR_PENSANDO
8+ bool "Pensando devices"
9+ default y
10+ help
11+ If you have a network (Ethernet) card belonging to this class, say Y.
12+
13+ Note that the answer to this question doesn't directly affect the
14+ kernel: saying N will just cause the configurator to skip all
15+ the questions about Pensando cards. If you say Y, you will be asked
16+ for your specific card in the following questions.
17+
18+ if NET_VENDOR_PENSANDO
19+
20+ config IONIC
21+ tristate "Pensando Ethernet IONIC Support"
22+ depends on 64BIT && PCI
23+ help
24+ This enables the support for the Pensando family of Ethernet
25+ adapters. More specific information on this driver can be
26+ found in
27+ <file:Documentation/networking/device_drivers/pensando/ionic.rst>.
28+
29+ To compile this driver as a module, choose M here. The module
30+ will be called ionic.
31+
32+ endif # NET_VENDOR_PENSANDO
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: GPL-2.0
2+ #
3+ # Makefile for the Pensando network device drivers.
4+ #
5+
6+ obj-$(CONFIG_IONIC) += ionic/
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: GPL-2.0
2+ # Copyright(c) 2017 - 2019 Pensando Systems, Inc
3+
4+ obj-$(CONFIG_IONIC) := ionic.o
5+
6+ ionic-y := ionic_main.o ionic_bus_pci.o ionic_devlink.o
Original file line number Diff line number Diff line change 1+ /* SPDX-License-Identifier: GPL-2.0 */
2+ /* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
3+
4+ #ifndef _IONIC_H_
5+ #define _IONIC_H_
6+
7+ #include "ionic_devlink.h"
8+
9+ #define IONIC_DRV_NAME "ionic"
10+ #define IONIC_DRV_DESCRIPTION "Pensando Ethernet NIC Driver"
11+ #define IONIC_DRV_VERSION "0.15.0-k"
12+
13+ #define PCI_VENDOR_ID_PENSANDO 0x1dd8
14+
15+ #define PCI_DEVICE_ID_PENSANDO_IONIC_ETH_PF 0x1002
16+ #define PCI_DEVICE_ID_PENSANDO_IONIC_ETH_VF 0x1003
17+
18+ #define IONIC_SUBDEV_ID_NAPLES_25 0x4000
19+ #define IONIC_SUBDEV_ID_NAPLES_100_4 0x4001
20+ #define IONIC_SUBDEV_ID_NAPLES_100_8 0x4002
21+
22+ struct ionic {
23+ struct pci_dev * pdev ;
24+ struct device * dev ;
25+ };
26+
27+ #endif /* _IONIC_H_ */
Original file line number Diff line number Diff line change 1+ /* SPDX-License-Identifier: GPL-2.0 */
2+ /* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
3+
4+ #ifndef _IONIC_BUS_H_
5+ #define _IONIC_BUS_H_
6+
7+ int ionic_bus_register_driver (void );
8+ void ionic_bus_unregister_driver (void );
9+
10+ #endif /* _IONIC_BUS_H_ */
You can’t perform that action at this time.
0 commit comments