Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/amazon/ena/ena_netdev.c ena_rss_init_default() -> ena_com_fill_hash_function()

Type Parameter Key Value
PARAM_VALUE 0 ena_dev 4096-ptr_max
PARAM_VALUE 0 ena_dev->admin_queue.completion_timeout 0-65535000
PARAM_VALUE 0 ena_dev->admin_queue.curr_cmd_id 0-33
PARAM_VALUE 0 ena_dev->admin_queue.q_depth 0,32
PARAM_VALUE 0 ena_dev->admin_queue.q_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ena_dev->admin_queue.sq.phase 0-1
PARAM_VALUE 0 ena_dev->aenq.aenq_handlers 0,6300059557315182592
PARAM_VALUE 0 ena_dev->aenq.q_depth 0,16
PARAM_VALUE 0 ena_dev->customer_metrics.supported_metrics 0,31
PARAM_VALUE 0 ena_dev->dma_addr_bits 0,32-48
PARAM_VALUE 0 ena_dev->dmadev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ena_dev->dmadev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ena_dev->dmadev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ena_dev->dmadev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ena_dev->dmadev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ena_dev->dmadev->dma_uses_io_tlb 1
PARAM_VALUE 0 ena_dev->dmadev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ena_dev->rss.hash_ctrl 0-ptr_max
PARAM_VALUE 0 ena_dev->rss.hash_func 0
PARAM_VALUE 0 ena_dev->rss.hash_init_val 0
PARAM_VALUE 0 ena_dev->rss.hash_key 0-ptr_max
PARAM_VALUE 0 ena_dev->rss.hash_key->key_parts 0
PARAM_VALUE 0 ena_dev->rss.hash_key->reserved 0
PARAM_VALUE 0 ena_dev->rss.host_rss_ind_tbl 0
PARAM_VALUE 0 ena_dev->rss.rss_ind_tbl 0
PARAM_VALUE 0 ena_dev->rss.rss_ind_tbl_dma_addr 0
PARAM_VALUE 0 ena_dev->rss.tbl_log_size 0
PARAM_VALUE 0 ena_dev->tx_mem_queue_type 0-1,3
PARAM_VALUE 0 *ena_dev->admin_queue->ena_dev->net_device->name 0-255
PARAM_VALUE 0 *ena_dev->net_device->name 0-255
PARAM_VALUE 1 func 1
PARAM_VALUE 2 key 0
PARAM_VALUE 3 key_len 40
PARAM_VALUE 4 init_val u32max
BUF_SIZE 0 ena_dev (-1),66304
BUF_SIZE 0 ena_dev (-1),66304
CAPPED_DATA 0 ena_dev->admin_queue.q_depth 1
CAPPED_DATA 0 ena_dev->aenq.q_depth 1
MEM_ZERO 0 &ena_dev->rss
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/amazon/ena/ena_ethtool.c ena_set_rxfh() -> ena_com_fill_hash_function()

Type Parameter Key Value
PARAM_VALUE 3 key_len 40
PARAM_VALUE 4 init_val u32max
BUF_SIZE 2 key 1-u16max
RX_PATH
TASK_NOT_RUNNING
UNITS 2 key unit_byte
USER_PTR 2 key
LOCK2 &netdev->ethtool->rss_lock
TYPE_LOCK (struct ethtool_netdev_state)->rss_lock