/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_mr_tcam.c | 24 struct parman_item parman_item; member 29 struct parman_item *parman_item, in mlxsw_sp1_mr_tcam_route_replace() 37 mlxsw_reg_rmft2_ipv4_pack(rmft2_pl, true, parman_item->index, in mlxsw_sp1_mr_tcam_route_replace() 47 mlxsw_reg_rmft2_ipv6_pack(rmft2_pl, true, parman_item->index, in mlxsw_sp1_mr_tcam_route_replace() 61 struct parman_item *parman_item, in mlxsw_sp1_mr_tcam_route_remove() 69 mlxsw_reg_rmft2_ipv4_pack(rmft2_pl, false, parman_item->index, in mlxsw_sp1_mr_tcam_route_remove() 73 mlxsw_reg_rmft2_ipv6_pack(rmft2_pl, false, parman_item in mlxsw_sp1_mr_tcam_route_remove() 28 mlxsw_sp1_mr_tcam_route_replace(struct mlxsw_sp *mlxsw_sp, struct parman_item *parman_item, struct mlxsw_sp_mr_route_key *key, struct mlxsw_afa_block *afa_block) mlxsw_sp1_mr_tcam_route_replace() argument 60 mlxsw_sp1_mr_tcam_route_remove(struct mlxsw_sp *mlxsw_sp, struct parman_item *parman_item, struct mlxsw_sp_mr_route_key *key) mlxsw_sp1_mr_tcam_route_remove() argument [all...] |
H A D | spectrum_acl_ctcam.c | 62 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_insert() 95 centry->parman_item.index, 0); in mlxsw_sp_acl_ctcam_region_entry_remove() 112 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_action_replace() 198 ¢ry->parman_item); in mlxsw_sp_acl_ctcam_entry_add() 210 ¢ry->parman_item); in mlxsw_sp_acl_ctcam_entry_add() 221 ¢ry->parman_item); in mlxsw_sp_acl_ctcam_entry_del()
|
H A D | spectrum_acl_tcam.h | 105 struct parman_item parman_item; member 143 return centry->parman_item.index; in mlxsw_sp_acl_ctcam_entry_offset()
|
/kernel/linux/linux-5.10/lib/ |
H A D | parman.c | 45 struct parman_item *item); 47 struct parman_item *item); 93 static struct parman_item *parman_prio_first_item(struct parman_prio *prio) in parman_prio_first_item() 96 typeof(struct parman_item), list); in parman_prio_first_item() 104 static struct parman_item *parman_prio_last_item(struct parman_prio *prio) in parman_prio_last_item() 107 typeof(struct parman_item), list); in parman_prio_last_item() 127 struct parman_item *item, unsigned long to_index, in __parman_prio_move() 136 struct parman_item *item; in parman_prio_shift_down() 151 struct parman_item *item; in parman_prio_shift_up() 165 struct parman_item *ite in parman_prio_item_remove() [all...] |
H A D | test_parman.c | 72 struct parman_item parman_item; member 213 &item->parman_item); in test_parman_items_fini() 283 &item->parman_item); in test_parman_run() 286 test_parman->prio_array[item->parman_item.index] = item; in test_parman_run() 289 test_parman->prio_array[item->parman_item.index] = NULL; in test_parman_run() 292 &item->parman_item); in test_parman_run() 336 if (item->parman_item.index != i) { in test_parman_check_array() 338 item->parman_item.index, i); in test_parman_check_array()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_mr_tcam.c | 24 struct parman_item parman_item; member 29 struct parman_item *parman_item, in mlxsw_sp1_mr_tcam_route_replace() 37 mlxsw_reg_rmft2_ipv4_pack(rmft2_pl, true, parman_item->index, in mlxsw_sp1_mr_tcam_route_replace() 47 mlxsw_reg_rmft2_ipv6_pack(rmft2_pl, true, parman_item->index, in mlxsw_sp1_mr_tcam_route_replace() 61 struct parman_item *parman_item, in mlxsw_sp1_mr_tcam_route_remove() 69 mlxsw_reg_rmft2_ipv4_pack(rmft2_pl, false, parman_item->index, in mlxsw_sp1_mr_tcam_route_remove() 73 mlxsw_reg_rmft2_ipv6_pack(rmft2_pl, false, parman_item in mlxsw_sp1_mr_tcam_route_remove() 28 mlxsw_sp1_mr_tcam_route_replace(struct mlxsw_sp *mlxsw_sp, struct parman_item *parman_item, struct mlxsw_sp_mr_route_key *key, struct mlxsw_afa_block *afa_block) mlxsw_sp1_mr_tcam_route_replace() argument 60 mlxsw_sp1_mr_tcam_route_remove(struct mlxsw_sp *mlxsw_sp, struct parman_item *parman_item, struct mlxsw_sp_mr_route_key *key) mlxsw_sp1_mr_tcam_route_remove() argument [all...] |
H A D | spectrum_acl_ctcam.c | 62 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_insert() 95 centry->parman_item.index, 0); in mlxsw_sp_acl_ctcam_region_entry_remove() 112 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_action_replace() 198 ¢ry->parman_item); in mlxsw_sp_acl_ctcam_entry_add() 210 ¢ry->parman_item); in mlxsw_sp_acl_ctcam_entry_add() 221 ¢ry->parman_item); in mlxsw_sp_acl_ctcam_entry_del()
|
H A D | spectrum_acl_tcam.h | 100 struct parman_item parman_item; member 138 return centry->parman_item.index; in mlxsw_sp_acl_ctcam_entry_offset()
|
/kernel/linux/linux-6.6/lib/ |
H A D | parman.c | 45 struct parman_item *item); 47 struct parman_item *item); 92 static struct parman_item *parman_prio_first_item(struct parman_prio *prio) in parman_prio_first_item() 95 typeof(struct parman_item), list); in parman_prio_first_item() 103 static struct parman_item *parman_prio_last_item(struct parman_prio *prio) in parman_prio_last_item() 106 typeof(struct parman_item), list); in parman_prio_last_item() 126 struct parman_item *item, unsigned long to_index, in __parman_prio_move() 135 struct parman_item *item; in parman_prio_shift_down() 150 struct parman_item *item; in parman_prio_shift_up() 164 struct parman_item *ite in parman_prio_item_remove() [all...] |
H A D | test_parman.c | 72 struct parman_item parman_item; member 213 &item->parman_item); in test_parman_items_fini() 283 &item->parman_item); in test_parman_run() 286 test_parman->prio_array[item->parman_item.index] = item; in test_parman_run() 289 test_parman->prio_array[item->parman_item.index] = NULL; in test_parman_run() 292 &item->parman_item); in test_parman_run() 336 if (item->parman_item.index != i) { in test_parman_check_array() 338 item->parman_item.index, i); in test_parman_check_array()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | parman.h | 44 struct parman_item { struct 72 struct parman_item *item); 74 struct parman_item *item);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | parman.h | 44 struct parman_item { struct 72 struct parman_item *item); 74 struct parman_item *item);
|