Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_bridge_vlan_learning_set() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp | 4096-ptr_max |
| CAPPED_DATA | 0 | mlxsw_sp_port | 1 |
| DATA_SOURCE | 0 | mlxsw_sp_port | $0 |
| DATA_SOURCE | 2 | learn_enable | $2 |
| UNITS | 1 | vid | unit_array_size |
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan_bridge_join() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| CAPPED_DATA | 1 | vid | 1 |
| BIT_INFO | 2 | learn_enable | 0x0,0x20 |
| UNITS | 1 | vid | unit_array_size |
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan_bridge_join() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->emad.trans_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | learn_enable | 0 |
| CAPPED_DATA | 1 | vid | 1 |
| NOCHECK_CALL | |||
| UNITS | 1 | vid | unit_array_size |
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_vlan_bridge_leave() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 2 | learn_enable | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | vid | unit_array_size |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c __mlxsw_sp_port_vlan_router_join() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->kvdl_ops->alloc | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->kvdl_ops->fini | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->kvdl_ops->free | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->kvdl_ops->init | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->mr_tcam_ops->route_priv_size | 8,32 |
| PARAM_VALUE | 2 | learn_enable | 0 |
| CAPPED_DATA | 1 | vid | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | vid | unit_array_size |
| HALF_LOCKED2 | &mlxsw_sp_port->mlxsw_sp->router->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c __mlxsw_sp_port_vlan_router_join() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_hard | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_lazy | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_queued | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_io_tlb_mem->dyn_alloc.is_soft | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->emad.trans_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->kvdl_ops->alloc | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->kvdl_ops->fini | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->kvdl_ops->free | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->kvdl_ops->init | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->mr_tcam_ops->route_priv_size | 8,32 |
| PARAM_VALUE | 2 | learn_enable | 1 |
| CAPPED_DATA | 1 | vid | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | vid | unit_array_size |
| HALF_LOCKED2 | &mlxsw_sp_port->mlxsw_sp->router->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c __mlxsw_sp_port_vlan_router_leave() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 2 | learn_enable | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | vid | unit_array_size |
| HALF_LOCKED2 | &mlxsw_sp->router->lock | ||
| HALF_LOCKED2 | &mlxsw_sp_port->mlxsw_sp->router->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_ovs_join() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->emad.trans_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | vid | 1-4095 |
| PARAM_VALUE | 2 | learn_enable | 0 |
| DATA_SOURCE | 0 | mlxsw_sp_port | $0 |
| FUZZY_MAX | 1 | vid | 4095 |
| HARD_MAX | 1 | vid | 4095 |
drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_ovs_join() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core | 4096-ptr_max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->cmd.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->bus_priv->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | mlxsw_sp_port->mlxsw_sp->core->emad.trans_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | vid | 1-4094 |
| PARAM_VALUE | 2 | learn_enable | 1 |
| DATA_SOURCE | 0 | mlxsw_sp_port | $0 |
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_ovs_leave() -> mlxsw_sp_port_vid_learning_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mlxsw_sp_port | 4096-ptr_max |
| PARAM_VALUE | 1 | vid | 1-4095 |
| PARAM_VALUE | 2 | learn_enable | 1 |
| DATA_SOURCE | 0 | mlxsw_sp_port | $0 |
| HARD_MAX | 1 | vid | 4095 |
| NOCHECK_CALL |