Home
last modified time | relevance | path

Searched defs:nic_dev (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_main.c64 #define VLAN_BITMAP_SIZE(nic_dev) (ALIGN(VLAN_N_VID, 8) / 8) argument
116 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_link_ksettings() local
165 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_drvinfo() local
185 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_channels() local
206 static void update_rx_stats(struct hinic_dev *nic_dev, struct hinic_rxq *rxq) in update_rx_stats()
223 static void update_tx_stats(struct hinic_dev *nic_dev, struct hinic_txq *txq) in update_tx_stats()
243 static void update_nic_stats(struct hinic_dev *nic_dev) in update_nic_stats()
260 static int create_txqs(struct hinic_dev *nic_dev) in create_txqs()
299 static void free_txqs(struct hinic_dev *nic_dev) in free_txqs()
320 static int create_rxqs(struct hinic_dev *nic_dev) in create_rxqs()
[all …]
Dhinic_port.c46 static int change_mac(struct hinic_dev *nic_dev, const u8 *addr, in change_mac()
92 int hinic_port_add_mac(struct hinic_dev *nic_dev, in hinic_port_add_mac()
106 int hinic_port_del_mac(struct hinic_dev *nic_dev, const u8 *addr, in hinic_port_del_mac()
119 int hinic_port_get_mac(struct hinic_dev *nic_dev, u8 *addr) in hinic_port_get_mac()
150 int hinic_port_set_mtu(struct hinic_dev *nic_dev, int new_mtu) in hinic_port_set_mtu()
193 int hinic_port_add_vlan(struct hinic_dev *nic_dev, u16 vlan_id) in hinic_port_add_vlan()
213 int hinic_port_del_vlan(struct hinic_dev *nic_dev, u16 vlan_id) in hinic_port_del_vlan()
233 int hinic_port_set_rx_mode(struct hinic_dev *nic_dev, u32 rx_mode) in hinic_port_set_rx_mode()
253 int hinic_port_link_state(struct hinic_dev *nic_dev, in hinic_port_link_state()
290 int hinic_port_set_state(struct hinic_dev *nic_dev, enum hinic_port_state state) in hinic_port_set_state()
[all …]
Dhinic_tx.c111 static int tx_map_skb(struct hinic_dev *nic_dev, struct sk_buff *skb, in tx_map_skb()
162 static void tx_unmap_skb(struct hinic_dev *nic_dev, struct sk_buff *skb, in tx_unmap_skb()
180 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_xmit_frame() local
264 static void tx_free_skb(struct hinic_dev *nic_dev, struct sk_buff *skb, in tx_free_skb()
278 struct hinic_dev *nic_dev = netdev_priv(txq->netdev); in free_all_tx_skbs() local
312 struct hinic_dev *nic_dev = netdev_priv(txq->netdev); in free_tx_poll() local
397 struct hinic_dev *nic_dev; in tx_irq() local
412 struct hinic_dev *nic_dev = netdev_priv(txq->netdev); in tx_request_irq() local
456 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_init_txq() local
Dhinic_rx.c102 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_alloc_skb() local
139 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_unmap_skb() local
169 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_alloc_pkts() local
383 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_add_napi() local
399 struct hinic_dev *nic_dev; in rx_irq() local
413 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_request_irq() local
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dmain.c5723 struct mlx5_ib_dev *nic_dev; in mlx5_ib_stage_rep_flow_db_init() local