octeontx2-pf: Do not reallocate all ntuple filters
If ntuple filters count is modified followed by unicast filters count using devlink then the ntuple count set by user is ignored and all the ntuple filters are being reallocated. Fix this by storing the ntuple count set by user. Without this patch, say if user tries to modify ntuple count as 8 followed by ucast filter count as 4 using devlink commands then ntuple count is being reverted to default value 16 i.e, not retaining user set value 8. Fixes: 39c46918 ("octeontx2-pf: Add ucast filter count configurability via devlink.") Signed-off-by:Subbaraya Sundeep <sbhatta@marvell.com> Reviewed-by:
Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/1747054357-5850-1-git-send-email-sbhatta@marvell.com Signed-off-by:
Paolo Abeni <pabeni@redhat.com>
Loading
Please sign in to comment