[dpdk-dev] [PATCH 2/5] ixgbe: make register maps const

2015-03-10 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Saturday, March 7, 2015 10:23 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 2/5] ixgbe: make register maps const > > These are const data structur

[dpdk-dev] [PATCH 2/5] ixgbe: make register maps const

2015-03-09 Thread Bruce Richardson
On Fri, Mar 06, 2015 at 06:23:21PM -0800, Stephen Hemminger wrote: > 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 Acked-by: Bruce Richardson > --- > lib/librte_pmd_ixgbe/i

[dpdk-dev] [PATCH 2/5] ixgbe: make register maps const

2015-03-06 Thread Stephen Hemminger
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 --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixg