Re: [PATCH net] octeontx2-vf: set TC flower flag on MCAM entry allocation

From: Simon Horman

Date: Wed Jul 22 2026 - 10:14:36 EST


On Wed, Jul 15, 2026 at 10:50:07AM +0530, Ratheesh Kannoth wrote:
> From: Suman Ghosh <sumang@xxxxxxxxxxx>
>
> When MCAM entries are allocated for a VF netdev via the devlink
> mcam_count parameter, only OTX2_FLAG_NTUPLE_SUPPORT was set. That
> enabled ethtool ntuple filters but not tc flower offload. Also set
> OTX2_FLAG_TC_FLOWER_SUPPORT when entries are successfully allocated.
>
> Fixes: 2da489432747 ("octeontx2-pf: devlink params support to set mcam entry count")
> Signed-off-by: Suman Ghosh <sumang@xxxxxxxxxxx>
> Signed-off-by: Ratheesh Kannoth <rkannoth@xxxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>