Searched refs:tcam_ptr (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_fflp.c | 907 tcam_entry_t *tcam_ptr) in nxge_fill_tcam_entry_udp() argument 914 TCAM_IPV4_ADDR(tcam_ptr->ip4_dest_key, fspec_key->ip4dst); in nxge_fill_tcam_entry_udp() 915 TCAM_IPV4_ADDR(tcam_ptr->ip4_dest_mask, fspec_mask->ip4dst); in nxge_fill_tcam_entry_udp() 916 TCAM_IPV4_ADDR(tcam_ptr->ip4_src_key, fspec_key->ip4src); in nxge_fill_tcam_entry_udp() 917 TCAM_IPV4_ADDR(tcam_ptr->ip4_src_mask, fspec_mask->ip4src); in nxge_fill_tcam_entry_udp() 918 TCAM_IP_PORTS(tcam_ptr->ip4_port_key, in nxge_fill_tcam_entry_udp() 920 TCAM_IP_PORTS(tcam_ptr->ip4_port_mask, in nxge_fill_tcam_entry_udp() 922 TCAM_IP_CLASS(tcam_ptr->ip4_class_key, in nxge_fill_tcam_entry_udp() 923 tcam_ptr->ip4_class_mask, in nxge_fill_tcam_entry_udp() 925 TCAM_IP_PROTO(tcam_ptr->ip4_proto_key, in nxge_fill_tcam_entry_udp() [all …]
|
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.c | 88 hxge_tcam_entry_t *tcam_ptr) in hpi_pfc_tcam_entry_read() argument 96 WRITE_TCAM_REG_MASK0(handle, tcam_ptr->mask0); in hpi_pfc_tcam_entry_read() 97 WRITE_TCAM_REG_MASK1(handle, tcam_ptr->mask1); in hpi_pfc_tcam_entry_read() 99 WRITE_TCAM_REG_KEY0(handle, tcam_ptr->key0); in hpi_pfc_tcam_entry_read() 100 WRITE_TCAM_REG_KEY1(handle, tcam_ptr->key1); in hpi_pfc_tcam_entry_read() 591 hxge_tcam_entry_t tcam_ptr; in hpi_pfc_tcam_entry_invalidate() local 593 (void) memset(&tcam_ptr, 0, sizeof (hxge_tcam_entry_t)); in hpi_pfc_tcam_entry_invalidate() 594 (void) hpi_pfc_tcam_entry_write(handle, location, &tcam_ptr); in hpi_pfc_tcam_entry_invalidate() 616 hxge_tcam_entry_t *tcam_ptr) in hpi_pfc_tcam_entry_write() argument 621 WRITE_TCAM_REG_MASK0(handle, tcam_ptr->mask0); in hpi_pfc_tcam_entry_write() [all …]
|
/titanic_41/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_fflp.c | 344 npi_fflp_tcam_entry_match(npi_handle_t handle, tcam_entry_t *tcam_ptr) in npi_fflp_tcam_entry_match() argument 350 WRITE_TCAM_REG_MASK0(handle, tcam_ptr->mask0); in npi_fflp_tcam_entry_match() 351 WRITE_TCAM_REG_MASK1(handle, tcam_ptr->mask1); in npi_fflp_tcam_entry_match() 352 WRITE_TCAM_REG_MASK2(handle, tcam_ptr->mask2); in npi_fflp_tcam_entry_match() 353 WRITE_TCAM_REG_MASK3(handle, tcam_ptr->mask3); in npi_fflp_tcam_entry_match() 355 WRITE_TCAM_REG_KEY0(handle, tcam_ptr->key0); in npi_fflp_tcam_entry_match() 356 WRITE_TCAM_REG_KEY1(handle, tcam_ptr->key1); in npi_fflp_tcam_entry_match() 357 WRITE_TCAM_REG_KEY2(handle, tcam_ptr->key2); in npi_fflp_tcam_entry_match() 358 WRITE_TCAM_REG_KEY3(handle, tcam_ptr->key3); in npi_fflp_tcam_entry_match() 399 struct tcam_entry *tcam_ptr) in npi_fflp_tcam_entry_read() argument [all …]
|