Re: [PATCH v2 05/17] octeontx2-af: Config NPC KPU engines with parser profile

2018-10-26 Thread Arnd Bergmann
On 10/22/18, sunil.kovv...@gmail.com wrote: > From: Sunil Goutham > > +struct npc_kpu_action0 { > +#if defined(__BIG_ENDIAN_BITFIELD) > + u64 rsvd_63_57 : 7; > + u64 byp_count : 3; > + u64 capture_ena: 1; > + u64 parse_done : 1; > + u64 next_state : 8; >

[PATCH v2 05/17] octeontx2-af: Config NPC KPU engines with parser profile

2018-10-22 Thread sunil . kovvuri
From: Sunil Goutham This patch configures all 16 KPUs and iKPU (pkinds) with the KPU parser profile defined in npc_profile.h. Each KPU engine has a 128 entry CAM, only CAM entries which are listed in the profile are enabled and rest are left disabled. Also - Memory is allocated for pkind's