Skip to content

Commit

Permalink
tenstorrent#14582: Remove deprecated UMD API eth_interface_params (te…
Browse files Browse the repository at this point in the history
  • Loading branch information
blozano-tt authored and Christopher Taylor committed Nov 12, 2024
1 parent 1aa3bab commit e56b728
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 65 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -320,15 +320,13 @@ if("$ENV{ARCH_NAME}" STREQUAL "wormhole_b0")
tt_metal/hw/inc/wormhole
${PROJECT_SOURCE_DIR}/tt_metal/hw/inc/wormhole/wormhole_b0_defines
${UMD_HOME}/device/wormhole
${UMD_HOME}/src/firmware/riscv/wormhole
)
else()
target_include_directories(
metal_header_directories
INTERFACE
${PROJECT_SOURCE_DIR}/tt_metal/hw/inc/$ENV{ARCH_NAME}
${UMD_HOME}/device/$ENV{ARCH_NAME}
${UMD_HOME}/src/firmware/riscv/$ENV{ARCH_NAME}
)
endif()

Expand Down
7 changes: 0 additions & 7 deletions tt_metal/hw/inc/blackhole/eth_interface.h

This file was deleted.

24 changes: 0 additions & 24 deletions tt_metal/hw/inc/grayskull/eth_interface.h

This file was deleted.

7 changes: 0 additions & 7 deletions tt_metal/hw/inc/wormhole/eth_interface.h

This file was deleted.

1 change: 0 additions & 1 deletion tt_metal/llrt/tt_cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ void Cluster::open_driver(const bool &skip_driver_allocs) {
device_driver->configure_active_ethernet_cores_for_mmio_device(mmio_device_id, {});
}
}
device_driver->set_driver_eth_interface_params(eth_interface_params);

// Adding this check is a workaround for current UMD bug that only uses this getter to populate private metadata
// that is later expected to be populated by unrelated APIs
Expand Down
23 changes: 0 additions & 23 deletions tt_metal/llrt/tt_cluster.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

// clang-format off
#include "noc/noc_parameters.h"
#include "eth_interface.h"
#include "eth_l1_address_map.h"
#include "dev_msgs.h"
// clang-format on
Expand Down Expand Up @@ -291,28 +290,6 @@ class Cluster {
(uint32_t)eth_l1_mem::address_map::FW_VERSION_ADDR,
};

tt_driver_eth_interface_params eth_interface_params = {
NOC_ADDR_LOCAL_BITS,
NOC_ADDR_NODE_ID_BITS,
ETH_RACK_COORD_WIDTH,
CMD_BUF_SIZE_MASK,
MAX_BLOCK_SIZE,
REQUEST_CMD_QUEUE_BASE,
RESPONSE_CMD_QUEUE_BASE,
CMD_COUNTERS_SIZE_BYTES,
REMOTE_UPDATE_PTR_SIZE_BYTES,
CMD_DATA_BLOCK,
CMD_WR_REQ,
CMD_WR_ACK,
CMD_RD_REQ,
CMD_RD_DATA,
CMD_BUF_SIZE,
CMD_DATA_BLOCK_DRAM,
ETH_ROUTING_DATA_BUFFER_ADDR,
REQUEST_ROUTING_CMD_QUEUE_BASE,
RESPONSE_ROUTING_CMD_QUEUE_BASE,
CMD_BUF_PTR_MASK};

std::unordered_map<chip_id_t, std::unordered_map<chip_id_t, std::vector<CoreCoord>>> ethernet_sockets_;
};

Expand Down

0 comments on commit e56b728

Please sign in to comment.