Home
last modified time | relevance | path

Searched refs:physical_gid (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/infiniband/hw/mlx5/
H A Dmacsec.c9 const struct ib_gid_attr *physical_gid; member
222 const struct ib_gid_attr *physical_gid; in mlx5r_add_gid_macsec_operations() local
260 physical_gid = rdma_find_gid(attr->device, &attr->gid, in mlx5r_add_gid_macsec_operations()
262 if (!IS_ERR(physical_gid)) { in mlx5r_add_gid_macsec_operations()
263 ret = set_roce_addr(to_mdev(physical_gid->device), in mlx5r_add_gid_macsec_operations()
264 physical_gid->port_num, in mlx5r_add_gid_macsec_operations()
265 physical_gid->index, NULL, in mlx5r_add_gid_macsec_operations()
266 physical_gid); in mlx5r_add_gid_macsec_operations()
270 mgids = &dev->port[attr->port_num - 1].reserved_gids[physical_gid->index]; in mlx5r_add_gid_macsec_operations()
272 mgids->physical_gid = physical_gid; in mlx5r_add_gid_macsec_operations()
[all …]