>+MAD_EXPORT uint8_t *port_performance_xmt_sl_query(void *rcvbuf, ib_portid_t * >dest, >+ int port, unsigned timeout); >+MAD_EXPORT uint8_t *port_performance_rcv_sl_query(void *rcvbuf, ib_portid_t * >dest, >+ int port, unsigned timeout); >+MAD_EXPORT uint8_t *port_performance_xmt_sl_reset(void *rcvbuf, ib_portid_t * >dest, >+ int port, unsigned mask, >+ unsigned timeout); >+MAD_EXPORT uint8_t *port_performance_rcv_sl_reset(void *rcvbuf, ib_portid_t * >dest, >+ int port, unsigned mask, >+ unsigned timeout); > MAD_EXPORT uint8_t *port_samples_control_query(void *rcvbuf, ib_portid_t * >dest, > int port, unsigned timeout); > MAD_EXPORT uint8_t *port_samples_result_query(void *rcvbuf, ib_portid_t * >dest,
{snip} >+uint8_t *port_performance_xmt_sl_query(void *rcvbuf, ib_portid_t * dest, int >port, >+ unsigned timeout) >+{ >+ return pma_query(rcvbuf, dest, port, timeout, >IB_GSI_PORT_XMIT_DATA_SL); >+} >+ >+uint8_t *port_performance_rcv_sl_query(void *rcvbuf, ib_portid_t * dest, int >port, >+ unsigned timeout) >+{ >+ return pma_query(rcvbuf, dest, port, timeout, IB_GSI_PORT_RCV_DATA_SL); >+} >+ > uint8_t *port_performance_ext_reset_via(void *rcvbuf, ib_portid_t * dest, > int port, unsigned mask, > unsigned timeout, const void *srcport) >@@ -208,6 +220,20 @@ uint8_t *port_performance_ext_reset(void > IB_GSI_PORT_COUNTERS_EXT); > } > >+uint8_t *port_performance_xmt_sl_reset(void *rcvbuf, ib_portid_t * dest, int >port, >+ unsigned mask, unsigned timeout) >+{ >+ return performance_reset(rcvbuf, dest, port, mask, timeout, >+ IB_GSI_PORT_XMIT_DATA_SL); >+} >+ >+uint8_t *port_performance_rcv_sl_reset(void *rcvbuf, ib_portid_t * dest, int >port, >+ unsigned mask, unsigned timeout) >+{ >+ return performance_reset(rcvbuf, dest, port, mask, timeout, >+ IB_GSI_PORT_RCV_DATA_SL); >+} >+ Rather than continue to add more and more interfaces to the library, can we just export a couple of more generic calls? - Sean _______________________________________________ general mailing list general@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general