- #
- # LN_O2IB_ETHTOOL_LINK_SETTINGS
- #
- # ethtool_link_settings was added in Linux 4.6
- #
- AC_DEFUN([LN_SRC_O2IB_ETHTOOL_LINK_SETTINGS], [
- LB2_LINUX_TEST_SRC([ethtool_link_settings], [
- #include <linux/ethtool.h>
- ],[
- struct ethtool_link_ksettings cmd;
- ],[],[$EXTRA_OFED_CONFIG $EXTRA_OFED_INCLUDE])
- ])
- AC_DEFUN([LN_O2IB_ETHTOOL_LINK_SETTINGS], [
- LB2_MSG_LINUX_TEST_RESULT([if 'ethtool_link_settings' exists],
- [ethtool_link_settings], [
- AC_DEFINE(HAVE_ETHTOOL_LINK_SETTINGS, 1,
- [ethtool_link_settings is defined])
- ])
- ]) # LN_O2IB_ETHTOOL_LINK_SETTINGS
-