WSL2-Linux-Kernel/drivers/net/vmxnet3
Ronak Doshi de1da8bcf4 vmxnet3: Remove buf_info from device accessible structures
buf_info structures in RX & TX queues are private driver data that
do not need to be visible to the device.  Although there is physical
address and length in the queue descriptor that points to these
structures, their layout is not standardized, and device never looks
at them.

So lets allocate these structures in non-DMA-able memory, and fill
physical address as all-ones and length as zero in the queue
descriptor.

That should alleviate worries brought by Martin Radev in
https://lists.osuosl.org/pipermail/intel-wired-lan/Week-of-Mon-20210104/022829.html
that malicious vmxnet3 device could subvert SVM/TDX guarantees.

Signed-off-by: Petr Vandrovec <petr@vmware.com>
Signed-off-by: Ronak Doshi <doshir@vmware.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-29 21:07:03 -08:00
..
Makefile vmxnet3: prepare for version 4 changes 2020-05-28 16:26:48 -07:00
upt1_defs.h vmxnet3: add geneve and vxlan tunnel offload support 2020-05-28 16:26:48 -07:00
vmxnet3_defs.h vmxnet3: add geneve and vxlan tunnel offload support 2020-05-28 16:26:48 -07:00
vmxnet3_drv.c vmxnet3: Remove buf_info from device accessible structures 2021-01-29 21:07:03 -08:00
vmxnet3_ethtool.c vmxnet3: fix cksum offload issues for non-udp tunnels 2020-09-25 16:41:40 -07:00
vmxnet3_int.h vmxnet3: Remove buf_info from device accessible structures 2021-01-29 21:07:03 -08:00