Unverified Commit ea365acb authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!570 Net: m1600: Support nebula-matrix m1600-series network card

Merge Pull Request from: @nebula_matrix 
 
Add m1600-driver for nebula-matrix m1600 series smart NIC.

M1600-NIC is a series of network interface card for the Data Center Area.
The driver supports link-speed 10GbE. M1600 devices support SR-IOV.This
driver is used for both of Physical Function(PF) and Virtual Function(VF).
M1600 devices support MSI-X interrupt vector for each Tx/Rx queue and
interrupt moderation. M1600 devices support also various offload features
such as checksum offload, Receive-Side Scaling(RSS)

 
 
Link:https://gitee.com/openeuler/kernel/pulls/570

 

Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Reviewed-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 37a96b69 01e6e207
Loading
Loading
Loading
Loading
+55 −0
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0

============================================================
Linux Base Driver for Nebula-matrix M1600-NIC family
============================================================

Overview:
=========
M1600-NIC is a series of network interface card for the Data Center Area.

The driver supports link-speed 10GbE.

M1600 devices support SR-IOV. This driver is used for both of Physical
Function(PF) and Virtual Function(VF).

M1600 devices support MSI-X interrupt vector for each Tx/Rx queue and
interrupt moderation.

M1600 devices support also various offload features such as checksum offload,
Receive-Side Scaling(RSS).


Supported PCI vendor ID/device IDs:
===================================

1f0f:1600 - M1600-Nic PF
1f0f:1601 - M1600-Nic VF

ethtool tool support
====================

Obtain basic information of the network card:
	ethtool -i enp130s0f0

Get network card ring parameters:
	ethtool -g enp130s0f0

Set the ring parameter:
	ethtool -G enp130s0f0 rx 1024 tx 1024

View statistics:
	ethtool -S enp130s0f0

Viewing Optical Module Information:
	ethtool -m enp130s0f0

Support
=======

For more information about M1600-NIC, please visit the following URL:
https://www.nebula-matrix.com/

If an issue is identified with the released source code on the supported kernel
with a supported adapter, email the specific information related to the issue to
open@nebula-matrix.com.
+2 −0
Original line number Diff line number Diff line
@@ -2893,6 +2893,8 @@ CONFIG_SMSC9420=m
# CONFIG_NET_VENDOR_VIA is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_NET_VENDOR_XILINX is not set
CONFIG_NET_VENDOR_NEBULA_MATRIX=y
CONFIG_M1600=m
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not set
+2 −0
Original line number Diff line number Diff line
@@ -2864,6 +2864,8 @@ CONFIG_SFC_MCDI_LOGGING=y
# CONFIG_NET_VENDOR_VIA is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_NET_VENDOR_XILINX is not set
CONFIG_NET_VENDOR_NEBULA_MATRIX=y
CONFIG_M1600=m
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not set
+1 −0
Original line number Diff line number Diff line
@@ -183,5 +183,6 @@ source "drivers/net/ethernet/via/Kconfig"
source "drivers/net/ethernet/wiznet/Kconfig"
source "drivers/net/ethernet/xilinx/Kconfig"
source "drivers/net/ethernet/xircom/Kconfig"
source "drivers/net/ethernet/nebula-matrix/Kconfig"

endif # ETHERNET
+1 −0
Original line number Diff line number Diff line
@@ -96,3 +96,4 @@ obj-$(CONFIG_NET_VENDOR_XIRCOM) += xircom/
obj-$(CONFIG_NET_VENDOR_SYNOPSYS) += synopsys/
obj-$(CONFIG_NET_VENDOR_PENSANDO) += pensando/
obj-$(CONFIG_NET_VENDOR_NETSWIFT) += netswift/
obj-$(CONFIG_NET_VENDOR_NEBULA_MATRIX) += nebula-matrix/
Loading