examples/qos_sched: fix uninitialized config
authorJasvinder Singh <jasvinder.singh@intel.com>
Tue, 24 Oct 2017 09:09:57 +0000 (10:09 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Oct 2017 21:58:14 +0000 (23:58 +0200)
commit96b5077cfaf95cd38dc7644e39036ad94e6435c8
tree6786d1844b4e277904071c1d705240841b43c97e
parent4c897d23d06f5476593bf376c309b3aa358d71e7
examples/qos_sched: fix uninitialized config

Fix problem with uninitialized rx/tx deferred_start flags of the struct
rte_eth_rxconf/txconf by initializing with 0 value (deferred start of
the rx/tx queues is turned off). This setting allows device rx/tx
queues to start with rte_eth_dev_start().

Coverity issue: 194999, 195009
Fixes: de3cfa2c9823 ("sched: initial import")
Cc: stable@dpdk.org
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
examples/qos_sched/init.c