root/opal/util/ethtool.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2016 Karol Mroz.  All rights reserved.
   3  * $COPYRIGHT$
   4  *
   5  * Additional copyrights may follow
   6  *
   7  * $HEADER$
   8  */
   9 
  10 #ifndef OPAL_ETHTOOL_H
  11 #define OPAL_ETHTOOL_H
  12 
  13 /*
  14  * Obtain an appropriate bandwidth for the interface if_name. On Linux, we
  15  * get this via an ioctl(). Elsewhere or in the error case, we return the
  16  * speed as 0.
  17  */
  18 unsigned int opal_ethtool_get_speed(const char *if_name);
  19 
  20 #endif

/* [<][>][^][v][top][bottom][index][help] */