Re: [dpdk-dev] [PATCH v2 10/52] net/ice/base: fix variable type for ACL

2020-06-11 Thread Ferruh Yigit
On 6/9/2020 12:59 PM, Qi Zhang wrote: > The commit ef92cee94cdb ("ice-shared: Fix remaining minor casting > issues") changed the idx variable within ice_acl_add_entry() from > a u16 to a u8. Where is this commit, I guess it is not in the DPDK repo, and the DPDK repo one is already listed in the '

[dpdk-dev] [PATCH v2 10/52] net/ice/base: fix variable type for ACL

2020-06-09 Thread Qi Zhang
The commit ef92cee94cdb ("ice-shared: Fix remaining minor casting issues") changed the idx variable within ice_acl_add_entry() from a u16 to a u8. This causes the code to truncate the values greater than 255 to 255 or less when calling ice_aq_program_acl_entry() resulting in the wrong TCAM index be