Hi, > -----Original Message----- > From: Raslan Darawsheh <[email protected]> > Sent: Thursday, July 16, 2020 3:15 PM > To: [email protected] > Cc: Dekel Peled <[email protected]>; [email protected] > Subject: [PATCH] net/mlx5: fix rte flow items size calculation > > flow_dv_get_item_len returns the actual header size of > an rte_flow item. > > Changing any of the structs for rte_flow items by adding > or removing some extra fields will break this function. > > This fixes the behavior by retrning the actual header size > of each item. > > Fixes: 34d41b7aa3bf ("net/mlx5: add VXLAN encap action to Direct Verbs") > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Raslan Darawsheh <[email protected]> > --- > drivers/net/mlx5/mlx5_flow_dv.c | 31 ++++++++++++++----------------- > 1 file changed, 14 insertions(+), 17 deletions(-) >
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

