@@ -418,7 +418,7 @@ enum NPC_ERRLEV_E {
418
418
NPC_ERRLEV_ENUM_LAST = 16 ,
419
419
};
420
420
421
- static struct npc_kpu_profile_action ikpu_action_entries [] = {
421
+ static const struct npc_kpu_profile_action ikpu_action_entries [] = {
422
422
{
423
423
NPC_ERRLEV_RE , NPC_EC_NOERR ,
424
424
12 , 16 , 20 , 0 , 0 ,
@@ -997,7 +997,7 @@ static struct npc_kpu_profile_action ikpu_action_entries[] = {
997
997
},
998
998
};
999
999
1000
- static struct npc_kpu_profile_cam kpu1_cam_entries [] = {
1000
+ static const struct npc_kpu_profile_cam kpu1_cam_entries [] = {
1001
1001
{
1002
1002
NPC_S_KPU1_ETHER , 0xff ,
1003
1003
NPC_ETYPE_IP ,
@@ -1666,7 +1666,7 @@ static struct npc_kpu_profile_cam kpu1_cam_entries[] = {
1666
1666
},
1667
1667
};
1668
1668
1669
- static struct npc_kpu_profile_cam kpu2_cam_entries [] = {
1669
+ static const struct npc_kpu_profile_cam kpu2_cam_entries [] = {
1670
1670
{
1671
1671
NPC_S_KPU2_CTAG , 0xff ,
1672
1672
NPC_ETYPE_IP ,
@@ -2794,7 +2794,7 @@ static struct npc_kpu_profile_cam kpu2_cam_entries[] = {
2794
2794
},
2795
2795
};
2796
2796
2797
- static struct npc_kpu_profile_cam kpu3_cam_entries [] = {
2797
+ static const struct npc_kpu_profile_cam kpu3_cam_entries [] = {
2798
2798
{
2799
2799
NPC_S_KPU3_CTAG , 0xff ,
2800
2800
NPC_ETYPE_IP ,
@@ -3913,7 +3913,7 @@ static struct npc_kpu_profile_cam kpu3_cam_entries[] = {
3913
3913
},
3914
3914
};
3915
3915
3916
- static struct npc_kpu_profile_cam kpu4_cam_entries [] = {
3916
+ static const struct npc_kpu_profile_cam kpu4_cam_entries [] = {
3917
3917
{
3918
3918
NPC_S_KPU4_MPLS , 0xff ,
3919
3919
NPC_MPLS_S ,
@@ -4006,7 +4006,7 @@ static struct npc_kpu_profile_cam kpu4_cam_entries[] = {
4006
4006
},
4007
4007
};
4008
4008
4009
- static struct npc_kpu_profile_cam kpu5_cam_entries [] = {
4009
+ static const struct npc_kpu_profile_cam kpu5_cam_entries [] = {
4010
4010
{
4011
4011
NPC_S_KPU5_IP , 0xff ,
4012
4012
0x0000 ,
@@ -4576,7 +4576,7 @@ static struct npc_kpu_profile_cam kpu5_cam_entries[] = {
4576
4576
},
4577
4577
};
4578
4578
4579
- static struct npc_kpu_profile_cam kpu6_cam_entries [] = {
4579
+ static const struct npc_kpu_profile_cam kpu6_cam_entries [] = {
4580
4580
{
4581
4581
NPC_S_KPU6_IP6_EXT , 0xff ,
4582
4582
0x0000 ,
@@ -4921,7 +4921,7 @@ static struct npc_kpu_profile_cam kpu6_cam_entries[] = {
4921
4921
},
4922
4922
};
4923
4923
4924
- static struct npc_kpu_profile_cam kpu7_cam_entries [] = {
4924
+ static const struct npc_kpu_profile_cam kpu7_cam_entries [] = {
4925
4925
{
4926
4926
NPC_S_KPU7_IP6_EXT , 0xff ,
4927
4927
0x0000 ,
@@ -5140,7 +5140,7 @@ static struct npc_kpu_profile_cam kpu7_cam_entries[] = {
5140
5140
},
5141
5141
};
5142
5142
5143
- static struct npc_kpu_profile_cam kpu8_cam_entries [] = {
5143
+ static const struct npc_kpu_profile_cam kpu8_cam_entries [] = {
5144
5144
{
5145
5145
NPC_S_KPU8_TCP , 0xff ,
5146
5146
0x0000 ,
@@ -5872,7 +5872,7 @@ static struct npc_kpu_profile_cam kpu8_cam_entries[] = {
5872
5872
},
5873
5873
};
5874
5874
5875
- static struct npc_kpu_profile_cam kpu9_cam_entries [] = {
5875
+ static const struct npc_kpu_profile_cam kpu9_cam_entries [] = {
5876
5876
{
5877
5877
NPC_S_KPU9_TU_MPLS_IN_GRE , 0xff ,
5878
5878
NPC_MPLS_S ,
@@ -6334,7 +6334,7 @@ static struct npc_kpu_profile_cam kpu9_cam_entries[] = {
6334
6334
},
6335
6335
};
6336
6336
6337
- static struct npc_kpu_profile_cam kpu10_cam_entries [] = {
6337
+ static const struct npc_kpu_profile_cam kpu10_cam_entries [] = {
6338
6338
{
6339
6339
NPC_S_KPU10_TU_MPLS , 0xff ,
6340
6340
NPC_MPLS_S ,
@@ -6499,7 +6499,7 @@ static struct npc_kpu_profile_cam kpu10_cam_entries[] = {
6499
6499
},
6500
6500
};
6501
6501
6502
- static struct npc_kpu_profile_cam kpu11_cam_entries [] = {
6502
+ static const struct npc_kpu_profile_cam kpu11_cam_entries [] = {
6503
6503
{
6504
6504
NPC_S_KPU11_TU_ETHER , 0xff ,
6505
6505
NPC_ETYPE_IP ,
@@ -6808,7 +6808,7 @@ static struct npc_kpu_profile_cam kpu11_cam_entries[] = {
6808
6808
},
6809
6809
};
6810
6810
6811
- static struct npc_kpu_profile_cam kpu12_cam_entries [] = {
6811
+ static const struct npc_kpu_profile_cam kpu12_cam_entries [] = {
6812
6812
{
6813
6813
NPC_S_KPU12_TU_IP , 0xff ,
6814
6814
NPC_IPNH_TCP ,
@@ -7063,7 +7063,7 @@ static struct npc_kpu_profile_cam kpu12_cam_entries[] = {
7063
7063
},
7064
7064
};
7065
7065
7066
- static struct npc_kpu_profile_cam kpu13_cam_entries [] = {
7066
+ static const struct npc_kpu_profile_cam kpu13_cam_entries [] = {
7067
7067
{
7068
7068
NPC_S_KPU13_TU_IP6_EXT , 0xff ,
7069
7069
0x0000 ,
@@ -7075,7 +7075,7 @@ static struct npc_kpu_profile_cam kpu13_cam_entries[] = {
7075
7075
},
7076
7076
};
7077
7077
7078
- static struct npc_kpu_profile_cam kpu14_cam_entries [] = {
7078
+ static const struct npc_kpu_profile_cam kpu14_cam_entries [] = {
7079
7079
{
7080
7080
NPC_S_KPU14_TU_IP6_EXT , 0xff ,
7081
7081
0x0000 ,
@@ -7087,7 +7087,7 @@ static struct npc_kpu_profile_cam kpu14_cam_entries[] = {
7087
7087
},
7088
7088
};
7089
7089
7090
- static struct npc_kpu_profile_cam kpu15_cam_entries [] = {
7090
+ static const struct npc_kpu_profile_cam kpu15_cam_entries [] = {
7091
7091
{
7092
7092
NPC_S_KPU15_TU_TCP , 0xff ,
7093
7093
0x0000 ,
@@ -7288,7 +7288,7 @@ static struct npc_kpu_profile_cam kpu15_cam_entries[] = {
7288
7288
},
7289
7289
};
7290
7290
7291
- static struct npc_kpu_profile_cam kpu16_cam_entries [] = {
7291
+ static const struct npc_kpu_profile_cam kpu16_cam_entries [] = {
7292
7292
{
7293
7293
NPC_S_KPU16_TCP_DATA , 0xff ,
7294
7294
0x0000 ,
@@ -7345,7 +7345,7 @@ static struct npc_kpu_profile_cam kpu16_cam_entries[] = {
7345
7345
},
7346
7346
};
7347
7347
7348
- static struct npc_kpu_profile_action kpu1_action_entries [] = {
7348
+ static const struct npc_kpu_profile_action kpu1_action_entries [] = {
7349
7349
{
7350
7350
NPC_ERRLEV_RE , NPC_EC_NOERR ,
7351
7351
8 , 0 , 6 , 3 , 0 ,
@@ -7962,7 +7962,7 @@ static struct npc_kpu_profile_action kpu1_action_entries[] = {
7962
7962
},
7963
7963
};
7964
7964
7965
- static struct npc_kpu_profile_action kpu2_action_entries [] = {
7965
+ static const struct npc_kpu_profile_action kpu2_action_entries [] = {
7966
7966
{
7967
7967
NPC_ERRLEV_RE , NPC_EC_NOERR ,
7968
7968
8 , 0 , 6 , 2 , 0 ,
@@ -8965,7 +8965,7 @@ static struct npc_kpu_profile_action kpu2_action_entries[] = {
8965
8965
},
8966
8966
};
8967
8967
8968
- static struct npc_kpu_profile_action kpu3_action_entries [] = {
8968
+ static const struct npc_kpu_profile_action kpu3_action_entries [] = {
8969
8969
{
8970
8970
NPC_ERRLEV_RE , NPC_EC_NOERR ,
8971
8971
8 , 0 , 6 , 1 , 0 ,
@@ -9960,7 +9960,7 @@ static struct npc_kpu_profile_action kpu3_action_entries[] = {
9960
9960
},
9961
9961
};
9962
9962
9963
- static struct npc_kpu_profile_action kpu4_action_entries [] = {
9963
+ static const struct npc_kpu_profile_action kpu4_action_entries [] = {
9964
9964
{
9965
9965
NPC_ERRLEV_RE , NPC_EC_NOERR ,
9966
9966
0 , 0 , 0 , 0 , 0 ,
@@ -10043,7 +10043,7 @@ static struct npc_kpu_profile_action kpu4_action_entries[] = {
10043
10043
},
10044
10044
};
10045
10045
10046
- static struct npc_kpu_profile_action kpu5_action_entries [] = {
10046
+ static const struct npc_kpu_profile_action kpu5_action_entries [] = {
10047
10047
{
10048
10048
NPC_ERRLEV_LC , NPC_EC_IP_TTL_0 ,
10049
10049
0 , 0 , 0 , 0 , 1 ,
@@ -10550,7 +10550,7 @@ static struct npc_kpu_profile_action kpu5_action_entries[] = {
10550
10550
},
10551
10551
};
10552
10552
10553
- static struct npc_kpu_profile_action kpu6_action_entries [] = {
10553
+ static const struct npc_kpu_profile_action kpu6_action_entries [] = {
10554
10554
{
10555
10555
NPC_ERRLEV_RE , NPC_EC_NOERR ,
10556
10556
0 , 0 , 0 , 0 , 1 ,
@@ -10857,7 +10857,7 @@ static struct npc_kpu_profile_action kpu6_action_entries[] = {
10857
10857
},
10858
10858
};
10859
10859
10860
- static struct npc_kpu_profile_action kpu7_action_entries [] = {
10860
+ static const struct npc_kpu_profile_action kpu7_action_entries [] = {
10861
10861
{
10862
10862
NPC_ERRLEV_RE , NPC_EC_NOERR ,
10863
10863
0 , 0 , 0 , 0 , 1 ,
@@ -11052,7 +11052,7 @@ static struct npc_kpu_profile_action kpu7_action_entries[] = {
11052
11052
},
11053
11053
};
11054
11054
11055
- static struct npc_kpu_profile_action kpu8_action_entries [] = {
11055
+ static const struct npc_kpu_profile_action kpu8_action_entries [] = {
11056
11056
{
11057
11057
NPC_ERRLEV_LD , NPC_EC_TCP_FLAGS_FIN_ONLY ,
11058
11058
0 , 0 , 0 , 0 , 1 ,
@@ -11703,7 +11703,7 @@ static struct npc_kpu_profile_action kpu8_action_entries[] = {
11703
11703
},
11704
11704
};
11705
11705
11706
- static struct npc_kpu_profile_action kpu9_action_entries [] = {
11706
+ static const struct npc_kpu_profile_action kpu9_action_entries [] = {
11707
11707
{
11708
11708
NPC_ERRLEV_RE , NPC_EC_NOERR ,
11709
11709
0 , 0 , 0 , 0 , 0 ,
@@ -12114,7 +12114,7 @@ static struct npc_kpu_profile_action kpu9_action_entries[] = {
12114
12114
},
12115
12115
};
12116
12116
12117
- static struct npc_kpu_profile_action kpu10_action_entries [] = {
12117
+ static const struct npc_kpu_profile_action kpu10_action_entries [] = {
12118
12118
{
12119
12119
NPC_ERRLEV_RE , NPC_EC_NOERR ,
12120
12120
8 , 0 , 6 , 1 , 0 ,
@@ -12261,7 +12261,7 @@ static struct npc_kpu_profile_action kpu10_action_entries[] = {
12261
12261
},
12262
12262
};
12263
12263
12264
- static struct npc_kpu_profile_action kpu11_action_entries [] = {
12264
+ static const struct npc_kpu_profile_action kpu11_action_entries [] = {
12265
12265
{
12266
12266
NPC_ERRLEV_RE , NPC_EC_NOERR ,
12267
12267
8 , 0 , 6 , 0 , 0 ,
@@ -12536,7 +12536,7 @@ static struct npc_kpu_profile_action kpu11_action_entries[] = {
12536
12536
},
12537
12537
};
12538
12538
12539
- static struct npc_kpu_profile_action kpu12_action_entries [] = {
12539
+ static const struct npc_kpu_profile_action kpu12_action_entries [] = {
12540
12540
{
12541
12541
NPC_ERRLEV_RE , NPC_EC_NOERR ,
12542
12542
2 , 12 , 0 , 2 , 0 ,
@@ -12763,7 +12763,7 @@ static struct npc_kpu_profile_action kpu12_action_entries[] = {
12763
12763
},
12764
12764
};
12765
12765
12766
- static struct npc_kpu_profile_action kpu13_action_entries [] = {
12766
+ static const struct npc_kpu_profile_action kpu13_action_entries [] = {
12767
12767
{
12768
12768
NPC_ERRLEV_RE , NPC_EC_NOERR ,
12769
12769
0 , 0 , 0 , 0 , 1 ,
@@ -12774,7 +12774,7 @@ static struct npc_kpu_profile_action kpu13_action_entries[] = {
12774
12774
},
12775
12775
};
12776
12776
12777
- static struct npc_kpu_profile_action kpu14_action_entries [] = {
12777
+ static const struct npc_kpu_profile_action kpu14_action_entries [] = {
12778
12778
{
12779
12779
NPC_ERRLEV_RE , NPC_EC_NOERR ,
12780
12780
0 , 0 , 0 , 0 , 1 ,
@@ -12785,7 +12785,7 @@ static struct npc_kpu_profile_action kpu14_action_entries[] = {
12785
12785
},
12786
12786
};
12787
12787
12788
- static struct npc_kpu_profile_action kpu15_action_entries [] = {
12788
+ static const struct npc_kpu_profile_action kpu15_action_entries [] = {
12789
12789
{
12790
12790
NPC_ERRLEV_LG , NPC_EC_TCP_FLAGS_FIN_ONLY ,
12791
12791
0 , 0 , 0 , 0 , 1 ,
@@ -12964,7 +12964,7 @@ static struct npc_kpu_profile_action kpu15_action_entries[] = {
12964
12964
},
12965
12965
};
12966
12966
12967
- static struct npc_kpu_profile_action kpu16_action_entries [] = {
12967
+ static const struct npc_kpu_profile_action kpu16_action_entries [] = {
12968
12968
{
12969
12969
NPC_ERRLEV_RE , NPC_EC_NOERR ,
12970
12970
0 , 0 , 0 , 0 , 1 ,
@@ -13015,7 +13015,7 @@ static struct npc_kpu_profile_action kpu16_action_entries[] = {
13015
13015
},
13016
13016
};
13017
13017
13018
- static struct npc_kpu_profile npc_kpu_profiles [] = {
13018
+ static const struct npc_kpu_profile npc_kpu_profiles [] = {
13019
13019
{
13020
13020
ARRAY_SIZE (kpu1_cam_entries ),
13021
13021
ARRAY_SIZE (kpu1_action_entries ),
0 commit comments