Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/mellanox/mlx4/en_netdev.c, line 748
- drivers/net/ethernet/mellanox/mlx4/port.c, line 514
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_replace_mac() -> __mlx4_replace_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.steering_mode | 0 |
| PARAM_VALUE | 3 | new_mac | 0-255 |
| DATA_SOURCE | 2 | qpn | $1 |
| DATA_SOURCE | 3 | new_mac | r ether_addr_to_u64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port | unit_array_size |
| UNITS | 2 | qpn | unit_array_size |
| LOCK2 | &mdev->state_lock | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |