Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/net/switchdev.h, line 389 (as a function)
- net/switchdev/switchdev.c, line 1020 (as a function)
Referenced in 11 files:
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c, line 2281
- drivers/net/ethernet/marvell/prestera/prestera_switchdev.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
- drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c
- drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c, line 227
- drivers/net/ethernet/mscc/ocelot_net.c
- drivers/net/ethernet/rocker/rocker_ofdpa.c, line 2597
- drivers/net/ethernet/ti/am65-cpsw-nuss.c, line 2962
- drivers/net/ethernet/ti/cpsw_new.c, line 1571
- net/dsa/port.c
- net/switchdev/switchdev.c, line 1039
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_net.c ocelot_netdevice_bridge_join() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brport_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | atomic_nb | 1893496320009912320 |
| PARAM_VALUE | 3 | blocking_nb | 381469064173043712 |
| CAPPED_DATA | 0 | brport_dev | 1 |
| DATA_SOURCE | 0 | brport_dev | $1 |
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |
drivers/net/ethernet/mscc/ocelot_net.c ocelot_netdevice_pre_bridge_leave() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brport_dev | 1-u64max |
| PARAM_VALUE | 2 | atomic_nb | 1893496320009912320 |
| PARAM_VALUE | 3 | blocking_nb | 381469064173043712 |
| DATA_SOURCE | 0 | brport_dev | $1 |
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_pre_bridge_leave() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brport_dev | 1-u64max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | atomic_nb | 7590667090314301440 |
| PARAM_VALUE | 3 | blocking_nb | 4916402317480300544 |
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |
drivers/net/ethernet/rocker/rocker_ofdpa.c ofdpa_port_bridge_leave() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | atomic_nb | 0 |
| PARAM_VALUE | 3 | blocking_nb | 0 |
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_port_destroy() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | atomic_nb | 0 |
| PARAM_VALUE | 3 | blocking_nb | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_vxlan_leave() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brport_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | brport_dev->rtnl_link_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | atomic_nb | 0 |
| PARAM_VALUE | 3 | blocking_nb | 0 |
| DATA_SOURCE | 0 | brport_dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_port_bridge_leave() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | atomic_nb | 0 |
| PARAM_VALUE | 3 | blocking_nb | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c lan966x_port_prechangeupper() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | atomic_nb | 0 |
| PARAM_VALUE | 3 | blocking_nb | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c lan966x_port_prechangeupper() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brport_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | atomic_nb | 0 |
| PARAM_VALUE | 3 | blocking_nb | 0 |
| CAPPED_DATA | 0 | brport_dev | 1 |
| DATA_SOURCE | 0 | brport_dev | $1 |
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |
drivers/net/ethernet/ti/cpsw_new.c cpsw_netdevice_port_unlink() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brport_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | brport_dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | atomic_nb | 0 |
| PARAM_VALUE | 3 | blocking_nb | 0 |
| DATA_SOURCE | 0 | brport_dev | $0 |
| NOCHECK_CALL |
net/dsa/port.c dsa_port_bridge_join() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | atomic_nb | 3885215109822955520 |
| PARAM_VALUE | 3 | blocking_nb | 7707469912871845888 |
| DATA_SOURCE | 1 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |
net/dsa/port.c dsa_port_pre_bridge_leave() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brport_dev | 1-u64max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | atomic_nb | 3885215109822955520 |
| PARAM_VALUE | 3 | blocking_nb | 7707469912871845888 |
| DATA_SOURCE | 1 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |
drivers/net/ethernet/marvell/prestera/prestera_switchdev.c prestera_bridge_port_join() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brport_dev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | brport_dev->priv->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | brport_dev->priv->sw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | brport_dev->priv->sw->dev->send_req | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | atomic_nb | 0 |
| PARAM_VALUE | 3 | blocking_nb | 0 |
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |
drivers/net/ethernet/marvell/prestera/prestera_switchdev.c prestera_bridge_port_leave() -> switchdev_bridge_port_unoffload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brport_dev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | brport_dev->priv->sw | 4096-ptr_max |
| PARAM_VALUE | 0 | brport_dev->priv->sw->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | brport_dev->priv->sw->dev->send_req | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | atomic_nb | 0 |
| PARAM_VALUE | 3 | blocking_nb | 0 |
| CAPPED_DATA | 0 | brport_dev | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | brport_dev | unit_byte |