Re: [PATCH rdma-next V2] IB/mlx5: Support congestion related counters

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

 



On Sun, 2017-04-16 at 07:29 +0300, Leon Romanovsky wrote:
> From: Parav Pandit <parav@xxxxxxxxxxxx>
> 
> This patch adds support to query the congestion related hardware
> counters
> through new command and links them with other hw counters being
> available
> in hw_counters sysfs location.
> 
> In order to reuse existing infrastructure it renames related
> q_counter
> data structures to more generic counters to reflect q_counters and
> congestion counters and maybe some other counters in the future.
> 
> New hardware counters:
>  * rp_cnp_handled - CNP packets handled by the reaction point
>  * rp_cnp_ignored - CNP packets ignored by the reaction point
>  * np_cnp_sent    - CNP packets sent by notification point to respond
> to
>                      CE marked RoCE packets
>  * np_ecn_marked_roce_packets - CE marked RoCE packets received by
>                                 notification point
> 
> It also avoids returning ENOSYS which is specific for invalid
> system call and produces the following checkpatch.pl warning.
> 
> WARNING: ENOSYS means 'invalid syscall nr' and nothing else
> +               return -ENOSYS;
> 
> Signed-off-by: Parav Pandit <parav@xxxxxxxxxxxx>
> Reviewed-by: Eli Cohen <eli@xxxxxxxxxxxx>
> Reviewed-by: Daniel Jurgens <danielj@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx>

Thanks, applied.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
   
Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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