Lines Matching defs:ethcmd
251 char __user *useraddr, u32 ethcmd)
253 netdev_features_t mask = ethtool_get_feature_mask(ethcmd);
255 .cmd = ethcmd,
265 void __user *useraddr, u32 ethcmd)
273 mask = ethtool_get_feature_mask(ethcmd);
3224 u32 ethcmd, struct ethtool_devlink_compat *devlink_state)
3235 if (ethcmd == ETHTOOL_PERQUEUE) {
3236 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd)))
3239 sub_cmd = ethcmd;
3301 switch (ethcmd) {
3321 rc = ethtool_get_value(dev, useraddr, ethcmd,
3382 rc = ethtool_get_value(dev, useraddr, ethcmd,
3389 rc = ethtool_get_value(dev, useraddr, ethcmd,
3399 rc = ethtool_get_rxfh_fields(dev, ethcmd, useraddr);
3402 rc = ethtool_set_rxfh_fields(dev, ethcmd, useraddr);
3405 rc = ethtool_get_rxrings(dev, ethcmd, useraddr);
3410 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr);
3414 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr);
3449 rc = ethtool_get_one_feature(dev, useraddr, ethcmd);
3457 rc = ethtool_set_one_feature(dev, useraddr, ethcmd);
3533 u32 ethcmd;
3536 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd)))
3543 switch (ethcmd) {
3554 rc = __dev_ethtool(net, ifr, useraddr, ethcmd, state);
3559 switch (ethcmd) {