Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c macsec_fs_del_roce_rules_rx() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
UNITS 0 mdev unit_byte
LOCK2 &macsec->lock
TYPE_LOCK (struct mlx5_macsec)->lock

drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c macsec_fs_del_roce_rules_tx() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
UNITS 0 mdev unit_byte
LOCK2 &macsec->lock
TYPE_LOCK (struct mlx5_macsec)->lock

drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c macsec_fs_rdma_rx_destroy() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
DATA_SOURCE 0 mdev $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mdev unit_byte
LOCK2 &priv->macsec->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct mlx5e_macsec)->lock

drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c macsec_fs_rx_roce_create() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->priv.steering 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mdev unit_byte
LOCK2 &priv->macsec->lock
HALF_LOCKED2 &macsec_ctx->phydev->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct mlx5e_macsec)->lock

drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c macsec_fs_tx_destroy() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mdev unit_byte
LOCK2 &priv->macsec->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct mlx5e_macsec)->lock

drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c macsec_fs_tx_roce_create() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->priv.steering 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mdev unit_byte
LOCK2 &priv->macsec->lock
HALF_LOCKED2 &macsec_ctx->phydev->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct mlx5e_macsec)->lock

drivers/infiniband/hw/mlx5/macsec.c mlx5r_add_gid_macsec_operations() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mdev unit_byte
LOCK2 &table->lock
TYPE_LOCK (struct ib_gid_table)->lock

drivers/infiniband/hw/mlx5/macsec.c mlx5r_del_gid_macsec_operations() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mdev unit_byte
LOCK2 &table->lock
TYPE_LOCK (struct ib_gid_table)->lock

drivers/infiniband/hw/mlx5/macsec.c mlx5r_macsec_dealloc_gids() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
UNITS 0 mdev unit_byte

drivers/infiniband/hw/mlx5/macsec.c mlx5r_macsec_event_register() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->priv.events 4096-ptr_max
UNITS 0 mdev unit_byte

drivers/infiniband/hw/mlx5/macsec.c mlx5r_macsec_event_unregister() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
UNITS 0 mdev unit_byte

drivers/infiniband/hw/mlx5/macsec.c mlx5r_macsec_init_gids_and_devlist() -> mlx5_is_macsec_roce_supported()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->priv.eq_table->ctrl_irq 0-s64max
UNITS 0 mdev unit_byte