Lines Matching defs:nic

75 static inline u8 nicvf_netdev_qidx(struct nicvf *nic, u8 qidx)  in nicvf_netdev_qidx()
93 void nicvf_reg_write(struct nicvf *nic, u64 offset, u64 val) in nicvf_reg_write()
98 u64 nicvf_reg_read(struct nicvf *nic, u64 offset) in nicvf_reg_read()
103 void nicvf_queue_reg_write(struct nicvf *nic, u64 offset, in nicvf_queue_reg_write()
111 u64 nicvf_queue_reg_read(struct nicvf *nic, u64 offset, u64 qidx) in nicvf_queue_reg_read()
119 static void nicvf_write_to_mbx(struct nicvf *nic, union nic_mbx *mbx) in nicvf_write_to_mbx()
127 int nicvf_send_msg_to_pf(struct nicvf *nic, union nic_mbx *mbx) in nicvf_send_msg_to_pf()
167 static int nicvf_check_pf_ready(struct nicvf *nic) in nicvf_check_pf_ready()
181 static void nicvf_send_cfg_done(struct nicvf *nic) in nicvf_send_cfg_done()
192 static void nicvf_read_bgx_stats(struct nicvf *nic, struct bgx_stats_msg *bgx) in nicvf_read_bgx_stats()
200 static void nicvf_handle_mbx_intr(struct nicvf *nic) in nicvf_handle_mbx_intr()
301 static int nicvf_hw_set_mac_addr(struct nicvf *nic, struct net_device *netdev) in nicvf_hw_set_mac_addr()
312 static void nicvf_config_cpi(struct nicvf *nic) in nicvf_config_cpi()
324 static void nicvf_get_rss_size(struct nicvf *nic) in nicvf_get_rss_size()
333 void nicvf_config_rss(struct nicvf *nic) in nicvf_config_rss()
358 void nicvf_set_rss_key(struct nicvf *nic) in nicvf_set_rss_key()
370 static int nicvf_rss_init(struct nicvf *nic) in nicvf_rss_init()
401 static void nicvf_request_sqs(struct nicvf *nic) in nicvf_request_sqs()
473 static void nicvf_send_vf_struct(struct nicvf *nic) in nicvf_send_vf_struct()
483 static void nicvf_get_primary_vf_struct(struct nicvf *nic) in nicvf_get_primary_vf_struct()
510 static int nicvf_init_resources(struct nicvf *nic) in nicvf_init_resources()
528 static inline bool nicvf_xdp_rx(struct nicvf *nic, struct bpf_prog *prog, in nicvf_xdp_rx()
620 struct nicvf *nic = netdev_priv(netdev); in nicvf_snd_ptp_handler() local
662 struct nicvf *nic = netdev_priv(netdev); in nicvf_snd_pkt_handler() local
755 static inline void nicvf_set_rxtstamp(struct nicvf *nic, struct sk_buff *skb) in nicvf_set_rxtstamp()
776 struct nicvf *nic = netdev_priv(netdev); in nicvf_rcv_pkt_handler() local
851 struct nicvf *nic = netdev_priv(netdev); in nicvf_cq_intr_handler() local
961 struct nicvf *nic = netdev_priv(netdev); in nicvf_poll() local
987 struct nicvf *nic = from_tasklet(nic, t, qs_err_task); in nicvf_handle_qs_err() local
1016 static void nicvf_dump_intr_status(struct nicvf *nic) in nicvf_dump_intr_status()
1024 struct nicvf *nic = (struct nicvf *)nicvf_irq; in nicvf_misc_intr_handler() local
1042 struct nicvf *nic = cq_poll->nicvf; in nicvf_intr_handler() local
1061 struct nicvf *nic = (struct nicvf *)nicvf_irq; in nicvf_rbdr_intr_handler() local
1082 struct nicvf *nic = (struct nicvf *)nicvf_irq; in nicvf_qs_err_intr_handler() local
1094 static void nicvf_set_irq_affinity(struct nicvf *nic) in nicvf_set_irq_affinity()
1118 static int nicvf_register_interrupts(struct nicvf *nic) in nicvf_register_interrupts()
1181 static void nicvf_unregister_interrupts(struct nicvf *nic) in nicvf_unregister_interrupts()
1210 static int nicvf_register_misc_interrupt(struct nicvf *nic) in nicvf_register_misc_interrupt()
1253 struct nicvf *nic = netdev_priv(netdev); in nicvf_xmit() local
1310 static inline void nicvf_free_cq_poll(struct nicvf *nic) in nicvf_free_cq_poll()
1327 struct nicvf *nic = netdev_priv(netdev); in nicvf_stop() local
1416 static int nicvf_config_hw_rx_tstamp(struct nicvf *nic, bool enable) in nicvf_config_hw_rx_tstamp()
1426 static int nicvf_update_hw_max_frs(struct nicvf *nic, int mtu) in nicvf_update_hw_max_frs()
1439 struct nicvf *nic = container_of(work_arg, in nicvf_link_status_check_task() local
1452 struct nicvf *nic = netdev_priv(netdev); in nicvf_open() local
1580 struct nicvf *nic = netdev_priv(netdev); in nicvf_change_mtu() local
1608 struct nicvf *nic = netdev_priv(netdev); in nicvf_set_mac_address() local
1625 void nicvf_update_lmac_stats(struct nicvf *nic) in nicvf_update_lmac_stats()
1656 void nicvf_update_stats(struct nicvf *nic) in nicvf_update_stats()
1722 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_stats64() local
1740 struct nicvf *nic = netdev_priv(dev); in nicvf_tx_timeout() local
1750 struct nicvf *nic; in nicvf_reset_task() local
1762 static int nicvf_config_loopback(struct nicvf *nic, in nicvf_config_loopback()
1777 struct nicvf *nic = netdev_priv(netdev); in nicvf_fix_features() local
1789 struct nicvf *nic = netdev_priv(netdev); in nicvf_set_features() local
1801 static void nicvf_set_xdp_queues(struct nicvf *nic, bool bpf_attached) in nicvf_set_xdp_queues()
1832 static int nicvf_xdp_setup(struct nicvf *nic, struct bpf_prog *prog) in nicvf_xdp_setup()
1891 struct nicvf *nic = netdev_priv(netdev); in nicvf_xdp() local
1911 struct nicvf *nic = netdev_priv(netdev); in nicvf_config_hwtstamp() local
1972 struct nicvf *nic) in __nicvf_set_rx_mode_task()
2022 struct nicvf *nic = container_of(vf_work, struct nicvf, rx_mode_work); in nicvf_set_rx_mode_task() local
2040 struct nicvf *nic = netdev_priv(netdev); in nicvf_set_rx_mode() local
2098 struct nicvf *nic; in nicvf_probe() local
2274 struct nicvf *nic; in nicvf_remove() local