• S
    vmxnet3: introduce command to register memory region · 47443222
    Shrikrishna Khare 提交于
    In vmxnet3 version 3, the emulation added support for the vmxnet3 driver
    to communicate information about the memory regions the driver will use
    for rx/tx buffers. The driver can also indicate which rx/tx queue the
    memory region is applicable for. If this information is communicated
    to the emulation, the emulation will always keep these memory regions
    mapped, thereby avoiding the mapping/unmapping overhead for every packet.
    
    Currently, Linux vmxnet3 driver does not leverage this capability. The
    feasibility of using this approach for the Linux vmxnet3 driver will be
    investigated independently and if possible, will be part of a different
    patch. This patch only exposes the emulation capability to the driver
    (vmxnet3_defs.h is identical between the driver and the emulation).
    Signed-off-by: NGuolin Yang <gyang@vmware.com>
    Signed-off-by: NShrikrishna Khare <skhare@vmware.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    47443222
vmxnet3_defs.h 20.8 KB