net/mlx5: add E-switch rule hardware offload flag check