Lines Matching refs:ethcmd
250 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
252 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
254 .cmd = ethcmd, in ethtool_get_one_feature()
264 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
272 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
3062 u32 ethcmd, struct ethtool_devlink_compat *devlink_state) in __dev_ethtool() argument
3073 if (ethcmd == ETHTOOL_PERQUEUE) { in __dev_ethtool()
3074 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in __dev_ethtool()
3077 sub_cmd = ethcmd; in __dev_ethtool()
3138 switch (ethcmd) { in __dev_ethtool()
3158 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
3219 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
3226 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
3240 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
3245 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
3280 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
3288 rc = ethtool_set_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
3363 u32 ethcmd; in dev_ethtool() local
3366 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
3373 switch (ethcmd) { in dev_ethtool()
3384 rc = __dev_ethtool(net, ifr, useraddr, ethcmd, state); in dev_ethtool()
3389 switch (ethcmd) { in dev_ethtool()