Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_config_vsi_rx_queue() -> i40e_get_max_num_descriptors()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
CAPPED_DATA 0 pf->num_alloc_vsi 1
RX_PATH
UNITS 0 pf unit_byte
LOCK2 &pool->lock

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_config_vsi_tx_queue() -> i40e_get_max_num_descriptors()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
CAPPED_DATA 0 pf->num_alloc_vsi 1
UNITS 0 pf unit_byte
LOCK2 &pool->lock

drivers/net/ethernet/intel/i40e/i40e_ethtool.c i40e_get_ringparam() -> i40e_get_max_num_descriptors()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_ethtool.c i40e_get_ringparam() -> i40e_get_max_num_descriptors()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/i40e/i40e_ethtool.c i40e_set_ringparam() -> i40e_get_max_num_descriptors()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte