Lines Matching refs:ionic_lif
39 static void ionic_link_status_check(struct ionic_lif *lif);
40 static void ionic_lif_handle_fw_down(struct ionic_lif *lif);
41 static void ionic_lif_handle_fw_up(struct ionic_lif *lif);
42 static void ionic_lif_set_netdev_info(struct ionic_lif *lif);
44 static void ionic_txrx_deinit(struct ionic_lif *lif);
45 static int ionic_txrx_init(struct ionic_lif *lif);
46 static int ionic_start_queues(struct ionic_lif *lif);
47 static void ionic_stop_queues(struct ionic_lif *lif);
48 static void ionic_lif_queue_identify(struct ionic_lif *lif);
50 static void ionic_xdp_rxqs_prog_update(struct ionic_lif *lif);
60 struct ionic_lif *lif; in ionic_dim_work()
87 struct ionic_lif *lif = container_of(work, struct ionic_lif, deferred.work); in ionic_lif_deferred_work()
131 void ionic_lif_deferred_enqueue(struct ionic_lif *lif, in ionic_lif_deferred_enqueue()
140 static void ionic_link_status_check(struct ionic_lif *lif) in ionic_link_status_check()
196 void ionic_link_status_check_request(struct ionic_lif *lif, bool can_sleep) in ionic_link_status_check_request()
227 static int ionic_request_irq(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_request_irq()
246 static int ionic_intr_alloc(struct ionic_lif *lif, struct ionic_intr_info *intr) in ionic_intr_alloc()
285 struct ionic_lif *lif = q->lif; in ionic_qcq_enable()
327 static int ionic_qcq_disable(struct ionic_lif *lif, struct ionic_qcq *qcq, int fw_err) in ionic_qcq_disable()
375 static void ionic_lif_qcq_deinit(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_lif_qcq_deinit()
395 static void ionic_qcq_intr_free(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_qcq_intr_free()
407 static void ionic_qcq_free(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_qcq_free()
451 void ionic_qcqs_free(struct ionic_lif *lif) in ionic_qcqs_free()
496 static int ionic_alloc_qcq_interrupt(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_alloc_qcq_interrupt()
553 static int ionic_qcq_alloc(struct ionic_lif *lif, unsigned int type, in ionic_qcq_alloc()
756 static int ionic_qcqs_alloc(struct ionic_lif *lif) in ionic_qcqs_alloc()
830 static int ionic_lif_txq_init(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_lif_txq_init()
895 static int ionic_lif_rxq_init(struct ionic_lif *lif, struct ionic_qcq *qcq) in ionic_lif_rxq_init()
971 int ionic_lif_create_hwstamp_txq(struct ionic_lif *lif) in ionic_lif_create_hwstamp_txq()
1036 int ionic_lif_create_hwstamp_rxq(struct ionic_lif *lif) in ionic_lif_create_hwstamp_rxq()
1097 int ionic_lif_config_hwstamp_rxq_all(struct ionic_lif *lif, bool rx_all) in ionic_lif_config_hwstamp_rxq_all()
1117 int ionic_lif_set_hwstamp_txmode(struct ionic_lif *lif, u16 txstamp_mode) in ionic_lif_set_hwstamp_txmode()
1132 static void ionic_lif_del_hwstamp_rxfilt(struct ionic_lif *lif) in ionic_lif_del_hwstamp_rxfilt()
1167 static int ionic_lif_add_hwstamp_rxfilt(struct ionic_lif *lif, u64 pkt_class) in ionic_lif_add_hwstamp_rxfilt()
1203 int ionic_lif_set_hwstamp_rxfilt(struct ionic_lif *lif, u64 pkt_class) in ionic_lif_set_hwstamp_rxfilt()
1216 struct ionic_lif *lif = napi_to_cq(napi)->lif; in ionic_adminq_napi()
1272 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_stats64()
1336 void ionic_lif_rx_mode(struct ionic_lif *lif) in ionic_lif_rx_mode()
1419 struct ionic_lif *lif = netdev_priv(netdev); in ionic_ndo_set_rx_mode()
1479 static int ionic_set_nic_features(struct ionic_lif *lif, in ionic_set_nic_features()
1555 static int ionic_init_nic_features(struct ionic_lif *lif) in ionic_init_nic_features()
1641 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_features()
1652 static int ionic_set_attr_mac(struct ionic_lif *lif, u8 *mac) in ionic_set_attr_mac()
1667 static int ionic_get_attr_mac(struct ionic_lif *lif, u8 *mac_addr) in ionic_get_attr_mac()
1687 static int ionic_program_mac(struct ionic_lif *lif, u8 *mac) in ionic_program_mac()
1712 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_mac_address()
1745 void ionic_stop_queues_reconfig(struct ionic_lif *lif) in ionic_stop_queues_reconfig()
1753 static int ionic_start_queues_reconfig(struct ionic_lif *lif) in ionic_start_queues_reconfig()
1772 static bool ionic_xdp_is_valid_mtu(struct ionic_lif *lif, u32 mtu, in ionic_xdp_is_valid_mtu()
1789 struct ionic_lif *lif = netdev_priv(netdev); in ionic_change_mtu()
1827 struct ionic_lif *lif = container_of(ws, struct ionic_lif, tx_timeout_work); in ionic_tx_timeout_work()
1850 struct ionic_lif *lif = netdev_priv(netdev); in ionic_tx_timeout()
1859 struct ionic_lif *lif = netdev_priv(netdev); in ionic_vlan_rx_add_vid()
1874 struct ionic_lif *lif = netdev_priv(netdev); in ionic_vlan_rx_kill_vid()
1886 int ionic_lif_rss_config(struct ionic_lif *lif, const u16 types, in ionic_lif_rss_config()
1919 static int ionic_lif_rss_init(struct ionic_lif *lif) in ionic_lif_rss_init()
1939 static void ionic_lif_rss_deinit(struct ionic_lif *lif) in ionic_lif_rss_deinit()
1950 static void ionic_lif_quiesce(struct ionic_lif *lif) in ionic_lif_quiesce()
1968 static void ionic_txrx_disable(struct ionic_lif *lif) in ionic_txrx_disable()
1992 static void ionic_txrx_deinit(struct ionic_lif *lif) in ionic_txrx_deinit()
2024 void ionic_txrx_free(struct ionic_lif *lif) in ionic_txrx_free()
2057 static int ionic_txrx_alloc(struct ionic_lif *lif) in ionic_txrx_alloc()
2146 static int ionic_txrx_init(struct ionic_lif *lif) in ionic_txrx_init()
2179 static int ionic_txrx_enable(struct ionic_lif *lif) in ionic_txrx_enable()
2237 static int ionic_start_queues(struct ionic_lif *lif) in ionic_start_queues()
2262 struct ionic_lif *lif = netdev_priv(netdev); in ionic_open()
2312 static void ionic_stop_queues(struct ionic_lif *lif) in ionic_stop_queues()
2323 struct ionic_lif *lif = netdev_priv(netdev); in ionic_stop()
2339 struct ionic_lif *lif = netdev_priv(netdev); in ionic_eth_ioctl()
2354 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_vf_config()
2385 struct ionic_lif *lif = netdev_priv(netdev); in ionic_get_vf_stats()
2422 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_vf_mac()
2454 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_vf_vlan()
2493 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_vf_rate()
2525 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_vf_spoofchk()
2553 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_vf_trust()
2581 struct ionic_lif *lif = netdev_priv(netdev); in ionic_set_vf_link_state()
2621 static void ionic_vf_attr_replay(struct ionic_lif *lif) in ionic_vf_attr_replay()
2738 static void ionic_xdp_rxqs_prog_update(struct ionic_lif *lif) in ionic_xdp_rxqs_prog_update()
2756 struct ionic_lif *lif = netdev_priv(netdev); in ionic_xdp_config()
2837 static int ionic_cmb_reconfig(struct ionic_lif *lif, in ionic_cmb_reconfig()
2935 int ionic_reconfigure_queues(struct ionic_lif *lif, in ionic_reconfigure_queues()
3229 struct ionic_lif *lif; in ionic_lif_alloc()
3363 static void ionic_lif_reset(struct ionic_lif *lif) in ionic_lif_reset()
3376 static void ionic_lif_handle_fw_down(struct ionic_lif *lif) in ionic_lif_handle_fw_down()
3407 int ionic_restart_lif(struct ionic_lif *lif) in ionic_restart_lif()
3463 static void ionic_lif_handle_fw_up(struct ionic_lif *lif) in ionic_lif_handle_fw_up()
3504 void ionic_lif_free(struct ionic_lif *lif) in ionic_lif_free()
3541 void ionic_lif_deinit(struct ionic_lif *lif) in ionic_lif_deinit()
3561 static int ionic_lif_adminq_init(struct ionic_lif *lif) in ionic_lif_adminq_init()
3610 static int ionic_lif_notifyq_init(struct ionic_lif *lif) in ionic_lif_notifyq_init()
3659 static int ionic_station_set(struct ionic_lif *lif) in ionic_station_set()
3726 int ionic_lif_init(struct ionic_lif *lif) in ionic_lif_init()
3811 static void ionic_lif_set_netdev_info(struct ionic_lif *lif) in ionic_lif_set_netdev_info()
3828 static struct ionic_lif *ionic_netdev_lif(struct net_device *netdev) in ionic_netdev_lif()
3841 struct ionic_lif *lif = ionic_netdev_lif(ndev); in ionic_lif_notify()
3855 int ionic_lif_register(struct ionic_lif *lif) in ionic_lif_register()
3884 void ionic_lif_unregister(struct ionic_lif *lif) in ionic_lif_unregister()
3900 static void ionic_lif_queue_identify(struct ionic_lif *lif) in ionic_lif_queue_identify()