Lines Matching refs:sect_rx
2298 struct ice_boost_tcam_section *sect_rx, *sect_tx; in ice_create_tunnel() local
2326 sect_rx = (struct ice_boost_tcam_section *) in ice_create_tunnel()
2328 ice_struct_size(sect_rx, tcam, 1)); in ice_create_tunnel()
2329 if (!sect_rx) in ice_create_tunnel()
2331 sect_rx->count = CPU_TO_LE16(1); in ice_create_tunnel()
2341 ice_memcpy(sect_rx->tcam, hw->tnl.tbl[index].boost_entry, in ice_create_tunnel()
2342 sizeof(*sect_rx->tcam), ICE_NONDMA_TO_NONDMA); in ice_create_tunnel()
2347 ice_set_key((u8 *)§_rx->tcam[0].key, sizeof(sect_rx->tcam[0].key), in ice_create_tunnel()
2350 sizeof(sect_rx->tcam[0].key.key.hv_dst_port_key)); in ice_create_tunnel()
2353 ice_memcpy(sect_tx->tcam, sect_rx->tcam, sizeof(*sect_tx->tcam), in ice_create_tunnel()
2384 struct ice_boost_tcam_section *sect_rx, *sect_tx; in ice_destroy_tunnel() local
2413 size = ice_struct_size(sect_rx, tcam, count); in ice_destroy_tunnel()
2425 sect_rx = (struct ice_boost_tcam_section *) in ice_destroy_tunnel()
2428 if (!sect_rx) in ice_destroy_tunnel()
2430 sect_rx->count = CPU_TO_LE16(count); in ice_destroy_tunnel()
2445 ice_memcpy(sect_rx->tcam + j, in ice_destroy_tunnel()
2447 sizeof(*sect_rx->tcam), in ice_destroy_tunnel()