diff options
author | Stanislav Zaikin <zstaseg@gmail.com> | 2022-05-05 12:04:39 +0200 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2023-06-27 08:18:10 +0000 |
commit | 5fe1cf80cad75a2e08450303410fb484cdc708ad (patch) | |
tree | 1c742252b4185f32f03959831c78731b7994ffa0 /src/vnet/devices/virtio/virtio_api.c | |
parent | d96859f09b8fa9bb458d62e43b962f240744b5c3 (diff) |
virtio: use fast-path for ethernet-input if possible
If a frame should be sent to 'ethernet-input' set the
ETH_INPUT_FRAME_F_SINGLE_SW_IF_IDX flag. It will force 'ethernet-input'
to use a fast-path for such frames.
This patch also aligns the behaviour with other input nodes.
Type: improvement
Change-Id: Icff0fa31204d5304a2ea0a4f4e7bc418dedbfe32
Signed-off-by: Stanislav Zaikin <zstaseg@gmail.com>
Diffstat (limited to 'src/vnet/devices/virtio/virtio_api.c')
0 files changed, 0 insertions, 0 deletions