Skip to content

fix variable type in pattern parsing for raw flow

Junfeng Guo dpdk-dev 1 version Applied

Status from this message: Applied to dpdk-next-net-intel.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2net/ice: fix variable type in pattern parsing for raw flowdrivers/net/ice/ice_fdir_filter.c drivers/net/ice/ice_hash.c+2 -20 replies
2/2net/iavf: fix variable type in pattern parsing for raw flowdrivers/net/iavf/iavf_hash.c+1 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTing XuQi Zhang
SeriesA-b A-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.25.1