Re: [PATCH 01/13] RDMA: Split the alloc_hw_stats() ops to port and device variants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/05/2021 19:47, Jason Gunthorpe wrote:
> +struct rdma_hw_stats *efa_alloc_hw_device_stats(struct ib_device *ibdev)
> +{
> +	/*
> +	 * It is probably a bug that efa reports its port stats as device
> +	 * stats
> +	 */

Hmm, yea this needs some work.
Most of these stats are in fact port stats, but others (admin commands,
keep-alive, allocation/creation error) are device stats.

You can split them if you wish, or I can send a followup patch.

Thanks,
Tested-by: Gal Pressman <galpress@xxxxxxxxxx>



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux