hinic_dev 78 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 119 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 147 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 160 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c static int hinic_get_rss_hash_opts(struct hinic_dev *nic_dev, hinic_dev 241 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c static int hinic_set_rss_hash_opts(struct hinic_dev *nic_dev, hinic_dev 298 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 342 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 362 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 380 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 414 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 601 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c static void get_drv_queue_stats(struct hinic_dev *nic_dev, u64 *data) hinic_dev 638 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 683 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 704 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 66 drivers/net/ethernet/huawei/hinic/hinic_main.c container_of(rx_mode_work, struct hinic_dev, rx_mode_work) hinic_dev 70 drivers/net/ethernet/huawei/hinic/hinic_main.c static int set_features(struct hinic_dev *nic_dev, hinic_dev 74 drivers/net/ethernet/huawei/hinic/hinic_main.c static void update_rx_stats(struct hinic_dev *nic_dev, struct hinic_rxq *rxq) hinic_dev 94 drivers/net/ethernet/huawei/hinic/hinic_main.c static void update_tx_stats(struct hinic_dev *nic_dev, struct hinic_txq *txq) hinic_dev 115 drivers/net/ethernet/huawei/hinic/hinic_main.c static void update_nic_stats(struct hinic_dev *nic_dev) hinic_dev 132 drivers/net/ethernet/huawei/hinic/hinic_main.c static int create_txqs(struct hinic_dev *nic_dev) hinic_dev 171 drivers/net/ethernet/huawei/hinic/hinic_main.c static void free_txqs(struct hinic_dev *nic_dev) hinic_dev 192 drivers/net/ethernet/huawei/hinic/hinic_main.c static int create_rxqs(struct hinic_dev *nic_dev) hinic_dev 231 drivers/net/ethernet/huawei/hinic/hinic_main.c static void free_rxqs(struct hinic_dev *nic_dev) hinic_dev 246 drivers/net/ethernet/huawei/hinic/hinic_main.c static int hinic_configure_max_qnum(struct hinic_dev *nic_dev) hinic_dev 257 drivers/net/ethernet/huawei/hinic/hinic_main.c static int hinic_rss_init(struct hinic_dev *nic_dev) hinic_dev 298 drivers/net/ethernet/huawei/hinic/hinic_main.c static void hinic_rss_deinit(struct hinic_dev *nic_dev) hinic_dev 303 drivers/net/ethernet/huawei/hinic/hinic_main.c static void hinic_init_rss_parameters(struct hinic_dev *nic_dev) hinic_dev 316 drivers/net/ethernet/huawei/hinic/hinic_main.c static void hinic_enable_rss(struct hinic_dev *nic_dev) hinic_dev 373 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 484 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 520 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 543 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 600 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 632 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 662 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 700 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 726 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = rx_mode_work_to_nic_dev(rx_mode_work); hinic_dev 738 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 760 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 768 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 794 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 803 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 856 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = handle; hinic_dev 893 drivers/net/ethernet/huawei/hinic/hinic_main.c static int set_features(struct hinic_dev *nic_dev, hinic_dev 934 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev; hinic_dev 1120 drivers/net/ethernet/huawei/hinic/hinic_main.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 37 drivers/net/ethernet/huawei/hinic/hinic_port.c static int change_mac(struct hinic_dev *nic_dev, const u8 *addr, hinic_dev 83 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_add_mac(struct hinic_dev *nic_dev, hinic_dev 97 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_del_mac(struct hinic_dev *nic_dev, const u8 *addr, hinic_dev 110 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_get_mac(struct hinic_dev *nic_dev, u8 *addr) hinic_dev 141 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_set_mtu(struct hinic_dev *nic_dev, int new_mtu) hinic_dev 184 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_add_vlan(struct hinic_dev *nic_dev, u16 vlan_id) hinic_dev 204 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_del_vlan(struct hinic_dev *nic_dev, u16 vlan_id) hinic_dev 224 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_set_rx_mode(struct hinic_dev *nic_dev, u32 rx_mode) hinic_dev 244 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_link_state(struct hinic_dev *nic_dev, hinic_dev 281 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_set_state(struct hinic_dev *nic_dev, enum hinic_port_state state) hinic_dev 316 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_set_func_state(struct hinic_dev *nic_dev, hinic_dev 348 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_get_cap(struct hinic_dev *nic_dev, hinic_dev 379 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_port_set_tso(struct hinic_dev *nic_dev, enum hinic_tso_state state) hinic_dev 404 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_set_rx_csum_offload(struct hinic_dev *nic_dev, u32 en) hinic_dev 434 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_set_rx_vlan_offload(struct hinic_dev *nic_dev, u8 en) hinic_dev 464 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_set_max_qnum(struct hinic_dev *nic_dev, u8 num_rqs) hinic_dev 490 drivers/net/ethernet/huawei/hinic/hinic_port.c static int hinic_set_rx_lro(struct hinic_dev *nic_dev, u8 ipv4_en, u8 ipv6_en, hinic_dev 518 drivers/net/ethernet/huawei/hinic/hinic_port.c static int hinic_set_rx_lro_timer(struct hinic_dev *nic_dev, u32 timer_value) hinic_dev 553 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_set_rx_lro_state(struct hinic_dev *nic_dev, u8 lro_en, hinic_dev 578 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_rss_set_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 649 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_rss_get_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 679 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 739 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 780 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_rss_set_template_tbl(struct hinic_dev *nic_dev, u32 template_id, hinic_dev 807 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_rss_get_template_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 840 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_rss_set_hash_engine(struct hinic_dev *nic_dev, u8 template_id, hinic_dev 867 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_rss_get_hash_engine(struct hinic_dev *nic_dev, u8 tmpl_idx, u8 *type) hinic_dev 898 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_rss_cfg(struct hinic_dev *nic_dev, u8 rss_en, u8 template_id) hinic_dev 925 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_rss_template_alloc(struct hinic_dev *nic_dev, u8 *tmpl_idx) hinic_dev 951 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_rss_template_free(struct hinic_dev *nic_dev, u8 tmpl_idx) hinic_dev 976 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_get_vport_stats(struct hinic_dev *nic_dev, hinic_dev 1005 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_get_phy_port_stats(struct hinic_dev *nic_dev, hinic_dev 1042 drivers/net/ethernet/huawei/hinic/hinic_port.c int hinic_get_mgmt_version(struct hinic_dev *nic_dev, u8 *mgmt_ver) hinic_dev 509 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_add_mac(struct hinic_dev *nic_dev, const u8 *addr, hinic_dev 512 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_del_mac(struct hinic_dev *nic_dev, const u8 *addr, hinic_dev 515 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_get_mac(struct hinic_dev *nic_dev, u8 *addr); hinic_dev 517 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_set_mtu(struct hinic_dev *nic_dev, int new_mtu); hinic_dev 519 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_add_vlan(struct hinic_dev *nic_dev, u16 vlan_id); hinic_dev 521 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_del_vlan(struct hinic_dev *nic_dev, u16 vlan_id); hinic_dev 523 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_set_rx_mode(struct hinic_dev *nic_dev, u32 rx_mode); hinic_dev 525 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_link_state(struct hinic_dev *nic_dev, hinic_dev 528 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_set_state(struct hinic_dev *nic_dev, hinic_dev 531 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_set_func_state(struct hinic_dev *nic_dev, hinic_dev 534 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_get_cap(struct hinic_dev *nic_dev, hinic_dev 537 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_set_max_qnum(struct hinic_dev *nic_dev, u8 num_rqs); hinic_dev 539 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_port_set_tso(struct hinic_dev *nic_dev, enum hinic_tso_state state); hinic_dev 541 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_set_rx_csum_offload(struct hinic_dev *nic_dev, u32 en); hinic_dev 543 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_set_rx_lro_state(struct hinic_dev *nic_dev, u8 lro_en, hinic_dev 546 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 549 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_rss_set_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 552 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_rss_set_template_tbl(struct hinic_dev *nic_dev, u32 template_id, hinic_dev 555 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_rss_set_hash_engine(struct hinic_dev *nic_dev, u8 template_id, hinic_dev 558 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_rss_cfg(struct hinic_dev *nic_dev, u8 rss_en, u8 template_id); hinic_dev 560 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_rss_template_alloc(struct hinic_dev *nic_dev, u8 *tmpl_idx); hinic_dev 562 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_rss_template_free(struct hinic_dev *nic_dev, u8 tmpl_idx); hinic_dev 566 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 569 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_rss_get_indir_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 572 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_rss_get_template_tbl(struct hinic_dev *nic_dev, u32 tmpl_idx, hinic_dev 575 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_rss_get_hash_engine(struct hinic_dev *nic_dev, u8 tmpl_idx, hinic_dev 578 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_get_phy_port_stats(struct hinic_dev *nic_dev, hinic_dev 581 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_get_vport_stats(struct hinic_dev *nic_dev, hinic_dev 584 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_set_rx_vlan_offload(struct hinic_dev *nic_dev, u8 en); hinic_dev 586 drivers/net/ethernet/huawei/hinic/hinic_port.h int hinic_get_mgmt_version(struct hinic_dev *nic_dev, u8 *mgmt_ver); hinic_dev 131 drivers/net/ethernet/huawei/hinic/hinic_rx.c struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); hinic_dev 168 drivers/net/ethernet/huawei/hinic/hinic_rx.c struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); hinic_dev 198 drivers/net/ethernet/huawei/hinic/hinic_rx.c struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); hinic_dev 426 drivers/net/ethernet/huawei/hinic/hinic_rx.c struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); hinic_dev 444 drivers/net/ethernet/huawei/hinic/hinic_rx.c struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); hinic_dev 460 drivers/net/ethernet/huawei/hinic/hinic_rx.c struct hinic_dev *nic_dev; hinic_dev 477 drivers/net/ethernet/huawei/hinic/hinic_rx.c struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); hinic_dev 133 drivers/net/ethernet/huawei/hinic/hinic_tx.c static int tx_map_skb(struct hinic_dev *nic_dev, struct sk_buff *skb, hinic_dev 184 drivers/net/ethernet/huawei/hinic/hinic_tx.c static void tx_unmap_skb(struct hinic_dev *nic_dev, struct sk_buff *skb, hinic_dev 464 drivers/net/ethernet/huawei/hinic/hinic_tx.c struct hinic_dev *nic_dev = netdev_priv(netdev); hinic_dev 563 drivers/net/ethernet/huawei/hinic/hinic_tx.c static void tx_free_skb(struct hinic_dev *nic_dev, struct sk_buff *skb, hinic_dev 577 drivers/net/ethernet/huawei/hinic/hinic_tx.c struct hinic_dev *nic_dev = netdev_priv(txq->netdev); hinic_dev 611 drivers/net/ethernet/huawei/hinic/hinic_tx.c struct hinic_dev *nic_dev = netdev_priv(txq->netdev); hinic_dev 700 drivers/net/ethernet/huawei/hinic/hinic_tx.c struct hinic_dev *nic_dev; hinic_dev 717 drivers/net/ethernet/huawei/hinic/hinic_tx.c struct hinic_dev *nic_dev = netdev_priv(txq->netdev); hinic_dev 761 drivers/net/ethernet/huawei/hinic/hinic_tx.c struct hinic_dev *nic_dev = netdev_priv(netdev);