Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/mirred.c parse_mirred() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->priv_flags 4-u32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &priv->mdev->priv.eswitch->mode_lock

drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c mlx5e_rep_check_indr_block_supported() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->priv_flags 1-u32max
DATA_SOURCE 0 dev $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
LOCK2 global &flow_indr_block_lock

drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c mlx5_tc_ct_get_flow_source_match() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
DATA_SOURCE 0 dev $1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c get_macvlan_queue() -> netif_is_macvlan()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_tc
UNITS 0 dev unit_byte
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_macvlan_up() -> netif_is_macvlan()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_tc
UNITS 0 dev unit_byte
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_reassign_macvlan_pool() -> netif_is_macvlan()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_tc
UNITS 0 dev unit_byte
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 rcu_read

drivers/net/macvlan.c macvlan_common_newlink() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev->ifindex 1
DATA_SOURCE 0 dev r __dev_get_by_index
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &ops->srcu
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

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c __mlxsw_sp_inetaddr_event() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
DATA_SOURCE 0 dev $1
UNITS 0 dev unit_byte
HALF_LOCKED2 &mlxsw_sp->router->lock
HALF_LOCKED2 &mlxsw_sp->router->lock
HALF_LOCKED2 &router->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c __mlxsw_sp_rif_macvlan_flush() -> netif_is_macvlan()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_tc
UNITS 0 dev unit_byte
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 rcu_read

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_macvlan_replay_upper() -> netif_is_macvlan()

Type Parameter Key Value
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_tc
UNITS 0 dev unit_byte
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 rcu_read

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_netdevice_vrf_event() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev 1
DATA_SOURCE 0 dev $0
LOCK2 &mlxsw_sp->router->lock
TYPE_LOCK (struct mlxsw_sp_router)->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_rif_should_config() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
CAPPED_DATA 0 dev->ip_ptr 1
DATA_SOURCE 0 dev $1
UNITS 0 dev unit_byte
HALF_LOCKED2 &mlxsw_sp->router->lock
HALF_LOCKED2 &router->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct mlxsw_sp_router)->lock

drivers/net/ethernet/mellanox/mlxsw/spectrum.c __mlxsw_sp_netdevice_event() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
DATA_SOURCE 0 dev r netdev_notifier_info_to_dev

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_netdevice_bridge_event() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
UNITS 0 dev unit_byte

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_netdevice_bridge_event() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
UNITS 0 dev unit_byte

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_netdevice_bridge_vlan_event() -> netif_is_macvlan()

Type Parameter Key Value
UNITS 0 dev unit_byte

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_netdevice_bridge_vlan_event() -> netif_is_macvlan()

Type Parameter Key Value
UNITS 0 dev unit_byte

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_netdevice_port_upper_event() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
UNITS 0 dev unit_byte

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_netdevice_port_upper_event() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
UNITS 0 dev unit_byte

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_netdevice_port_vlan_event() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
UNITS 0 dev unit_byte

drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_netdevice_port_vlan_event() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
UNITS 0 dev unit_byte

drivers/net/ethernet/marvell/prestera/prestera_router.c prestera_dev_if_type() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->priv_flags 1-u32max
DATA_SOURCE 0 dev $0
UNITS 0 dev unit_byte
HALF_LOCKED2 &n->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 bh
HALF_LOCKED2 global &rtnl_mutex

drivers/net/bonding/bond_alb.c alb_upper_dev_walk() -> netif_is_macvlan()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->priv_flags 1-u32max
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_tc
UNITS 0 dev unit_byte
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 rcu_read