Home
last modified time | relevance | path

Searched refs:enet_ver (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.h56 u32 enet_ver; member
H A Dhns_ethtool.c180 if (!(AE_IS_VER1(priv->enet_ver) && h->port_type == HNAE_PORT_DEBUG)) in hns_nic_get_link_ksettings()
389 if ((!AE_IS_VER1(priv->enet_ver)) && in __lb_other_process()
1163 if (AE_IS_VER1(priv->enet_ver)) { in hns_get_rss_key_size()
1179 if (AE_IS_VER1(priv->enet_ver)) { in hns_get_rss_indir_size()
1195 if (AE_IS_VER1(priv->enet_ver)) { in hns_get_rss()
1216 if (AE_IS_VER1(priv->enet_ver)) { in hns_set_rss()
H A Dhns_enet.c1754 if (priv->enet_ver != AE_VERSION_1 && in hns_nic_change_mtu()
1798 switch (priv->enet_ver) { in hns_nic_set_features()
1815 switch (priv->enet_ver) { in hns_nic_fix_features()
1948 if (!AE_IS_VER1(priv->enet_ver) && in hns_nic_select_queue()
2106 bool is_ver1 = AE_IS_VER1(priv->enet_ver); in hns_nic_init_ring_data()
2172 if (AE_IS_VER1(priv->enet_ver)) { in hns_nic_set_priv_ops()
2273 priv->enet_ver = AE_VERSION_1; in hns_nic_dev_probe()
2275 priv->enet_ver = AE_VERSION_2; in hns_nic_dev_probe()
2288 priv->enet_ver = AE_VERSION_1; in hns_nic_dev_probe()
2290 priv->enet_ver = AE_VERSION_2; in hns_nic_dev_probe()
[all …]