Commit cb7dd712 authored by Shinas Rasheed's avatar Shinas Rasheed Committed by David S. Miller
Browse files

octeon_ep_vf: Add driver framework and device initialization



Add driver framework and device setup and initialization for Octeon
PCI Endpoint NIC VF.

Add implementation to load module, initialize, register network device,
cleanup and unload module.

Signed-off-by: default avatarShinas Rasheed <srasheed@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 970cb1ce
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ Contents:
   intel/ice
   marvell/octeontx2
   marvell/octeon_ep
   marvell/octeon_ep_vf
   mellanox/mlx5/index
   microsoft/netvsc
   neterion/s2io
+24 −0
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0+

=======================================================================
Linux kernel networking driver for Marvell's Octeon PCI Endpoint NIC VF
=======================================================================

Network driver for Marvell's Octeon PCI EndPoint NIC VF.
Copyright (c) 2020 Marvell International Ltd.

Overview
========
This driver implements networking functionality of Marvell's Octeon PCI
EndPoint NIC VF.

Supported Devices
=================
Currently, this driver support following devices:
 * Network controller: Cavium, Inc. Device b203
 * Network controller: Cavium, Inc. Device b403
 * Network controller: Cavium, Inc. Device b103
 * Network controller: Cavium, Inc. Device b903
 * Network controller: Cavium, Inc. Device ba03
 * Network controller: Cavium, Inc. Device bc03
 * Network controller: Cavium, Inc. Device bd03
+1 −0
Original line number Diff line number Diff line
@@ -180,6 +180,7 @@ config SKY2_DEBUG

source "drivers/net/ethernet/marvell/octeontx2/Kconfig"
source "drivers/net/ethernet/marvell/octeon_ep/Kconfig"
source "drivers/net/ethernet/marvell/octeon_ep_vf/Kconfig"
source "drivers/net/ethernet/marvell/prestera/Kconfig"

endif # NET_VENDOR_MARVELL
+1 −0
Original line number Diff line number Diff line
@@ -12,5 +12,6 @@ obj-$(CONFIG_PXA168_ETH) += pxa168_eth.o
obj-$(CONFIG_SKGE) += skge.o
obj-$(CONFIG_SKY2) += sky2.o
obj-y		+= octeon_ep/
obj-y		+= octeon_ep_vf/
obj-y		+= octeontx2/
obj-y		+= prestera/
+19 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
#
# Marvell's Octeon PCI Endpoint NIC VF Driver Configuration
#

config OCTEON_EP_VF
	tristate "Marvell Octeon PCI Endpoint NIC VF Driver"
	depends on 64BIT
	depends on PCI
	help
	  This driver supports networking functionality of Marvell's
	  Octeon PCI Endpoint NIC VF.

	  To know the list of devices supported by this driver, refer
	  documentation in
	  <file:Documentation/networking/device_drivers/ethernet/marvell/octeon_ep_vf.rst>.

	  To compile this drivers as a module, choose M here. Name of the
	  module is octeon_ep_vf.
Loading