Lines Matching refs:ena_adapter

43 static int ena_rss_init_default(struct ena_adapter *adapter);
44 static void check_for_admin_com_state(struct ena_adapter *adapter);
45 static void ena_destroy_device(struct ena_adapter *adapter, bool graceful);
46 static int ena_restore_device(struct ena_adapter *adapter);
48 static void ena_init_io_rings(struct ena_adapter *adapter,
50 static void ena_init_napi_in_range(struct ena_adapter *adapter, int first_index,
52 static void ena_del_napi_in_range(struct ena_adapter *adapter, int first_index,
54 static int ena_setup_tx_resources(struct ena_adapter *adapter, int qid);
55 static int ena_setup_tx_resources_in_range(struct ena_adapter *adapter,
58 static int ena_create_io_tx_queue(struct ena_adapter *adapter, int qid);
59 static void ena_free_tx_resources(struct ena_adapter *adapter, int qid);
61 static void ena_destroy_all_tx_queues(struct ena_adapter *adapter);
62 static void ena_free_all_io_tx_resources(struct ena_adapter *adapter);
63 static void ena_napi_disable_in_range(struct ena_adapter *adapter,
65 static void ena_napi_enable_in_range(struct ena_adapter *adapter,
67 static int ena_up(struct ena_adapter *adapter);
68 static void ena_down(struct ena_adapter *adapter);
75 static int ena_create_io_tx_queues_in_range(struct ena_adapter *adapter,
95 struct ena_adapter *adapter = netdev_priv(dev); in ena_tx_timeout()
110 static void update_rx_ring_mtu(struct ena_adapter *adapter, int mtu) in update_rx_ring_mtu()
120 struct ena_adapter *adapter = netdev_priv(dev); in ena_change_mtu()
143 struct ena_adapter *adapter = netdev_priv(dev); in ena_xmit_common()
240 struct ena_adapter *adapter = xdp_ring->adapter; in ena_xdp_tx_map_frame()
338 struct ena_adapter *adapter = netdev_priv(dev); in ena_xdp_xmit()
448 static void ena_init_all_xdp_queues(struct ena_adapter *adapter) in ena_init_all_xdp_queues()
458 static int ena_setup_and_create_all_xdp_queues(struct ena_adapter *adapter) in ena_setup_and_create_all_xdp_queues()
517 static void ena_xdp_exchange_program_rx_in_range(struct ena_adapter *adapter, in ena_xdp_exchange_program_rx_in_range()
539 static void ena_xdp_exchange_program(struct ena_adapter *adapter, in ena_xdp_exchange_program()
553 static int ena_destroy_and_free_all_xdp_queues(struct ena_adapter *adapter) in ena_destroy_and_free_all_xdp_queues()
576 struct ena_adapter *adapter = netdev_priv(netdev); in ena_xdp_set()
649 static int ena_init_rx_cpu_rmap(struct ena_adapter *adapter) in ena_init_rx_cpu_rmap()
673 static void ena_init_io_rings_common(struct ena_adapter *adapter, in ena_init_io_rings_common()
690 static void ena_init_io_rings(struct ena_adapter *adapter, in ena_init_io_rings()
741 static int ena_setup_tx_resources(struct ena_adapter *adapter, int qid) in ena_setup_tx_resources()
808 static void ena_free_tx_resources(struct ena_adapter *adapter, int qid) in ena_free_tx_resources()
822 static int ena_setup_tx_resources_in_range(struct ena_adapter *adapter, in ena_setup_tx_resources_in_range()
847 static void ena_free_all_io_tx_resources_in_range(struct ena_adapter *adapter, in ena_free_all_io_tx_resources_in_range()
861 static void ena_free_all_io_tx_resources(struct ena_adapter *adapter) in ena_free_all_io_tx_resources()
875 static int ena_setup_rx_resources(struct ena_adapter *adapter, in ena_setup_rx_resources()
933 static void ena_free_rx_resources(struct ena_adapter *adapter, in ena_free_rx_resources()
950 static int ena_setup_all_rx_resources(struct ena_adapter *adapter) in ena_setup_all_rx_resources()
978 static void ena_free_all_io_rx_resources(struct ena_adapter *adapter) in ena_free_all_io_rx_resources()
1129 static void ena_free_rx_bufs(struct ena_adapter *adapter, in ena_free_rx_bufs()
1146 static void ena_refill_all_rx_bufs(struct ena_adapter *adapter) in ena_refill_all_rx_bufs()
1163 static void ena_free_all_rx_bufs(struct ena_adapter *adapter) in ena_free_all_rx_bufs()
1234 static void ena_free_all_tx_bufs(struct ena_adapter *adapter) in ena_free_all_tx_bufs()
1245 static void ena_destroy_all_tx_queues(struct ena_adapter *adapter) in ena_destroy_all_tx_queues()
1256 static void ena_destroy_all_rx_queues(struct ena_adapter *adapter) in ena_destroy_all_rx_queues()
1268 static void ena_destroy_all_io_queues(struct ena_adapter *adapter) in ena_destroy_all_io_queues()
1457 struct ena_adapter *adapter; in ena_rx_skb()
1712 struct ena_adapter *adapter; in ena_clean_rx_irq()
2087 struct ena_adapter *adapter = (struct ena_adapter *)data; in ena_intr_msix_mgmnt()
2122 static int ena_enable_msix(struct ena_adapter *adapter) in ena_enable_msix()
2163 static void ena_setup_mgmnt_intr(struct ena_adapter *adapter) in ena_setup_mgmnt_intr()
2181 static void ena_setup_io_intr(struct ena_adapter *adapter) in ena_setup_io_intr()
2207 static int ena_request_mgmnt_irq(struct ena_adapter *adapter) in ena_request_mgmnt_irq()
2231 static int ena_request_io_irq(struct ena_adapter *adapter) in ena_request_io_irq()
2273 static void ena_free_mgmnt_irq(struct ena_adapter *adapter) in ena_free_mgmnt_irq()
2283 static void ena_free_io_irq(struct ena_adapter *adapter) in ena_free_io_irq()
2303 static void ena_disable_msix(struct ena_adapter *adapter) in ena_disable_msix()
2309 static void ena_disable_io_intr_sync(struct ena_adapter *adapter) in ena_disable_io_intr_sync()
2321 static void ena_del_napi_in_range(struct ena_adapter *adapter, in ena_del_napi_in_range()
2335 static void ena_init_napi_in_range(struct ena_adapter *adapter, in ena_init_napi_in_range()
2356 static void ena_napi_disable_in_range(struct ena_adapter *adapter, in ena_napi_disable_in_range()
2366 static void ena_napi_enable_in_range(struct ena_adapter *adapter, in ena_napi_enable_in_range()
2377 static int ena_rss_configure(struct ena_adapter *adapter) in ena_rss_configure()
2410 static int ena_up_complete(struct ena_adapter *adapter) in ena_up_complete()
2432 static int ena_create_io_tx_queue(struct ena_adapter *adapter, int qid) in ena_create_io_tx_queue()
2479 static int ena_create_io_tx_queues_in_range(struct ena_adapter *adapter, in ena_create_io_tx_queues_in_range()
2500 static int ena_create_io_rx_queue(struct ena_adapter *adapter, int qid) in ena_create_io_rx_queue()
2550 static int ena_create_all_io_rx_queues(struct ena_adapter *adapter) in ena_create_all_io_rx_queues()
2573 static void set_io_rings_size(struct ena_adapter *adapter, in set_io_rings_size()
2600 static int create_queues_with_size_backoff(struct ena_adapter *adapter) in create_queues_with_size_backoff()
2690 static int ena_up(struct ena_adapter *adapter) in ena_up()
2752 static void ena_down(struct ena_adapter *adapter) in ena_down()
2807 struct ena_adapter *adapter = netdev_priv(netdev); in ena_open()
2842 struct ena_adapter *adapter = netdev_priv(netdev); in ena_close()
2866 int ena_update_queue_params(struct ena_adapter *adapter, in ena_update_queue_params()
2899 int ena_set_rx_copybreak(struct ena_adapter *adapter, u32 rx_copybreak) in ena_set_rx_copybreak()
2917 int ena_update_queue_count(struct ena_adapter *adapter, u32 new_channel_count) in ena_update_queue_count()
3040 struct ena_adapter *adapter = tx_ring->adapter; in ena_tx_map_skb()
3141 struct ena_adapter *adapter = netdev_priv(dev); in ena_start_xmit()
3311 static void ena_config_debug_area(struct ena_adapter *adapter) in ena_config_debug_area()
3349 int ena_update_hw_stats(struct ena_adapter *adapter) in ena_update_hw_stats()
3365 struct ena_adapter *adapter = netdev_priv(netdev); in ena_get_stats64()
3438 static void ena_calc_io_queue_size(struct ena_adapter *adapter, in ena_calc_io_queue_size()
3530 static int ena_device_validate_params(struct ena_adapter *adapter, in ena_device_validate_params()
3553 static void set_default_llq_configurations(struct ena_adapter *adapter, in set_default_llq_configurations()
3630 static int ena_device_init(struct ena_adapter *adapter, struct pci_dev *pdev, in ena_device_init()
3741 static int ena_enable_msix_and_set_admin_interrupts(struct ena_adapter *adapter) in ena_enable_msix_and_set_admin_interrupts()
3773 static void ena_destroy_device(struct ena_adapter *adapter, bool graceful) in ena_destroy_device()
3819 static int ena_restore_device(struct ena_adapter *adapter) in ena_restore_device()
3893 struct ena_adapter *adapter = in ena_fw_reset_device()
3894 container_of(work, struct ena_adapter, reset_task); in ena_fw_reset_device()
3908 static int check_for_rx_interrupt_queue(struct ena_adapter *adapter, in check_for_rx_interrupt_queue()
3933 static int check_missing_comp_in_tx_queue(struct ena_adapter *adapter, in check_missing_comp_in_tx_queue()
3999 static void check_for_missing_completions(struct ena_adapter *adapter) in check_for_missing_completions()
4058 static void check_for_empty_rx_ring(struct ena_adapter *adapter) in check_for_empty_rx_ring()
4093 static void check_for_missing_keep_alive(struct ena_adapter *adapter) in check_for_missing_keep_alive()
4114 static void check_for_admin_com_state(struct ena_adapter *adapter) in check_for_admin_com_state()
4125 static void ena_update_hints(struct ena_adapter *adapter, in ena_update_hints()
4174 struct ena_adapter *adapter = from_timer(adapter, t, timer_service); in ena_timer_service()
4282 static void ena_set_conf_feat_params(struct ena_adapter *adapter, in ena_set_conf_feat_params()
4304 static int ena_rss_init_default(struct ena_adapter *adapter) in ena_rss_init_default()
4370 struct ena_adapter *adapter; in ena_probe()
4420 netdev = alloc_etherdev_mq(sizeof(struct ena_adapter), ENA_MAX_RINGS); in ena_probe()
4593 struct ena_adapter *adapter = pci_get_drvdata(pdev); in __ena_shutoff()
4670 struct ena_adapter *adapter = pci_get_drvdata(pdev); in ena_suspend()
4690 struct ena_adapter *adapter = dev_get_drvdata(dev_d); in ena_resume()
4749 struct ena_adapter *adapter = (struct ena_adapter *)adapter_data; in ena_update_on_link_change()
4769 struct ena_adapter *adapter = (struct ena_adapter *)adapter_data; in ena_keep_alive_wd()
4792 struct ena_adapter *adapter = (struct ena_adapter *)adapter_data; in ena_notification()
4817 struct ena_adapter *adapter = (struct ena_adapter *)data; in unimplemented_aenq_handler()