Searched refs:gid_idx (Results 1 – 6 of 6) sorted by relevance
/linux/include/linux/mlx5/ |
H A D | macsec.h | 15 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 D | macsec.c | 14 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 D | macsec_fs.c | 65 u16 gid_idx; member 123 u16 gid_idx; member 2127 static int mlx5_macsec_fs_add_roce_rule_rx(struct mlx5_macsec_fs *macsec_fs, u32 fs_id, u16 gid_idx, in mlx5_macsec_fs_add_roce_rule_rx() argument 2177 rx_rule->gid_idx = gid_idx; in mlx5_macsec_fs_add_roce_rule_rx() 2193 static int mlx5_macsec_fs_add_roce_rule_tx(struct mlx5_macsec_fs *macsec_fs, u32 fs_id, u16 gid_idx, in mlx5_macsec_fs_add_roce_rule_tx() argument 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() 2282 int mlx5_macsec_add_roce_rule(void *macdev, const struct sockaddr *addr, u16 gid_idx, in mlx5_macsec_add_roce_rule() argument [all …]
|
/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_sp.h | 326 struct bnxt_qplib_gid *gid, u16 gid_idx,
|
H A D | qplib_sp.c | 392 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 D | main.c | 1745 u16 gid_idx, index; in bnxt_re_update_gid() local 1752 gid_idx = sgid_tbl->hw_id[index]; in bnxt_re_update_gid() 1765 rc = bnxt_qplib_update_sgid(sgid_tbl, &gid, gid_idx, in bnxt_re_update_gid()
|