summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/af_packet/af_packet.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-03-25 00:33:27 +0000
committerFlorin Coras <florin.coras@gmail.com>2022-03-25 02:15:57 +0000
commit89d74bdee88a10f04831246217448abae81f6142 (patch)
tree334021aaa272557e89d0f992494ee276a7c74c19 /src/vnet/devices/af_packet/af_packet.c
parentf55183a245ad940fe44bdd405bfe52b72d86c429 (diff)
devices: fix high vector rate per dispatch
Type: fix Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: Ibd23648483b38696271154237e81081480bb16e0
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.c')
-rw-r--r--src/vnet/devices/af_packet/af_packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.c b/src/vnet/devices/af_packet/af_packet.c
index 4fb54637a67..5526d72e7a5 100644
--- a/src/vnet/devices/af_packet/af_packet.c
+++ b/src/vnet/devices/af_packet/af_packet.c
@@ -419,6 +419,7 @@ af_packet_create_if (af_packet_create_if_arg_t *arg)
apif->mode = arg->mode;
apif->hdrlen = hdrlen;
apif->is_cksum_gso_enabled = is_cksum_gso_enabled;
+ apif->ss.is_save = 0;
ret = af_packet_read_mtu (apif);
if (ret != 0)