net/null: fix multi-process Rx and Tx
authorYasufumi Ogawa <yasufum.o@gmail.com>
Sun, 29 Sep 2019 02:41:41 +0000 (11:41 +0900)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:58 +0000 (15:00 +0200)
commitbccc77a6a74a6c30e68f88b2ef0d0099c45898c8
treea5d3c1eada54f605ccc9554008d5e6d569948098
parent1286c035673419dac254f596f51a33efdc19d908
net/null: fix multi-process Rx and Tx

Packet processing in secondary process cannot work because rx_pkt_burst
and tx_pkt_burst in eth_dev are not initialized while probing device.
This patch is to the initialization.

Fixes: ee27edbe0c10 ("drivers/net: share vdev data to secondary process")
Cc: stable@dpdk.org
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/null/rte_eth_null.c