aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/pg
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-12-03 18:56:26 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-12-04 15:54:48 +0000
commit3f5594d89f583d12c0fcf586f2c3c7e2b008ea7d (patch)
tree034075745cdadd0ffa46da95ae8c7df6acd87229 /src/vnet/pg
parentdeb268febb3a06102f55259e57c54f0e02b1613e (diff)
gso: remove the interface count
Type: refactor Change-Id: I51405b9d09fb6fb03d08569369fdd4e11c647908 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/pg')
-rw-r--r--src/vnet/pg/stream.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/pg/stream.c b/src/vnet/pg/stream.c
index c4a57ea702d..f09e9a44398 100644
--- a/src/vnet/pg/stream.c
+++ b/src/vnet/pg/stream.c
@@ -217,7 +217,6 @@ pg_interface_add_or_get (pg_main_t * pg, uword if_id, u8 gso_enabled,
if (gso_enabled)
{
hi->flags |= VNET_HW_INTERFACE_FLAG_SUPPORTS_GSO;
- vnm->interface_main.gso_interface_count++;
pi->gso_enabled = 1;
pi->gso_size = gso_size;
}