ixgbe: remove static qualifier for thread safety
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 22 Oct 2014 10:55:44 +0000 (11:55 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 29 Oct 2014 23:33:33 +0000 (00:33 +0100)
commited49550a71aaf45b30872897673f037443b3ff61
tree6e5b78b3f1e6381d23f95d4b15365ab81e893b63
parentaec8283d47d4e4366b6a9096d27299c02e0a8b6d
ixgbe: remove static qualifier for thread safety

Remove the "static" prefix to the template mbuf variable in
ixgbe_rxq_vec_setup function. This will then allow different
threads to initialize different RX queues at the same time,
without one overwriting the other's data.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Changchun Ouyang <Changchun.ouyang@intel.com>
lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c