Lines Matching refs:sect_rx

2237 	struct ice_boost_tcam_section *sect_rx, *sect_tx;  in ice_upd_dvm_boost_entry()  local
2250 sect_rx = ice_pkg_buf_alloc_section(bld, ICE_SID_RXPARSER_BOOST_TCAM, in ice_upd_dvm_boost_entry()
2251 struct_size(sect_rx, tcam, 1)); in ice_upd_dvm_boost_entry()
2252 if (!sect_rx) in ice_upd_dvm_boost_entry()
2254 sect_rx->count = cpu_to_le16(1); in ice_upd_dvm_boost_entry()
2263 memcpy(sect_rx->tcam, entry->boost_entry, sizeof(*sect_rx->tcam)); in ice_upd_dvm_boost_entry()
2278 ice_set_key((u8 *)&sect_rx->tcam[0].key, sizeof(sect_rx->tcam[0].key), in ice_upd_dvm_boost_entry()
2282 memcpy(sect_tx->tcam, sect_rx->tcam, sizeof(*sect_tx->tcam)); in ice_upd_dvm_boost_entry()
2352 struct ice_boost_tcam_section *sect_rx, *sect_tx; in ice_create_tunnel() local
2368 sect_rx = ice_pkg_buf_alloc_section(bld, ICE_SID_RXPARSER_BOOST_TCAM, in ice_create_tunnel()
2369 struct_size(sect_rx, tcam, 1)); in ice_create_tunnel()
2370 if (!sect_rx) in ice_create_tunnel()
2372 sect_rx->count = cpu_to_le16(1); in ice_create_tunnel()
2381 memcpy(sect_rx->tcam, hw->tnl.tbl[index].boost_entry, in ice_create_tunnel()
2382 sizeof(*sect_rx->tcam)); in ice_create_tunnel()
2387 ice_set_key((u8 *)&sect_rx->tcam[0].key, sizeof(sect_rx->tcam[0].key), in ice_create_tunnel()
2390 sizeof(sect_rx->tcam[0].key.key.hv_dst_port_key)); in ice_create_tunnel()
2393 memcpy(sect_tx->tcam, sect_rx->tcam, sizeof(*sect_tx->tcam)); in ice_create_tunnel()
2423 struct ice_boost_tcam_section *sect_rx, *sect_tx; in ice_destroy_tunnel() local
2446 sect_rx = ice_pkg_buf_alloc_section(bld, ICE_SID_RXPARSER_BOOST_TCAM, in ice_destroy_tunnel()
2447 struct_size(sect_rx, tcam, 1)); in ice_destroy_tunnel()
2448 if (!sect_rx) in ice_destroy_tunnel()
2450 sect_rx->count = cpu_to_le16(1); in ice_destroy_tunnel()
2461 memcpy(sect_rx->tcam, hw->tnl.tbl[index].boost_entry, in ice_destroy_tunnel()
2462 sizeof(*sect_rx->tcam)); in ice_destroy_tunnel()