Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c, line 2749
Smatch caller information:
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_set_eth_mac() -> bnx2x_set_mac_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->mf_config | 4096-ptr_max |
| PARAM_VALUE | 4 | mac_type | 1 |
| PARAM_VALUE | 5 | ramrod_flags | 6883552451538264064 |
| PARAM_VALUE | 5 | *ramrod_flags | 0 |
| BUF_SIZE | 1 | mac | 32 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 3 | set | $1 |
| BIT_INFO | 0 | bp->flags | 0x0,0xffbfffff |
| BIT_INFO | 0 | bp->msg_enable | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_set_iscsi_eth_mac_addr() -> bnx2x_set_mac_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 2 | obj | 4096-ptr_max |
| PARAM_VALUE | 3 | set | 1 |
| PARAM_VALUE | 4 | mac_type | 2 |
| PARAM_VALUE | 5 | ramrod_flags | 4591939801920626688 |
| PARAM_VALUE | 5 | *ramrod_flags | 0 |
| BUF_SIZE | 1 | mac | 6 |
| DATA_SOURCE | 0 | bp | $0 |
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_set_uc_list() -> bnx2x_set_mac_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev->addr_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | bp->link_params.bp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | bp->panic | 1 |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.delete_all | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.exe_queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.owner->vlan_mac.raw.rdata->hdr.client_id | 255 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.owner->vlan_mac.raw.rdata->hdr.echo | 0-4294967295 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.owner->vlan_mac.raw.rdata->hdr.length | 1 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.owner->vlan_mac.raw.rdata->header.echo | 0-4294967295 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.pending_comp.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.pending_comp.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.head_exe_request | 0 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.saved_ramrod_flags | 0 |
| PARAM_VALUE | 0 | bp->spq_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->stats_state | 0 |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bp->mf_config | 0-4294967295 |
| PARAM_VALUE | 2 | obj | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->delete_all | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->exe_queue.exe_queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->hdr.client_id | 255 |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->hdr.echo | 0-4294967295 |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->hdr.length | 1 |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->header.echo | 0-4294967295 |
| PARAM_VALUE | 2 | obj->exe_queue.pending_comp.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->exe_queue.pending_comp.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->head_exe_request | 0 |
| PARAM_VALUE | 2 | obj->saved_ramrod_flags | 0 |
| PARAM_VALUE | 3 | set | 1 |
| PARAM_VALUE | 4 | mac_type | 0 |
| PARAM_VALUE | 5 | ramrod_flags | 3520817901733597184 |
| PARAM_VALUE | 5 | *ramrod_flags | 0 |
| BUF_SIZE | 1 | mac | 32 |
| BUF_SIZE | 2 | obj | 400 |
| DATA_SOURCE | 0 | bp | $0 |
| PARAM_COMPARE | 0 | &bp->sp_objs->mac_obj | == $2 |
| BIT_INFO | 0 | bp->dev->flags | 0x0,0xfffffcff |
| BIT_INFO | 0 | bp->flags | 0x0,0xffbfffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_set_uc_list() -> bnx2x_set_mac_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev->addr_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | bp->link_params.bp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | bp->panic | 1 |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.delete_all | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.exe_queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.owner->vlan_mac.raw.rdata->hdr.client_id | 255 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.owner->vlan_mac.raw.rdata->hdr.echo | 0-4294967295 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.owner->vlan_mac.raw.rdata->hdr.length | 1 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.owner->vlan_mac.raw.rdata->header.echo | 0-4294967295 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.pending_comp.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.exe_queue.pending_comp.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.head_exe_request | 0 |
| PARAM_VALUE | 0 | bp->sp_objs->mac_obj.saved_ramrod_flags | 0 |
| PARAM_VALUE | 0 | bp->spq_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->stats_state | 0 |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bp->mf_config | 0-4294967295 |
| PARAM_VALUE | 1 | mac | 0 |
| PARAM_VALUE | 2 | obj | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->delete_all | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->exe_queue.exe_queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->hdr.client_id | 255 |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->hdr.echo | 0-4294967295 |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->hdr.length | 1 |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->header.echo | 0-4294967295 |
| PARAM_VALUE | 2 | obj->exe_queue.pending_comp.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->exe_queue.pending_comp.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->head_exe_request | 0 |
| PARAM_VALUE | 2 | obj->saved_ramrod_flags | 0 |
| PARAM_VALUE | 3 | set | 0 |
| PARAM_VALUE | 4 | mac_type | 0 |
| PARAM_VALUE | 5 | ramrod_flags | 3520817901733597184 |
| PARAM_VALUE | 5 | *ramrod_flags | 0 |
| BUF_SIZE | 2 | obj | 400 |
| DATA_SOURCE | 0 | bp | $0 |
| PARAM_COMPARE | 0 | &bp->sp_objs->mac_obj | == $2 |
| BIT_INFO | 0 | bp->dev->flags | 0x0,0xfffffcff |
| BIT_INFO | 0 | bp->flags | 0x0,0xffbfffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c bnx2x_set_vf_mac() -> bnx2x_set_mac_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736 |
| PARAM_VALUE | 0 | bp->link_params.bp->dev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| PARAM_VALUE | 0 | bp->link_params.bp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736 |
| PARAM_VALUE | 0 | bp->panic | 1 |
| PARAM_VALUE | 0 | bp->pdev->bus->self->link_bwctrl->cdev | 0,4096-s64max |
| PARAM_VALUE | 0 | bp->pdev->link_bwctrl->cdev | 0,4096-s64max |
| PARAM_VALUE | 0 | bp->state | 12288 |
| PARAM_VALUE | 0 | bp->stats_state | 0 |
| PARAM_VALUE | 0 | bp->vfdb | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bp->vfdb->bulletin_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->vfdb->vfs | 4096-ptr_max |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 1 | mac | 4096-ptr_max |
| PARAM_VALUE | 2 | obj | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->delete_all | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->exe_queue.exe_queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->hdr.client_id | 255 |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->hdr.echo | 0-4294967295 |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->hdr.length | 1 |
| PARAM_VALUE | 2 | obj->exe_queue.owner->vlan_mac.raw.rdata->header.echo | 0-4294967295 |
| PARAM_VALUE | 2 | obj->exe_queue.pending_comp.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->exe_queue.pending_comp.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | obj->head_exe_request | 0 |
| PARAM_VALUE | 2 | obj->saved_ramrod_flags | 0 |
| PARAM_VALUE | 3 | set | 1 |
| PARAM_VALUE | 4 | mac_type | 1 |
| PARAM_VALUE | 5 | ramrod_flags | 3012694991548137472 |
| PARAM_VALUE | 5 | *ramrod_flags | 0 |
| BUF_SIZE | 1 | mac | 6 |
| BUF_SIZE | 2 | obj | 400 |
| CAPPED_DATA | 0 | &bp->vfdb->bulletin_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &vf->op_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct bnx2x_virtf)->op_mutex |