Searched refs:ena_dev (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 71 static int ena_com_mem_addr_set(struct ena_com_dev *ena_dev, in ena_com_mem_addr_set() argument 75 if ((addr & GENMASK_ULL(ena_dev->dma_addr_bits - 1, 0)) != addr) { in ena_com_mem_addr_set() 76 netdev_err(ena_dev->net_device, in ena_com_mem_addr_set() 89 struct ena_com_dev *ena_dev = admin_queue->ena_dev; in ena_com_admin_init_sq() local 97 netdev_err(ena_dev->net_device, "Memory allocation failed\n"); in ena_com_admin_init_sq() 112 struct ena_com_dev *ena_dev = admin_queue->ena_dev; in ena_com_admin_init_cq() local 120 netdev_err(ena_dev->net_device, "Memory allocation failed\n"); in ena_com_admin_init_cq() 130 static int ena_com_admin_init_aenq(struct ena_com_dev *ena_dev, in ena_com_admin_init_aenq() argument 133 struct ena_com_aenq *aenq = &ena_dev->aenq; in ena_com_admin_init_aenq() 137 ena_dev->aenq.q_depth = ENA_ASYNC_QUEUE_DEPTH; in ena_com_admin_init_aenq() [all …]
|
D | ena_com.h | 218 struct ena_com_dev *ena_dev; member 377 int ena_com_mmio_reg_read_request_init(struct ena_com_dev *ena_dev); 383 void ena_com_set_mmio_read_mode(struct ena_com_dev *ena_dev, 390 void ena_com_mmio_reg_read_request_write_dev_addr(struct ena_com_dev *ena_dev); 395 void ena_com_mmio_reg_read_request_destroy(struct ena_com_dev *ena_dev); 406 int ena_com_admin_init(struct ena_com_dev *ena_dev, 416 void ena_com_admin_destroy(struct ena_com_dev *ena_dev); 424 int ena_com_dev_reset(struct ena_com_dev *ena_dev, 435 int ena_com_create_io_queue(struct ena_com_dev *ena_dev, 442 void ena_com_destroy_io_queue(struct ena_com_dev *ena_dev, u16 qid); [all …]
|
D | ena_ethtool.c | 171 ptr = (u64 *)&adapter->ena_dev->admin_queue.stats + in ena_dev_admin_queue_stats() 215 struct ena_com_dev *dev = adapter->ena_dev; in ena_get_ethtool_stats() 229 bool supported = ena_com_get_cap(adapter->ena_dev, ENA_ADMIN_ENI_STATS); in ena_get_hw_stats_count() 321 struct ena_com_dev *dev = adapter->ena_dev; in ena_get_ethtool_strings() 334 struct ena_com_dev *ena_dev = adapter->ena_dev; in ena_get_link_ksettings() local 339 rc = ena_com_get_link_params(ena_dev, &feat_resp); in ena_get_link_ksettings() 368 struct ena_com_dev *ena_dev = adapter->ena_dev; in ena_get_coalesce() local 370 if (!ena_com_interrupt_moderation_supported(ena_dev)) in ena_get_coalesce() 374 ena_com_get_nonadaptive_moderation_interval_tx(ena_dev) * in ena_get_coalesce() 375 ena_dev->intr_delay_resolution; in ena_get_coalesce() [all …]
|
D | ena_netdev.c | 125 ret = ena_com_set_dev_mtu(adapter->ena_dev, new_mtu); in ena_change_mtu() 683 ring->ena_dev = adapter->ena_dev; in ena_init_io_rings_common() 694 struct ena_com_dev *ena_dev; in ena_init_io_rings() local 698 ena_dev = adapter->ena_dev; in ena_init_io_rings() 709 txr->tx_max_header_size = ena_dev->tx_max_header_size; in ena_init_io_rings() 710 txr->tx_mem_queue_type = ena_dev->tx_mem_queue_type; in ena_init_io_rings() 713 ena_com_get_nonadaptive_moderation_interval_tx(ena_dev); in ena_init_io_rings() 727 ena_com_get_nonadaptive_moderation_interval_rx(ena_dev); in ena_init_io_rings() 1253 ena_com_destroy_io_queue(adapter->ena_dev, ena_qid); in ena_destroy_all_tx_queues() 1265 ena_com_destroy_io_queue(adapter->ena_dev, ena_qid); in ena_destroy_all_rx_queues() [all …]
|
D | ena_netdev.h | 244 struct ena_com_dev *ena_dev; member 316 struct ena_com_dev *ena_dev; member
|