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

!608 Net: ethernet: Support 3snic 3s9xx network card

Merge Pull Request from: @steven-song3 
 
The driver supports 3snic 3s9xx serial network cards (100GE (40GE
compatible)-3S930 and 25GE (10GE compatible)-3S910/3S920).

feature:
1. Support single-root I/O virtualization (SR-IOV)
2. Support virtual machine multi queue (VMMQ)
3. Support receive side scaling (RSS)
4. Support physical function (PF) passthrough VMs
5. Support the PF promiscuous mode,unicast or multicast MAC filtering, and
all multicast mode
6. Support IPv4/IPv6, checksum offload,TCP Segmentation Offload (TSO), and
Large Receive Offload (LRO)
7. Support in-band one-click logs collection
8. Support loopback tests
9. Support port location indicators
==================================
Test:
compille: pass
insmod/rmmod: pass
iperf: Pass 
 
Link:https://gitee.com/openeuler/kernel/pulls/608

 

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 d451deca ebbca448
Loading
Loading
Loading
Loading
+67 −0
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0

====================================================
Linux Kernel Driver for 3SNIC Intelligent NIC family
====================================================

Contents
========

- `Overview`_
- `Supported PCI vendor ID/device IDs`_
- `Supported features`_
- `Product specification`_
- `Support`_

Overview:
=========
SSSNIC is a network interface card that can meet the demand of a range
of application scenarios,such as the Data Center Area,cloud computing
and Financial industry,etc.

The construction of SSSNIC card facilities mainly depends on servers and
switches. 3S910, 920 and 930 are PCIe standard cards adapted to servers,
which provide extended external business interfaces for servers.

The driver supports a range of link-speed devices (100GE (40GE
compatible) and 25GE (10GE compatible)).A negotiated and extendable
feature set also supported.

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

1f3f:9020 - SSSNIC PF

Supported features:
===================

1. Support single-root I/O virtualization (SR-IOV)
2. Support virtual machine multi queue (VMMQ)
3. Support receive side scaling (RSS)
4. Support physical function (PF) passthrough VMs
5. Support the PF promiscuous mode,unicast or multicast MAC filtering, and
all multicast mode
6. Support IPv4/IPv6, checksum offload,TCP Segmentation Offload (TSO), and
Large Receive Offload (LRO)
7. Support in-band one-click logs collection
8. Support loopback tests
9. Support port location indicators

Product specification
=====================

        ===================     ======= =============================	===============================================
        PCI ID (pci.ids)        OEM     Product							PCIe port
        ===================     ======= =============================	===============================================
        1F3F:9020               3SNIC 	3S910(2 x 25GE SFP28 ports)		PCIe Gen3 x8(compatible with Gen2/ Gen1)
        1F3F:9020               3SNIC 	3S920(4 x 25GE SFP28 ports)		PCIe Gen4 x16, compatible with Gen3/ Gen2/ Gen1
        1F3F:9020               3SNIC 	3S930(2 x 100GE QSFP28 ports)	PCIe Gen4 x16, compatible with Gen3/ Gen2/ Gen1
        ===================     ======= =============================	===============================================


Support
=======

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
https://www.3snic.com.
+6 −0
Original line number Diff line number Diff line
@@ -16684,6 +16684,12 @@ S: Maintained
F:	Documentation/scsi/sssraid.rst
F:	drivers/scsi/sssraid/
SSSNIC Ethernet Controller DRIVERS
M:	Steven Song <steven.song@3snic.com>
S:	Maintained
F:	Documentation/networking/device_drivers/ethernet/3snic/sssnic/sssnic.rst
F:	drivers/net/ethernet/3snic/sssnic
ST LSM6DSx IMU IIO DRIVER
M:	Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
L:	linux-iio@vger.kernel.org
+3 −0
Original line number Diff line number Diff line
@@ -2670,6 +2670,9 @@ CONFIG_VSOCKMON=m
CONFIG_ETHERNET=y
CONFIG_MDIO=m
# CONFIG_NET_VENDOR_3COM is not set
CONFIG_NET_VENDOR_3SNIC=y
CONFIG_SSSNIC=m
CONFIG_SSSNIC_HW=m
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
CONFIG_NET_VENDOR_ALACRITECH=y
+3 −0
Original line number Diff line number Diff line
@@ -2641,6 +2641,9 @@ CONFIG_VSOCKMON=m
CONFIG_ETHERNET=y
CONFIG_MDIO=m
# CONFIG_NET_VENDOR_3COM is not set
CONFIG_NET_VENDOR_3SNIC=y
CONFIG_SSSNIC=m
CONFIG_SSSNIC_HW=m
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
# CONFIG_NET_VENDOR_ALACRITECH is not set
+22 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
#
# 3SNIC network device configuration
#

config NET_VENDOR_3SNIC
	bool "3SNIC smart NIC devices"
	default y
	depends on PCI
	help
	  If you have a network (Ethernet) card belonging to this class, say Y.

	  Note that the answer to this question doesn't directly affect the
	  kernel: saying N will just cause the configurator to skip all
	  the questions about 3SNIC cards. If you say Y, you will be
	  asked for your specific card in the following questions.

if NET_VENDOR_3SNIC

source "drivers/net/ethernet/3snic/sssnic/Kconfig"

endif # NET_VENDOR_3SNIC
Loading