summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-05-03 04:13:31 -0700
committerLeon Romanovsky <leon@kernel.org>2024-05-05 17:10:38 +0300
commit5194947e6a3966d50095c14c69edbec90ad191f9 (patch)
tree188568461e071cd2a6bac988850fc930ff07d785 /samples
parent8f3b7103b41314d26e2653e9ccca29480123a204 (diff)
IB/hfi1: Do not use custom stat allocator
With commit 34d21de99cea9 ("net: Move {l,t,d}stats allocation to core and convert veth & vrf"), stats allocation could be done on net core instead of in this driver. With this new approach, the driver doesn't have to bother with error handling (allocation failure checking, making sure free happens in the right spot, etc). This is core responsibility now. Remove the allocation in the hfi1 driver and leverage the network core allocation instead. Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://lore.kernel.org/r/20240503111333.552360-1-leitao@debian.org Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions