/* The function sets different link parameters provided by the user onto the NIC. Return value: 0 on success.  */
static int vxge_ethtool_sset(struct net_device *dev, struct ethtool_cmd *info)
/* The function sets different link parameters provided by the user onto the NIC. Return value: 0 on success.  */
static int vxge_ethtool_sset(struct net_device *dev, struct ethtool_cmd *info)
{
	if ((info->autoneg == AUTONEG_ENABLE) ||
	    (info->speed != SPEED_10000) || (info->duplex != DUPLEX_FULL))
		return -EINVAL;
	return 0;
}