Home
last modified time | relevance | path

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

/freebsd/sys/dev/ice/
H A Dice_flex_pipe.c497 ice_struct_size(sect_rx, tcam, 1)); in ice_create_tunnel()
504 ice_struct_size(sect_tx, tcam, 1)); in ice_create_tunnel()
510 ice_memcpy(sect_rx->tcam, hw->tnl.tbl[index].boost_entry, in ice_create_tunnel()
511 sizeof(*sect_rx->tcam), ICE_NONDMA_TO_NONDMA); in ice_create_tunnel()
516 ice_set_key((u8 *)&sect_rx->tcam[0].key, sizeof(sect_rx->tcam[0].key), in ice_create_tunnel()
519 sizeof(sect_rx->tcam[0].key.key.hv_dst_port_key)); in ice_create_tunnel()
522 ice_memcpy(sect_tx->tcam, sect_rx->tcam, sizeof(*sect_tx->tcam), in ice_create_tunnel()
2446 u16 tcam = 0; ice_upd_prof_hw() local
3128 ice_prof_tcam_ena_dis(struct ice_hw * hw,enum ice_block blk,bool enable,u16 vsig,struct ice_tcam_inf * tcam,struct LIST_HEAD_TYPE * chg) ice_prof_tcam_ena_dis() argument
[all...]
H A Dice_flex_type.h197 struct ice_boost_tcam_entry tcam[STRUCT_HACK_VAR_LEN]; member
201 ice_struct_size((struct ice_boost_tcam_section *)0, tcam, 1) - \
323 struct ice_tcam_inf tcam[ICE_MAX_TCAM_PER_PROFILE]; member
H A Dice_ddp_common.c2178 return boost->tcam + index; in ice_boost_tcam_handler()
2195 struct ice_boost_tcam_entry *tcam;
2204 tcam = (struct ice_boost_tcam_entry *) in ice_find_boost_entry()
2208 if (tcam && LE16_TO_CPU(tcam->addr) == addr) { in ice_find_boost_entry()
2209 *entry = tcam; in ice_find_boost_entry()
2214 } while (tcam); in ice_find_boost_entry()
2200 struct ice_boost_tcam_entry *tcam; ice_find_boost_entry() local
/freebsd/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c3509 struct cudbg_mps_tcam *tcam = NULL; in collect_mps_tcam() local
3524 tcam = (struct cudbg_mps_tcam *)scratch_buff.data; in collect_mps_tcam()
3547 tcam->lookup_type = G_DATALKPTYPE(data2); in collect_mps_tcam()
3554 if (tcam->lookup_type && in collect_mps_tcam()
3555 (tcam->lookup_type != M_DATALKPTYPE)) { in collect_mps_tcam()
3557 tcam->vniy = ((data2 & F_DATAVIDH2) << 23) | in collect_mps_tcam()
3560 tcam->dip_hit = data2 & F_DATADIPHIT; in collect_mps_tcam()
3562 tcam->vlan_vld = data2 & F_DATAVIDH2; in collect_mps_tcam()
3563 tcam->ivlan = G_VIDL(val); in collect_mps_tcam()
3566 tcam->port_num = G_DATAPORTNUM(data2); in collect_mps_tcam()
[all …]