On Tue, 3 Nov 2020 11:18:27 -0800 Saeed Mahameed wrote:
> From: Jianbo Liu <[email protected]>
> 
> Miss path handling of tc multi chain filters (i.e. filters that are
> defined on chain > 0) requires the hardware to communicate to the
> driver the last chain that was processed. This is possible only when
> the hardware is capable of performing the combination of modify header
> and forward to table actions. Currently, if the hardware is missing
> this capability then the driver only offloads rules that are defined
> on tc chain 0 prio 1. However, this restriction can be relaxed because
> packets that miss from chain 0 are processed through all the
> priorities by tc software.
> 
> Allow the offload of all the supported priorities for chain 0 even
> when the hardware is not capable to perform modify header and goto
> table actions.
> 
> Fixes: 0b3a8b6b5340 ("net/mlx5: E-Switch: Fix using fwd and modify when 
> firmware doesn't support it")
> Signed-off-by: Jianbo Liu <[email protected]>
> Reviewed-by: Oz Shlomo <[email protected]>
> Reviewed-by: Oz Shlomo <[email protected]>
> Reviewed-by: Roi Dayan <[email protected]>
> Signed-off-by: Saeed Mahameed <[email protected]>

Sounds like a feature TBH.

Reply via email to