Lines Matching refs:cmd
455 eeprom->cmd, eeprom->offset, eeprom->len); in ice_get_eeprom()
2255 safe_ks.base.cmd = copy_ks.base.cmd; in ice_set_link_ksettings()
2609 static int ice_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) in ice_set_rxnfc() argument
2614 switch (cmd->cmd) { in ice_set_rxnfc()
2616 return ice_add_fdir_ethtool(vsi, cmd); in ice_set_rxnfc()
2618 return ice_del_fdir_ethtool(vsi, cmd); in ice_set_rxnfc()
2620 return ice_set_rss_hash_opt(vsi, cmd); in ice_set_rxnfc()
2636 ice_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in ice_get_rxnfc() argument
2646 switch (cmd->cmd) { in ice_get_rxnfc()
2648 cmd->data = vsi->rss_size; in ice_get_rxnfc()
2652 cmd->rule_cnt = hw->fdir_active_fltr; in ice_get_rxnfc()
2654 cmd->data = ice_get_fdir_cnt_all(hw); in ice_get_rxnfc()
2658 ret = ice_get_ethtool_fdir_entry(hw, cmd); in ice_get_rxnfc()
2661 ret = ice_get_fdir_fltr_ids(hw, cmd, (u32 *)rule_locs); in ice_get_rxnfc()
2664 ice_get_rss_hash_opt(vsi, cmd); in ice_get_rxnfc()