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/hisilicon/hns/hns_dsaf_mac.c
- drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
Smatch caller information:
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c hns_mac_port_config_bc_en() -> hns_dsaf_del_mac_mc_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsaf_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->ae_dev.ops | 5139769229715140608 |
| PARAM_VALUE | 0 | dsaf_dev->ae_dev.owner | 0 |
| PARAM_VALUE | 0 | dsaf_dev->buf_size | 512,1024,2048,4096 |
| PARAM_VALUE | 0 | dsaf_dev->buf_size_type | 0-3 |
| PARAM_VALUE | 0 | dsaf_dev->desc_num | 16-1024 |
| PARAM_VALUE | 0 | dsaf_dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->dsaf_en | 0-1 |
| PARAM_VALUE | 0 | dsaf_dev->dsaf_mode | 1-6,9-16 |
| PARAM_VALUE | 0 | dsaf_dev->dsaf_tc_mode | 0-1 |
| PARAM_VALUE | 0 | dsaf_dev->dsaf_ver | 3552816,825635120 |
| PARAM_VALUE | 0 | dsaf_dev->io_base | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->misc_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->ppe_base | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->sc_base | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->sds_base | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->sub_ctrl | 1-ptr_max |
| PARAM_VALUE | 1 | mac_entry | 5376312511644315648 |
| PARAM_VALUE | 1 | mac_entry->in_vlan_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c hns_mac_set_multi() -> hns_dsaf_del_mac_mc_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsaf_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->dsaf_mode | 0-7,9-u32max |
| PARAM_VALUE | 1 | mac_entry | 5914949166108729344 |
| PARAM_VALUE | 1 | mac_entry->in_vlan_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ndev->addr_list_lock | ||
| HALF_LOCKED2 | &ndev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &ndev->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c hns_mac_vm_config_bc_en() -> hns_dsaf_del_mac_mc_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsaf_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->dsaf_mode | 0-7,9-u32max |
| PARAM_VALUE | 1 | mac_entry | 6992162374556114944 |
| PARAM_VALUE | 1 | mac_entry->in_port_num | 0-6 |
| PARAM_VALUE | 1 | mac_entry->in_vlan_id | 0-4095 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hns_dsaf_clr_mac_mc_port() -> hns_dsaf_del_mac_mc_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsaf_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->dsaf_mode | 0-7,9-u32max |
| PARAM_VALUE | 1 | mac_entry | 3337212681797787648 |
| PARAM_VALUE | 1 | mac_entry->in_port_num | 0-6 |
| PARAM_VALUE | 1 | mac_entry->in_vlan_id | 0-4095 |
| DATA_SOURCE | 0 | dsaf_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ndev->addr_list_lock | ||
| HALF_LOCKED2 | &ndev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &ndev->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hns_dsaf_clr_mac_mc_port() -> hns_dsaf_del_mac_mc_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dsaf_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dsaf_dev->dsaf_mode | 0-7,9-u32max |
| PARAM_VALUE | 0 | dsaf_dev->tcam_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dsaf_dev->tcam_max_num | 506,512 |
| PARAM_VALUE | 1 | mac_entry | 3337212681797787648 |
| PARAM_VALUE | 1 | mac_entry->in_port_num | 0-6 |
| PARAM_VALUE | 1 | mac_entry->in_vlan_id | 0-4095 |
| PARAM_VALUE | 1 | mac_entry->port_num | 0-6 |
| CAPPED_DATA | 0 | dsaf_dev->tcam_max_num | 1 |
| DATA_SOURCE | 0 | dsaf_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ndev->addr_list_lock | ||
| HALF_LOCKED2 | &ndev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &ndev->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex |