The following three patches provide support for IBoE counters for mlx4
devices. The counters can be read through sysfs files in the same
manner it is done of IB link layer IB ports. The patches provide the
following functionality:

1. Extend the device capability flags from 32 bit to 64 bit variable
for easier manipulation of the flags.

2. Provide a generic API at the mlx4 layer for allocating general
purpose counters sets. ConnectX has a number of counter sets that you
can allocate and assign to QPs so that traffic that goes through that
QP is counted.

3. For IBoE ports, make use of the generic counters to count traffic
that goes through IPoE ports. We allocate one set per port and assign
this set to all QPs of the port.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to