Defined in 2 files as a function:
- drivers/net/ethernet/sfc/mcdi_port_common.c, line 1080 (as a function)
- drivers/net/ethernet/sfc/siena/mcdi_port_common.c, line 1097 (as a function)
Referenced in 2 files:
- drivers/net/ethernet/sfc/mcdi_port_common.c
- drivers/net/ethernet/sfc/siena/mcdi_port_common.c, line 1113
Smatch caller information:
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_siena_mcdi_set_mac() -> efx_calc_mac_mtu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->net_dev | 4096-ptr_max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | efx->pci_dev->current_state | 0-3[c] |
| USER_DATA | 0 | efx->wanted_fc | 0-7[c] |
| NO_OVERFLOW_SIMPLE | 0 | efx->stats_buffer.len | |
| NO_OVERFLOW_SIMPLE | 0 | efx->type->max_rx_ip_filters | |
| HALF_LOCKED2 | 0 | &efx->filter_sem | |
| HALF_LOCKED2 | 0 | &efx->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_set_mac() -> efx_calc_mac_mtu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->net_dev | 4096-ptr_max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | efx->pci_dev->current_state | 0-3[c] |
| USER_DATA | 0 | efx->wanted_fc | 0-7[c] |
| NO_OVERFLOW_SIMPLE | 0 | efx->stats_buffer.len | |
| NO_OVERFLOW_SIMPLE | 0 | efx->type->max_rx_ip_filters | |
| LOCK2 | 0 | &efx->filter_sem | |
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->filter_sem | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_set_mtu() -> efx_calc_mac_mtu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->net_dev | 4096-ptr_max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | efx | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | efx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | efx->pci_dev->current_state | 0-3[c] |
| USER_DATA | 0 | efx->wanted_fc | 0-7[c] |
| NO_OVERFLOW_SIMPLE | 0 | efx->stats_buffer.len | |
| NO_OVERFLOW_SIMPLE | 0 | efx->type->max_rx_ip_filters | |
| LOCK2 | 0 | &efx->filter_sem | |
| LOCK2 | 0 | &efx->mac_lock | |
| TYPE_LOCK | (struct efx_nic)->filter_sem | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |