Searched refs:roce_gids (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | macsec.c | 83 struct mlx5_roce_gids *roce_gids; in mlx5_macsec_save_roce_gid() local 85 roce_gids = kzalloc(sizeof(*roce_gids), GFP_KERNEL); in mlx5_macsec_save_roce_gid() 86 if (!roce_gids) in mlx5_macsec_save_roce_gid() 89 roce_gids->gid_idx = gid_idx; in mlx5_macsec_save_roce_gid() 91 memcpy(&roce_gids->addr.sockaddr_in, addr, sizeof(roce_gids->addr.sockaddr_in)); in mlx5_macsec_save_roce_gid() 93 memcpy(&roce_gids->addr.sockaddr_in6, addr, sizeof(roce_gids->addr.sockaddr_in6)); in mlx5_macsec_save_roce_gid() 95 list_add_tail(&roce_gids->roce_gid_list_entry, &macsec_device->macsec_roce_gids); in mlx5_macsec_save_roce_gid()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 97 memset(table->roce_gids[i].raw, 0, MLX4_ROCE_GID_ENTRY_SIZE); in mlx4_init_roce_gid_table() 1185 memcpy(priv->port[port].gid_table.roce_gids[offset].raw, in mlx4_reset_roce_port_gids() 1192 priv->port[port].gid_table.roce_gids[i].raw, in mlx4_reset_roce_port_gids() 1437 gid_entry_tbl = &priv->port[port].gid_table.roce_gids[i]; in mlx4_common_set_port() 1459 memcpy(priv->port[port].gid_table.roce_gids[offset].raw, in mlx4_common_set_port() 1466 priv->port[port].gid_table.roce_gids[i].raw, in mlx4_common_set_port() 1875 if (!memcmp(priv->port[port].gid_table.roce_gids[i].raw, gid, in mlx4_get_slave_from_roce_gid() 1964 memcpy(gid, priv->port[port].gid_table.roce_gids[slave_id].raw, in mlx4_get_roce_gid_from_slave()
|
D | mlx4.h | 763 struct mlx4_roce_gid_entry roce_gids[MLX4_ROCE_MAX_GIDS]; member
|