ethdev: make tables const
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 9 Apr 2015 21:29:41 +0000 (14:29 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 20 Apr 2015 17:29:46 +0000 (19:29 +0200)
commit8ca5ce4b7b22995c964493a4f32efe800950d3ba
tree26e8488c6b3082c38689c6f7cedf6aa1f7b8e068
parent9280512d5be4ff646a0c70b4bee3196638c28f7b
ethdev: make tables const

The statistics tables and null mac address should be immutable.
Fix up get_addr routines to accept const args.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_ether/rte_ethdev.c