[dpdk-dev] [PATCH] net/mlx5: fix default mark copy flow

Matan Azrad matan at mellanox.com
Mon Jan 6 15:55:07 CET 2020



From: Viacheslav Ovsiienko
> In extensive metadata mode the MARK copy table is engaged, if the
> application creates the flow with zero MARK ID action:
> 
> flow create 1 ingress pattern eth / ... / end actions mark id 0 / .. end
> 
> And then destroys that, the traffic to the port stops. This happens due to
> default flow for the copy table has the zero ID and is removed with the
> application rule. The patch extends internal ID variable to 64 bits and provide
> the UINT64_MAX ID for the copy table default rule.
> 
> Fixes: dd3c774f6ffb ("net/mlx5: add metadata register copy table")
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
Acked-by: Matan Azrad <matan at mellanox.com>


More information about the dev mailing list