mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
Add a front end VDPA driver that registers in the VDPA bus and provides networking to a guest. The VDPA driver creates the necessary resources on the VF it is driving such that data path will be offloaded. Notifications are being communicated through the driver. Currently, only VFs are supported. In subsequent patches we will have devlink support to control which VF is used for VDPA and which function is used for regular networking. Reviewed-by: Parav Pandit <[email protected]> Signed-off-by: Eli Cohen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]>
5 lines
191 B
Makefile
5 lines
191 B
Makefile
subdir-ccflags-y += -I$(srctree)/drivers/vdpa/mlx5/core
|
|
|
|
obj-$(CONFIG_MLX5_VDPA_NET) += mlx5_vdpa.o
|
|
mlx5_vdpa-$(CONFIG_MLX5_VDPA_NET) += net/main.o net/mlx5_vnet.o core/resources.o core/mr.o
|