[PATCH 0/2] fix variable type in pattern parsing for raw flow

Xu, Ting ting.xu at intel.com
Thu Jun 15 07:23:50 CEST 2023


> -----Original Message-----
> From: Guo, Junfeng <junfeng.guo at intel.com>
> Sent: Thursday, June 15, 2023 1:17 PM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Yang, Qiming
> <qiming.yang at intel.com>
> Cc: dev at dpdk.org; stable at dpdk.org; Xu, Ting <ting.xu at intel.com>; Guo,
> Junfeng <junfeng.guo at intel.com>
> Subject: [PATCH 0/2] fix variable type in pattern parsing for raw flow
> 
> In current pattern parsing function for protocol agnostic flow offloading (raw
> flow), some of the variables of packet length are defined as uint8_t, which
> are too small for some large-size packets, such as srv6 (Segment Routing over
> IPv6 dataplane) type. Change the type to uint16_t.
> 
> For example, the length of below srv6 paket is 268 B, larger than the max of
> uint8_t type (i.e., 256).
> "mac()/ipv6(nextheader=43)/ipv6srh(headerextlength=4,nextheader=41)\
> 		/ipv6(dst=2001:2:0:0:0:0:0:2)"
> 
> Junfeng Guo (2):
>   net/ice: fix variable type in pattern parsing for raw flow
>   net/iavf: fix variable type in pattern parsing for raw flow
> 
>  drivers/net/iavf/iavf_hash.c      | 2 +-
>  drivers/net/ice/ice_fdir_filter.c | 2 +-
>  drivers/net/ice/ice_hash.c        | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> --
> 2.25.1

Acked-by: Ting Xu <ting.xu at intel.com>



More information about the dev mailing list