[dpdk-dev] [PATCH 04/21] net/atlantic: hw_atl register declarations
Stephen Hemminger
stephen at networkplumber.org
Tue Sep 11 19:04:01 CEST 2018
On Fri, 7 Sep 2018 18:21:42 +0300
Igor Russkikh <igor.russkikh at aquantia.com> wrote:
> +/* register address for bitfield imr_rx{r}_en */
> + static u32 itr_imr_rxren_adr[32] = {
> + 0x00002100U, 0x00002100U, 0x00002104U, 0x00002104U,
> + 0x00002108U, 0x00002108U, 0x0000210CU, 0x0000210CU,
> + 0x00002110U, 0x00002110U, 0x00002114U, 0x00002114U,
> + 0x00002118U, 0x00002118U, 0x0000211CU, 0x0000211CU,
> + 0x00002120U, 0x00002120U, 0x00002124U, 0x00002124U,
> + 0x00002128U, 0x00002128U, 0x0000212CU, 0x0000212CU,
> + 0x00002130U, 0x00002130U, 0x00002134U, 0x00002134U,
> + 0x00002138U, 0x00002138U, 0x0000213CU, 0x0000213CU
> + };
> +
Don't you want to make these data tables const?
More information about the dev
mailing list