net/vmxnet3: set the queue shared buffer at start
authorChas Williams <chas3@att.com>
Wed, 17 Jan 2018 15:04:56 +0000 (10:04 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000 (14:08 +0200)
commit3e5810f31d9cafe1a49a098372467c1eda3bf4aa
tree5743761184765972ee702d8259908a49f49e7258
parent08c028d08c42c1a4cd26aff1ed9c6438ddfd1206
net/vmxnet3: set the queue shared buffer at start

If a reconfiguration happens, queuedesc is reallocated.  Any queues that
are preserved point to the previous queuedesc since the queues are only
configured during queue setup.  Delay configuration of the shared queue
pointers until device start when queuedesc is no longer changing.

Fixes: 8618d19b52b1 ("net/vmxnet3: reallocate shared memzone on re-config")
Cc: stable@dpdk.org
Signed-off-by: Chas Williams <chas3@att.com>
Acked-by: Shrikrishna Khare <skhare@vmware.com>
drivers/net/vmxnet3/vmxnet3_ethdev.c
drivers/net/vmxnet3/vmxnet3_rxtx.c