Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c, line 101
- drivers/net/ethernet/sfc/tc_encap_actions.c, line 326
- drivers/net/vxlan/vxlan_core.c, line 2232
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c mlx5e_gen_ip_tunnel_header_vxlan() -> vxlan_vni_field()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | vni | r tunnel_id_to_key32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &esw->offloads.encap_tbl_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx5_esw_offload)->encap_tbl_lock |
drivers/net/ethernet/sfc/tc_encap_actions.c efx_gen_tun_header_vxlan() -> vxlan_vni_field()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &encap->neigh->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &efx->tc->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct efx_neigh_binder)->lock |
drivers/net/vxlan/vxlan_core.c vxlan_build_skb() -> vxlan_vni_field()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | vni | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |