Introduce default rx mode for device drivers 49/7249/5
authorDamjan Marion <damarion@cisco.com>
Wed, 21 Jun 2017 12:29:44 +0000 (14:29 +0200)
committerOle Trøan <otroan@employees.org>
Wed, 21 Jun 2017 20:48:08 +0000 (20:48 +0000)
commit4e53a0d0f01c8c81842d1f50fb5cf0d26e0c1713
treed9ea3553be8d0a2a6c75d2cc39db0cd77e159830
parentc817daa74ae52cd0bb64b14050b52bc6b3308698
Introduce default rx mode for device drivers

If interface is down and queues are not configured then we are not able
to change rx-mode. This change introducess default mode which is stored
per interface and applied if driver wants.

Change-Id: I70149c21c1530eafc148d5e4aa03fbee53dec62f
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/plugins/memif/memif.c
src/vnet/devices/devices.c
src/vnet/interface.c
src/vnet/interface.h
src/vnet/interface_cli.c