Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c, line 631
- drivers/net/ethernet/intel/fm10k/fm10k_netdev.c, line 471
Smatch caller information:
drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c fm10k_set_ringparam() -> fm10k_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interface | 4096-ptr_max |
| PARAM_VALUE | 0 | interface->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | interface->state | 4096-ptr_max |
| PARAM_VALUE | 0 | interface->stats.q->rx_packets.base_h | 0-4294967295 |
| PARAM_VALUE | 0 | interface->stats.q->tx_packets.base_h | 0-4294967295 |
| PARAM_VALUE | 0 | interface->tx_ring_count | 0-u16max |
| FUZZY_MAX | 0 | interface->tx_ring_count | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | interface->stats.q->rx_packets.base_h | 2147483648,2147483652-2147484156[c] |
| HOST_DATA | 0 | interface->stats.q->tx_packets.base_h | 2147483648-2147483775[c] |
| HOST_DATA | 0 | interface->stats.timeout.base_h | 2147483648-2147483775[c] |
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c fm10k_open() -> fm10k_up()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | interface | 4096-ptr_max |
| PARAM_VALUE | 0 | interface->glort_count | 0-65472 |
| PARAM_VALUE | 0 | interface->num_rx_queues | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | interface->num_tx_queues | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | interface->num_q_vectors | 1 |
| CAPPED_DATA | 0 | interface->num_rx_queues | 1 |
| CAPPED_DATA | 0 | interface->num_tx_queues | 1 |
| CONSTRAINT | 0 | interface->num_rx_queues | <=3120 |
| CONSTRAINT | 0 | interface->num_tx_queues | <=3121 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |