[dpdk-dev] [PATCH v3] vhost: add header check in dequeue offload

David Marchand david.marchand at redhat.com
Mon Apr 12 11:33:10 CEST 2021


On Mon, Apr 12, 2021 at 11:09 AM Wang, Xiao W <xiao.w.wang at intel.com> wrote:
> Considering the major consumer of vhost API is virtual switch/router, I tend to keep the current implementation and apply this fix patch.
> Any comments?

This is just a hack that bypasses the vswitch control.

It happens to work when the vswitch does nothing.
If anything is done, like popping a vlan header, the vswitch needs to
update l3 offset.


-- 
David Marchand



More information about the dev mailing list