Lines Matching full:si

37 	struct enetc_hw *hw = &priv->si->hw;  in enetc_get_reglen()
56 struct enetc_hw *hw = &priv->si->hw; in enetc_get_regs()
98 { ENETC_SIROCT, "SI rx octets" },
99 { ENETC_SIRFRM, "SI rx frames" },
100 { ENETC_SIRUCA, "SI rx u-cast frames" },
101 { ENETC_SIRMCA, "SI rx m-cast frames" },
102 { ENETC_SITOCT, "SI tx octets" },
103 { ENETC_SITFRM, "SI tx frames" },
104 { ENETC_SITUCA, "SI tx u-cast frames" },
105 { ENETC_SITMCA, "SI tx m-cast frames" },
179 { ENETC_UFDMF, "SI MAC nomatch u-cast discards" },
180 { ENETC_MFDMF, "SI MAC nomatch m-cast discards" },
181 { ENETC_PBFDSIR, "SI MAC nomatch b-cast discards" },
182 { ENETC_PUFDVFR, "SI VLAN nomatch u-cast discards" },
183 { ENETC_PMFDVFR, "SI VLAN nomatch m-cast discards" },
184 { ENETC_PBFDVFR, "SI VLAN nomatch b-cast discards" },
185 { ENETC_PFDMSAPR, "SI pruning discarded frames" },
222 if (!enetc_si_is_pf(priv->si)) in enetc_get_sset_count()
257 if (!enetc_si_is_pf(priv->si)) in enetc_get_strings()
273 struct enetc_hw *hw = &priv->si->hw; in enetc_get_ethtool_stats()
297 if (!enetc_si_is_pf(priv->si)) in enetc_get_ethtool_stats()
308 struct enetc_hw *hw = &priv->si->hw; in enetc_get_pause_stats()
387 struct enetc_hw *hw = &priv->si->hw; in enetc_get_eth_mac_stats()
396 struct enetc_hw *hw = &priv->si->hw; in enetc_get_eth_ctrl_stats()
406 struct enetc_hw *hw = &priv->si->hw; in enetc_get_rmon_stats()
447 static int enetc_set_cls_entry(struct enetc_si *si, in enetc_set_cls_entry() argument
480 netdev_warn(si->ndev, "ToS field is not supported and was ignored\n"); in enetc_set_cls_entry()
493 netdev_warn(si->ndev, "ToS field is not supported and was ignored\n"); in enetc_set_cls_entry()
518 return enetc_set_fs_entry(si, &rfse, fs->location); in enetc_set_cls_entry()
536 rxnfc->data = priv->si->num_fs_entries; in enetc_get_rxnfc()
539 for (i = 0; i < priv->si->num_fs_entries; i++) in enetc_get_rxnfc()
544 if (rxnfc->fs.location >= priv->si->num_fs_entries) in enetc_get_rxnfc()
552 rxnfc->data = priv->si->num_fs_entries; in enetc_get_rxnfc()
555 for (i = 0; i < priv->si->num_fs_entries; i++) { in enetc_get_rxnfc()
579 if (rxnfc->fs.location >= priv->si->num_fs_entries) in enetc_set_rxnfc()
586 err = enetc_set_cls_entry(priv->si, &rxnfc->fs, true); in enetc_set_rxnfc()
593 if (rxnfc->fs.location >= priv->si->num_fs_entries) in enetc_set_rxnfc()
596 err = enetc_set_cls_entry(priv->si, &rxnfc->fs, false); in enetc_set_rxnfc()
613 return (priv->si->hw.port) ? ENETC_RSSHASH_KEY_SIZE : 0; in enetc_get_rxfh_key_size()
621 return priv->si->num_rss; in enetc_get_rxfh_indir_size()
628 struct enetc_hw *hw = &priv->si->hw; in enetc_get_rxfh()
642 err = enetc_get_rss_table(priv->si, indir, priv->si->num_rss); in enetc_get_rxfh()
659 struct enetc_hw *hw = &priv->si->hw; in enetc_set_rxfh()
668 err = enetc_set_rss_table(priv->si, indir, priv->si->num_rss); in enetc_set_rxfh()
685 struct enetc_hw *hw = &priv->si->hw; in enetc_get_ringparam()
924 if (enetc_si_is_pf(priv->si)) in enetc_set_ethtool_ops()