Lines Matching refs:sect_rx
467 struct ice_boost_tcam_section *sect_rx, *sect_tx; in ice_create_tunnel() local
495 sect_rx = (struct ice_boost_tcam_section *) in ice_create_tunnel()
497 ice_struct_size(sect_rx, tcam, 1)); in ice_create_tunnel()
498 if (!sect_rx) in ice_create_tunnel()
500 sect_rx->count = CPU_TO_LE16(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 *)§_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()
553 struct ice_boost_tcam_section *sect_rx, *sect_tx; in ice_destroy_tunnel() local
582 size = ice_struct_size(sect_rx, tcam, count); in ice_destroy_tunnel()
594 sect_rx = (struct ice_boost_tcam_section *) in ice_destroy_tunnel()
597 if (!sect_rx) in ice_destroy_tunnel()
599 sect_rx->count = CPU_TO_LE16(count); in ice_destroy_tunnel()
614 ice_memcpy(sect_rx->tcam + j, in ice_destroy_tunnel()
616 sizeof(*sect_rx->tcam), in ice_destroy_tunnel()