Lines Matching refs:tnl
310 for (i = 0; i < hw->tnl.count && i < ICE_TUNNEL_MAX_ENTRIES; i++) in ice_get_open_tunnel_port()
311 if (hw->tnl.tbl[i].valid && hw->tnl.tbl[i].port && in ice_get_open_tunnel_port()
312 (type == TNL_LAST || type == hw->tnl.tbl[i].type)) { in ice_get_open_tunnel_port()
313 *port = hw->tnl.tbl[i].port; in ice_get_open_tunnel_port()
422 for (i = 0; i < hw->tnl.count && i < ICE_TUNNEL_MAX_ENTRIES; i++) in ice_tunnel_idx_to_entry()
423 if (hw->tnl.tbl[i].valid && in ice_tunnel_idx_to_entry()
424 hw->tnl.tbl[i].type == type && in ice_tunnel_idx_to_entry()
476 memcpy(sect_rx->tcam, hw->tnl.tbl[index].boost_entry, in ice_create_tunnel()
492 hw->tnl.tbl[index].port = port; in ice_create_tunnel()
524 if (WARN_ON(!hw->tnl.tbl[index].valid || in ice_destroy_tunnel()
525 hw->tnl.tbl[index].type != type || in ice_destroy_tunnel()
526 hw->tnl.tbl[index].port != port)) { in ice_destroy_tunnel()
556 memcpy(sect_rx->tcam, hw->tnl.tbl[index].boost_entry, in ice_destroy_tunnel()
558 memcpy(sect_tx->tcam, hw->tnl.tbl[index].boost_entry, in ice_destroy_tunnel()
563 hw->tnl.tbl[index].port = 0; in ice_destroy_tunnel()