On 6/17/19 1:31 PM, Andrew Rybchenko wrote:
From: Dilshod Urazov<[email protected]>

VLAN tag insertion should be in Tx prepare, not in Tx burst functions.
One of Tx prepare goals is to be able to do preparations in advance
(possibliy on different CPU core) and then transmit it fast.
Also Tx prepare can report that a packet does not pass Tx offloads
check. E.g. has no enough headroom to insert VLAN header.

Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation")
Cc:[email protected]

Signed-off-by: Dilshod Urazov<[email protected]>
Signed-off-by: Andrew Rybchenko<[email protected]>
---
v4:
  - add more details to commit log

  drivers/net/virtio/virtio_rxtx.c | 50 +++++++++-----------------------
  1 file changed, 14 insertions(+), 36 deletions(-)


Applied to dpdk-next-virtio/master.

Thanks,
Maxime

Reply via email to