Home
last modified time | relevance | path

Searched refs:tcam_idx (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c130 int *tcam_idx, const u8 *addr, in cxgb4_update_mac_filt()
135 ret = cxgb4_change_mac(pi, viid, tcam_idx, in cxgb4_update_mac_filt()
140 cxgb4_mps_ref_inc(pi->adapter, addr, *tcam_idx, NULL); in cxgb4_update_mac_filt()
129 cxgb4_update_mac_filt(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persistent, u8 *smt_idx) cxgb4_update_mac_filt() argument
H A Dcxgb4.h2142 int *tcam_idx, const u8 *addr,
2176 int *tcam_idx, const u8 *addr,
H A Dcxgb4_main.c448 * @tcam_idx: TCAM index of existing filter for old value of MAC address,
455 * @tcam_idx >= 0, or adds the MAC address to a new filter if
456 * @tcam_idx < 0. In the latter case the address is added persistently
462 int *tcam_idx, const u8 *addr, bool persist, in cxgb4_change_mac()
470 *tcam_idx, addr, persist, smt_idx); in cxgb4_change_mac()
491 *tcam_idx = ret; in cxgb4_change_mac()
461 cxgb4_change_mac(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persist, u8 *smt_idx) cxgb4_change_mac() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_mps.c130 int *tcam_idx, const u8 *addr, in cxgb4_update_mac_filt()
135 ret = cxgb4_change_mac(pi, viid, tcam_idx, in cxgb4_update_mac_filt()
140 cxgb4_mps_ref_inc(pi->adapter, addr, *tcam_idx, NULL); in cxgb4_update_mac_filt()
129 cxgb4_update_mac_filt(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persistent, u8 *smt_idx) cxgb4_update_mac_filt() argument
H A Dcxgb4.h2138 int *tcam_idx, const u8 *addr,
2172 int *tcam_idx, const u8 *addr,
H A Dcxgb4_main.c447 * @tcam_idx: TCAM index of existing filter for old value of MAC address,
454 * @tcam_idx >= 0, or adds the MAC address to a new filter if
455 * @tcam_idx < 0. In the latter case the address is added persistently
461 int *tcam_idx, const u8 *addr, bool persist, in cxgb4_change_mac()
469 *tcam_idx, addr, persist, smt_idx); in cxgb4_change_mac()
490 *tcam_idx = ret; in cxgb4_change_mac()
460 cxgb4_change_mac(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persist, u8 *smt_idx) cxgb4_change_mac() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c2448 * @tcam_idx: pointer to variable to receive the TCAM entry
2454 ice_alloc_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 *tcam_idx) in ice_alloc_tcam_ent() argument
2461 return ice_alloc_hw_res(hw, res_type, 1, true, tcam_idx); in ice_alloc_tcam_ent()
2468 * @tcam_idx: the TCAM entry to free
2473 ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx) in ice_free_tcam_ent() argument
2480 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent()
3334 p->entry[0].addr = cpu_to_le16(tmp->tcam_idx); in ice_prof_bld_tcam()
3338 &hw->blk[blk].prof.t[tmp->tcam_idx].key, in ice_prof_bld_tcam()
3928 prof->tcam[i].tcam_idx); in ice_rem_prof_id()
4231 p->tcam[i].tcam_idx in ice_add_prof_to_lst()
4486 u16 tcam_idx; ice_add_prof_id_vsig() local
[all...]
H A Dice_flex_type.h380 u16 tcam_idx; member
515 u16 tcam_idx; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c1298 * @tcam_idx: pointer to variable to receive the TCAM entry
1305 u16 *tcam_idx) in ice_alloc_tcam_ent()
1312 return ice_alloc_hw_res(hw, res_type, 1, btm, tcam_idx); in ice_alloc_tcam_ent()
1319 * @tcam_idx: the TCAM entry to free
1324 ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx) in ice_free_tcam_ent() argument
1331 return ice_free_hw_res(hw, res_type, 1, &tcam_idx); in ice_free_tcam_ent()
2515 p->entry[0].addr = cpu_to_le16(tmp->tcam_idx); in ice_prof_bld_tcam()
2519 &hw->blk[blk].prof.t[tmp->tcam_idx].key, in ice_prof_bld_tcam()
3177 prof->tcam[i].tcam_idx); in ice_rem_prof_id()
3481 p->tcam[i].tcam_idx in ice_add_prof_to_lst()
1304 ice_alloc_tcam_ent(struct ice_hw *hw, enum ice_block blk, bool btm, u16 *tcam_idx) ice_alloc_tcam_ent() argument
3741 u16 tcam_idx; ice_add_prof_id_vsig() local
[all...]
H A Dice_flex_type.h190 u16 tcam_idx; member
342 u16 tcam_idx; member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c260 * @tcam_idx: TCAM index of existing filter for old value of MAC address,
266 * @tcam_idx >= 0, or adds the MAC address to a new filter if
267 * @tcam_idx < 0. In the latter case the address is added persistently
273 int *tcam_idx, const u8 *addr, bool persistent) in cxgb4vf_change_mac()
279 ret = t4vf_change_mac(adapter, viid, *tcam_idx, addr, persistent); in cxgb4vf_change_mac()
300 *tcam_idx = ret; in cxgb4vf_change_mac()
272 cxgb4vf_change_mac(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persistent) cxgb4vf_change_mac() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c260 * @tcam_idx: TCAM index of existing filter for old value of MAC address,
266 * @tcam_idx >= 0, or adds the MAC address to a new filter if
267 * @tcam_idx < 0. In the latter case the address is added persistently
273 int *tcam_idx, const u8 *addr, bool persistent) in cxgb4vf_change_mac()
279 ret = t4vf_change_mac(adapter, viid, *tcam_idx, addr, persistent); in cxgb4vf_change_mac()
300 *tcam_idx = ret; in cxgb4vf_change_mac()
272 cxgb4vf_change_mac(struct port_info *pi, unsigned int viid, int *tcam_idx, const u8 *addr, bool persistent) cxgb4vf_change_mac() argument

Completed in 59 milliseconds