Commit a0008a36 authored by Mengyuan Lou's avatar Mengyuan Lou Committed by Jakub Kicinski
Browse files

net: wangxun: add ngbevf build



Add doc build infrastructure for ngbevf driver.
Implement the basic PCI driver loading and unloading interface.
Initialize the id_table which support 1G virtual
functions for Wangxun.

Signed-off-by: default avatarMengyuan Lou <mengyuanlou@net-swift.com>
Link: https://patch.msgid.link/20250704094923.652-10-mengyuanlou@net-swift.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent bf68010a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ Contents:
   wangxun/txgbe
   wangxun/txgbevf
   wangxun/ngbe
   wangxun/ngbevf

.. only::  subproject and html

+16 −0
Original line number Diff line number Diff line
.. SPDX-License-Identifier: GPL-2.0+

==================================================================
Linux Base Virtual Function Driver for Wangxun(R) Gigabit Ethernet
==================================================================

WangXun Gigabit Virtual Function Linux driver.
Copyright(c) 2015 - 2025 Beijing WangXun Technology Co., Ltd.

Support
=======
For general information, go to the website at:
https://www.net-swift.com

If you got any problem, contact Wangxun support team via nic-support@net-swift.com
and Cc: netdev.
+15 −0
Original line number Diff line number Diff line
@@ -82,4 +82,19 @@ config TXGBEVF
	  To compile this driver as a module, choose M here. MSI-X interrupt
	  support is required for this driver to work correctly.

config NGBEVF
	tristate "Wangxun(R) GbE Virtual Function Ethernet support"
	depends on PCI_MSI
	select LIBWX
	help
	  This driver supports virtual functions for WX1860, WX1860AL.

	  This driver was formerly named ngbevf.

	  More specific information on configuring the driver is in
	  <file:Documentation/networking/device_drivers/ethernet/wangxun/ngbevf.rst>.

	  To compile this driver as a module, choose M here. MSI-X interrupt
	  support is required for this driver to work correctly.

endif # NET_VENDOR_WANGXUN
+1 −0
Original line number Diff line number Diff line
@@ -7,3 +7,4 @@ obj-$(CONFIG_LIBWX) += libwx/
obj-$(CONFIG_TXGBE) += txgbe/
obj-$(CONFIG_TXGBEVF) += txgbevf/
obj-$(CONFIG_NGBE) += ngbe/
obj-$(CONFIG_NGBEVF) += ngbevf/
+9 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2015 - 2025 Beijing WangXun Technology Co., Ltd.
#
# Makefile for the Wangxun(R) 1GbE virtual functions driver
#

obj-$(CONFIG_NGBE) += ngbevf.o

ngbevf-objs := ngbevf_main.o
Loading