ixgbe: make register maps const
authorStephen Hemminger <stephen@networkplumber.org>
Sat, 7 Mar 2015 02:23:21 +0000 (18:23 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 10 Mar 2015 14:12:15 +0000 (15:12 +0100)
commit19731cfdf3688283acf51af4a3cfbe4cbd2b1fa0
tree7d6058dcaaacb4b8c4f61db56db2f96bfbbfcdc6
parent3fd612a9076fe8e94e47d5a00a1b3da82f381ce5
ixgbe: make register maps const

These are const data structures, just put them in txt segment
rather than having compiler emit code to set them up on the stack.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
lib/librte_pmd_ixgbe/ixgbe_rxtx.c