Home
last modified time | relevance | path

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

/linux/include/linux/mlx5/
H A Dmacsec.h15 int mlx5_macsec_add_roce_rule(void *macdev, const struct sockaddr *addr, u16 gid_idx,
19 void mlx5_macsec_del_roce_rule(u16 gid_idx, struct mlx5_macsec_fs *macsec_fs,
22 void mlx5_macsec_add_roce_sa_rules(u32 fs_id, const struct sockaddr *addr, u16 gid_idx,
/linux/drivers/infiniband/hw/mlx5/
H A Dmacsec.c14 u16 gid_idx; member
68 static void mlx5_macsec_del_roce_gid(struct mlx5_macsec_device *macsec_device, u16 gid_idx) in mlx5_macsec_del_roce_gid() argument
74 if (current_gid->gid_idx == gid_idx) { in mlx5_macsec_del_roce_gid()
81 const struct sockaddr *addr, u16 gid_idx) in mlx5_macsec_save_roce_gid() argument
89 roce_gids->gid_idx = gid_idx; in mlx5_macsec_save_roce_gid()
110 gid->gid_idx, &macsec_device->tx_rules_list, in handle_macsec_gids()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c65 u16 gid_idx; member
123 u16 gid_idx; member
2177 rx_rule->gid_idx = gid_idx; in mlx5_macsec_fs_add_roce_rule_rx()
2249 tx_rule->gid_idx = gid_idx; in mlx5_macsec_fs_add_roce_rule_tx()
2264 void mlx5_macsec_del_roce_rule(u16 gid_idx, struct mlx5_macsec_fs *macsec_fs, in mlx5_macsec_del_roce_rule() argument
2271 if (tx_rule->gid_idx == gid_idx) in mlx5_macsec_del_roce_rule()
2276 if (rx_rule->gid_idx == gid_idx) in mlx5_macsec_del_roce_rule()
2303 err = mlx5_macsec_fs_add_roce_rule_tx(macsec_fs, fs_id_iter->id, gid_idx, addr, in mlx5_macsec_add_roce_rule()
2323 mlx5_macsec_del_roce_rule(gid_idx, macsec_fs, tx_rules_list, rx_rules_list); in mlx5_macsec_add_roce_rule()
2334 mlx5_macsec_fs_add_roce_rule_tx(macsec_fs, fs_id, gid_idx, addr, in mlx5_macsec_add_roce_sa_rules()
[all …]
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.h326 struct bnxt_qplib_gid *gid, u16 gid_idx,
H A Dqplib_sp.c392 struct bnxt_qplib_gid *gid, u16 gid_idx, in bnxt_qplib_update_sgid() argument
423 req.gid_index = cpu_to_le16(gid_idx); in bnxt_qplib_update_sgid()
H A Dmain.c1474 u16 gid_idx, index; in bnxt_re_update_gid() local
1481 gid_idx = sgid_tbl->hw_id[index]; in bnxt_re_update_gid()
1494 rc = bnxt_qplib_update_sgid(sgid_tbl, &gid, gid_idx, in bnxt_re_update_gid()
/linux/Documentation/ABI/stable/
H A Dsysfs-class-infiniband330 What: /sys/class/infiniband/mlx4_X/iov/ports/<pci-slot-num>/ports/<m>/gid_idx/0
361 <m>/gid_idx/0: (RO) Display the GID mapping m = 1..2