Apparatus and method for processing network packets via a network interface controller

Through the intelligent NIC's packet processor and controller device, distributed writing to memory and identification of packet flows in the packet switching network solves the problem of expensive and delayed network packet data processing and improves data processing efficiency and performance.

CN109426648BActive Publication Date: 2024-09-10INTEL CORP
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN201811005692.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-09-30
Filing Date
2018-08-30
Publication Date
2024-09-10
Estimated Expiration
2038-08-30

AI Technical Summary

Technical Problem

In packet-switched networks, writing network packet data from the network interface controller (NIC) to memory for processing by the host CPU can be expensive and introduce latency or other performance negative impacts.

Method used

Through the packet processor and controller device of the intelligent NIC, the memory structure is written in a distributed manner, and after receiving the event message, the packet flow is identified and necessary operations are performed, reducing dependence on the host CPU and improving data processing efficiency.

Benefits of technology

It reduces the cost and waiting time of data processing, improves the performance of network packet data processing, and reduces the load on the host CPU.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109426648B_ABST
    Figure CN109426648B_ABST
Patent Text Reader

Abstract

A technique for processing network packets by a network interface controller (NIC) of a computing device includes: a network interface of the NIC, a packet processor, and a controller device, each communicatively coupled to a memory structure of the NIC. The packet processor is configured to receive an event message from the memory structure and send the message to the controller device, wherein the message indicates that the network packet has been received and includes a memory structure location pointer. The controller device is configured to retrieve at least a portion of a received network packet from the memory structure, write an inbound descriptor that can be used by one or more on-die cores of the NIC to perform an operation on the retrieved portion, and reconstruct the network packet according to an outbound descriptor written by the on-die core after performing the operation. Other embodiments are described herein.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 427,268, filed on November 29, 2016, and Indian Provisional Patent Application No. 201741030632, filed on August 30, 2017. Background Art

[0003] In current packet-switched network architectures, data is transmitted between computing devices and / or device components in the form of network packets at extremely high speeds. At a high level, data is packaged into network packets that are sent by a network interface controller (NIC) of one network computing device and received by a NIC of another network computing device. Upon receipt, the network packets are typically processed, classified, etc., and the payload is typically written to a memory (e.g., a cache, main memory, etc.). After writing the network packet data to the memory, the receiving NIC can then notify the host central processing unit (CPU) that the data is available for further processing. However, writing the contents of the network packet data from the NIC to the memory for processing by the host CPU may be expensive and introduce latency, or otherwise have some other negative performance impact. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] The concepts described herein are illustrated in the accompanying drawings by way of example and not limitation. For simplicity and clarity of illustration, the elements shown in the accompanying drawings are not necessarily drawn to scale. Where deemed appropriate, reference numerals are repeated in the accompanying drawings to indicate corresponding or similar elements.

[0005] Figure 1 is a diagram of a conceptual overview of a data center in which one or more techniques described herein may be implemented according to various embodiments;

[0006] Figure 2 yes Figure 1 A diagram of an example embodiment of a logical configuration of racks of a data center;

[0007] Figure 3 is a diagram of an example embodiment of another data center in which one or more techniques described herein may be implemented according to various embodiments;

[0008] Figure 4 is a diagram of another example embodiment of a data center in which one or more techniques described herein may be implemented according to various embodiments;

[0009] Figure 5 It means that you can Figure 1 , Figure 3 and Figure 4A diagram of a connection scheme for link layer connections established between various sleds in a data center;

[0010] Figure 6 According to some embodiments, it can be represented by Figure 1-4 A diagram of a rack architecture showing the architecture of any particular one rack shown in FIG.

[0011] Figure 7 It is possible to Figure 6 Figure 1 is a diagram of an example embodiment of a bracket for use with a rack architecture;

[0012] Figure 8 is a diagram of an example embodiment of a rack architecture for providing support for a shelf featuring expansion capabilities;

[0013] Fig. 9 is based on Figure 8 A diagram of an example embodiment of a rack implementing a rack architecture of;

[0014] Fig.10 is designed for use with Fig. 9 Figure 2 shows an example embodiment of a bracket for use in conjunction with a rack;

[0015] Fig.11 is a diagram of an example embodiment of a data center in which one or more techniques described herein may be implemented according to various embodiments;

[0016] Fig.12 is a simplified block diagram of at least one embodiment of a computing device for processing network packets via an intelligent network interface controller (NIC) of the computing device;

[0017] Fig.13 It can be done by Fig.12 A simplified block diagram of at least one embodiment of an environment established by a smart NIC;

[0018] Fig.14 It can be done by Fig.12 A simplified block diagram of at least one embodiment of another environment established by a smart NIC;

[0019] Fig.15 It can be done by Figure 12-14 A simplified flowchart of at least one embodiment of a method performed by a network interface of a smart NIC for generating an event message in response to receiving a network packet;

[0020] Fig.16 It can be done by Fig.13 and Fig.14 A simplified flow chart of at least one embodiment of a method performed by a packet processor of a smart NIC for generating a network packet receive message in response to receiving an event message;

[0021] Fig.17 It can be done by Fig.13 and Fig.14 A simplified flow chart of at least one embodiment of a method performed by a packet processor of an intelligent NIC for associating a flow with a received network packet in response to receiving an event message;

[0022] Fig.18 is a simplified flow chart of at least one embodiment of a method that may be performed by a controller device of a smart NIC for facilitating operations performed in response to having received a message;

[0023] Fig.19 It can be done by Fig.13 and Fig.14 A simplified flow chart of at least one embodiment of a method performed by an on-die core of a smart NIC for identifying a host interface associated with a received network packet; and

[0024] Fig. 20 It can be done by Fig.13 and Fig.14 A simplified communication flow diagram of at least one embodiment of a smart NIC network interface executed to process outbound network packets. DETAILED DESCRIPTION

[0025] Although the concept of the present disclosure is susceptible to various modifications and alternative forms, its specific embodiments have been shown by examples in the drawings and will be described in detail herein. However, it should be understood that it is not intended to limit the concept of the present disclosure to the specific form disclosed, but on the contrary, it is intended to cover all modifications, equivalents and alternatives consistent with the present disclosure and the appended claims.

[0026] References in the specification to "one embodiment," "an embodiment," "an illustrative embodiment," and the like indicate that the described embodiment may include a particular feature, structure, or characteristic, but each embodiment may or may not include the particular feature, structure, or characteristic. Moreover, these phrases do not necessarily refer to the same embodiment. In addition, when a particular feature, structure, or characteristic is described in conjunction with an embodiment, it is considered to be within the knowledge of those skilled in the art to implement such feature, structure, or characteristic in conjunction with other embodiments, whether or not the other embodiments are explicitly described. In addition, it should be appreciated that items included in a list in the form of "at least one of A, B, and C" may mean (A); (B); (C); (A and B); (A and C); (B and C); or (A, B and C). Similarly, items listed in the form of "at least one of A, B, or C" may mean (A); (B); (C); (A and B); (A and C); (B and C); or (A, B and C).

[0027] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored by a temporary or non-temporary machine-readable (e.g., computer-readable) storage medium, which may be read and executed by one or more processors. A machine-readable storage medium may be embodied as any storage device, mechanism, or other physical structure (e.g., volatile or non-volatile memory, media disk, or other media device) for storing or transmitting information in a machine-readable form.

[0028] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a specific figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0029] Figure 1 1 shows a conceptual overview of a data center 100, which may generally represent a data center or other type of computing network in which / about which one or more techniques described herein may be implemented, according to various embodiments. Figure 1 As shown, data center 100 may generally include a plurality of racks, each of which may accommodate a computing device including a corresponding set of physical resources. Figure 1 In the specific non-limiting example depicted in FIG, data center 100 includes four racks 102A to 102D, and the racks contain computing devices including groups of physical resources (PCRs) 105A to 105D. According to this example, a set of aggregate physical resources 106 of data center 100 includes groups of physical resources 105A to 105D distributed between racks 102A to 102D. Physical resources 106 may include multiple types of resources, such as processors, coprocessors, accelerators, field programmable gate arrays (FPGAs), memory, and storage devices. Embodiments are not limited to these examples.

[0030] The illustrative data center 100 differs from a typical data center in many ways. For example, in the illustrative embodiment, the circuit boards ("cradles") on which components such as CPUs, memory, and other components are placed are designed to improve thermal performance. In particular, in the illustrative embodiment, the racks are shallower than typical boards. In other words, the racks get shorter from the front to the back, with the cooling fans located in the back. This reduces the length of the path that the air must travel through the components on the board. In addition, the components on the racks are spaced farther apart than in a typical circuit board, and the components are arranged to reduce or eliminate shadowing (i.e., one component is in the air flow path of another component). In the illustrative embodiment, processing components such as processors are located on the top side of the racks, while nearby memory such as DIMMs are located on the bottom side of the racks. Due to the enhanced airflow provided by this design, the components can operate at higher frequencies and power levels than typical systems, thereby improving performance. In addition, the racks are configured to blindly mate with the power and data communication cables in each rack 102A, 102B, 102C, 102D, which enhances their ability to be quickly removed, upgraded, reinstalled, and / or replaced. Similarly, the various components located on the tray (eg, processors, accelerators, memory, and data storage drives) are configured to be easily upgraded due to their increased spacing from one another. In an illustrative embodiment, the components also include hardware certification features to prove their authenticity.

[0031] Additionally, in the illustrative embodiment, the data center 100 utilizes a single network architecture (“fabric”) that supports multiple other network architectures, including Ethernet and Omni-Path. In the illustrative embodiment, the racks are coupled to the switches via optical fiber, which provides higher bandwidth and lower latency than typical twisted pair cabling (e.g., Category 5, Category 5e, Category 6, etc.). Due to the high-bandwidth, low-latency interconnect and network architecture, the data center 100 can pool physically dispersed resources, such as memory, accelerators (e.g., graphics accelerators, FPGAs, ASICs, etc.), and data storage drives in use and provide them to computing resources (e.g., processors) as needed, enabling the computing resources to access the pooled resources as if they were local. The illustrative data center 100 additionally receives utilization information for various resources, predicts resource utilization for different types of workloads based on past resource utilization, and dynamically reallocates resources based on this information.

[0032] The racks 102A, 102B, 102C, 102D of the data center 100 may include physical design features that facilitate automation of various types of maintenance tasks. For example, the data center 100 may be implemented using racks that are designed to be accessible to robots and to accept and accommodate resource bays that are manipulable by robots. Additionally, in the illustrative embodiment, the racks 102A, 102B, 102C, 102D include integrated power supplies that receive a voltage greater than that typical of the power supply. The increased voltage enables the power supply to provide additional power to the components on each bay, enabling the components to operate at a higher frequency than the typical frequency.

[0033] Figure 2 FIG. 2 shows an exemplary logical configuration of racks 202 of data center 100. Figure 2 As shown, rack 202 can generally accommodate multiple racks, each of which can include a corresponding set of physical resources. Figure 2 In the specific non-limiting example depicted in FIG, rack 202 houses racks 204-1 through 204-4 that include respective sets of physical resources 205-1 through 205-4, each set of physical resources forming part of a set of aggregate physical resources 206 included in rack 202. Figure 1 , if rack 202 represents, for example, rack 102A, then physical resource 206 can correspond to physical resource 105A included in rack 102A. In the context of this example, physical resource 105A can therefore be composed of a corresponding set of physical resources, including physical storage resources 205-1, physical accelerator resources 205-2, physical memory resources 205-3, and physical computing resources 205-4 contained in brackets 204-1 to 204-4 of rack 202. Embodiments are not limited to this example. Each bracket can contain a pool of each of various types of physical resources (e.g., computing, memory, accelerators, storage devices). By having a robot-accessible and robot-manipulable bracket that includes decentralized resources, each type of resource can be upgraded independently of each other and at its own optimized refresh rate.

[0034] Figure 3 An example of a data center 300 is shown, which may generally represent a data center in which / with which one or more techniques described herein may be implemented, according to various embodiments. Figure 3 In the specific non-limiting example depicted in FIG. 3 , data center 300 includes racks 302-1 through 302-32. In various embodiments, the racks of data center 300 may be arranged in a manner to define and / or accommodate various access paths. For example, Figure 3As shown, the racks of the data center 300 can be arranged in a manner that defines and / or accommodates access paths 311A, 311B, 311C, and 311D. In some embodiments, the presence of such access paths generally enables automated maintenance equipment (e.g., robotic maintenance equipment) to physically access computing devices housed in various racks of the data center 300 and perform automated maintenance tasks (e.g., replace a failed bracket, upgrade a bracket). In various embodiments, the size of the access paths 311A, 311B, 311C, and 311D, the size of the racks 302-1 to 302-32, and / or one or more other aspects of the physical layout of the data center 300 can be selected to facilitate such automated operations. The embodiments are not limited to this context.

[0035] Figure 4 4 shows an example of a data center 400, which may generally represent a data center in which / with which one or more techniques described herein may be implemented, according to various embodiments. Figure 4 As shown, data center 400 can feature an optical fabric 412. Optical fabric 412 can generally include a combination of optical signaling media (e.g., optical cables) and optical switching infrastructure via which any particular bay in data center 400 can send signals to (and receive signals from) every other bay in data center 400. The signaling connections provided by optical fabric 412 to any given bay can include connections to other bays in the same rack and to bays in other racks. Figure 4 In the specific non-limiting example depicted in FIG. 4 , data center 400 includes four racks 402A to 402D. Racks 402A to 402D house pairs of bays 404A-1 and 404A-2, 404B-1 and 404B-2, 404C-1 and 404C-2, and 404D-1 and 404D-2. Thus, in this example, data center 400 includes a total of eight bays. Each such bay may have a signaling connection with each of the seven other bays in data center 400 via optical fabric 412. For example, via optical fabric 412, bay 404A-1 in rack 402A may have a signaling connection to bay 404A-2 in rack 402A, as well as signaling connections to six other bays 404B-1, 404B-2, 404C-1, 404C-2, 404D-1, and 404D-2 distributed among other racks 402B, 402C, and 402D in data center 400. Embodiments are not limited to this example.

[0036] Figure 5 An overview of a connection scheme 500 is shown, which may generally represent link layer connections that may be established between various racks in a data center, such as a Figure 1 , Figure 3 and Figure 4 Any of the example data centers 100, 300, and 400. The connection scheme 500 can be implemented using an optical structure featuring a dual-mode optical switching infrastructure 514. The dual-mode optical switching infrastructure 514 can generally include a switching infrastructure capable of receiving communications according to multiple link layer protocols via the same unified set of optical signaling media and correctly switching such communications. In various embodiments, the dual-mode optical switching infrastructure 514 can be implemented using one or more dual-mode optical switches 515. In various embodiments, the dual-mode optical switch 515 can generally include a high-radix switch. In some embodiments, the dual-mode optical switch 515 can include a multi-layer switch, such as a four-layer switch. In various embodiments, the dual-mode optical switch 515 can be characterized by integrated silicon photonics, which can switch communications with significantly reduced latency compared to traditional switching equipment. In some embodiments, the dual-mode optical switch 515 can include a leaf switch 530 in the form of a leaf-spine architecture, which further includes one or more dual-mode optical spine switches 520.

[0037] In various embodiments, the dual-mode optical switch may be capable of receiving Ethernet protocol communications carrying Internet Protocol (IP packets) and communications according to a second high performance computing (HPC) link layer protocol (e.g., Intel's Omni-Path Architecture, Infiniband) via an optical signaling medium of an optical fabric. Figure 5 As reflected, for any particular pair of brackets 504A and 504B having an optical signaling connection to an optical fabric, the connection scheme 500 can therefore provide support for link layer connections via both Ethernet links and HPC links. Thus, a single high-bandwidth, low-latency switching fabric can support both Ethernet and HPC communications. Embodiments are not limited to this example.

[0038] Figure 6 1 shows a general overview of a rack architecture 600 according to some embodiments, which may represent Figures 1 to 4 The architecture of any particular rack is depicted in Figure 6 As reflected, rack architecture 600 may generally feature a plurality of rack spaces into which racks may be inserted, and each rack space may be robot accessible via rack access area 601. Figure 6 In the particular non-limiting example shown, the rack architecture 600 features five rack spaces 603-1 through 603-5. The rack spaces 603-1 through 603-5 have corresponding multi-function connector modules (MPCMs) 616-1 through 616-5.

[0039] Figure 7 An example of a bracket 704 is shown that may represent this type of bracket. Figure 7 As shown, the bracket 704 may include a set of physical resources 705 and an MPCM 716, which is designed to be inserted into the bracket space (e.g., Figure 6 The expansion connector 717 may be coupled to a mating MPCM when any of the bracket spaces 603-1 to 603-5 in the expansion bracket 718 is coupled to the mating MPCM. The bracket 704 may also feature an expansion connector 717. The expansion connector 717 may generally include a socket, a slot, or other type of connection element that can accept one or more types of expansion modules, such as an expansion bracket 718. By coupling with a mating connector on the expansion bracket 718, the expansion connector 717 can provide the physical resource 705 with access to the supplemental computing resources 705B residing on the expansion bracket 718. The embodiments are not limited to this context.

[0040] Figure 8 An example of a rack architecture 800 is shown, which may represent a rack that may be implemented to feature expansion capabilities, such as Figure 7 The bracket 704 provides the supporting rack architecture. Figure 8 In the particular non-limiting example depicted in , the rack architecture 800 includes seven bay spaces 803-1 through 803-7, which feature respective MPCMs 816-1 through 816-7. The bay spaces 803-1 through 803-7 include respective main regions 803-1A through 803-7A and respective expansion regions 803-1B through 803-7B. With respect to each such bay space, when the respective MPCM is coupled with a mating MPCM of an inserted bay, the main region may generally constitute an area of ​​the bay space that physically accommodates the inserted bay. The expansion region may generally constitute an area of ​​the bay space that may physically accommodate an expansion module, e.g., in the event that the inserted bay is configured with such a module. Figure 7 Expansion bracket 718.

[0041] Fig. 9 An example of a rack 902 is shown, which may represent a rack according to some embodiments. Figure 8 The rack architecture 800 implements the rack. Fig. 9 In the specific non-limiting example depicted in FIG. 9 , the rack 902 features seven rack spaces 903-1 to 903-7, which include respective main areas 903-1A to 903-7A and respective expansion areas 903-1B to 903-7B. In various embodiments, an air cooling system may be used to achieve temperature control in the rack 902. For example, Fig. 9As reflected in , rack 902 can feature multiple fans 919, which are generally arranged to provide air cooling in various bracket spaces 903-1 to 903-7. In some embodiments, the height of the bracket space is greater than the traditional "1U" server height. In such an embodiment, fans 919 can generally include relatively slow large-diameter cooling fans compared to fans used in traditional rack configurations. Running a larger diameter cooling fan at a lower speed can extend fan life while still providing the same amount of cooling relative to a smaller diameter cooling fan running at a higher speed. The bracket is physically shallower than traditional rack sizes. In addition, components are arranged on each bracket to reduce thermal shadows (i.e., not arranged in series along the airflow direction). Therefore, wider and shallower brackets allow for an increase in equipment performance because the equipment can operate at a higher thermal envelope (e.g., 250W) due to improved cooling (i.e., no thermal shadows, more space between devices, more space for larger heat sinks, etc.).

[0042] The MPCMs 916-1 to 916-7 may be configured to provide access to power provided by corresponding power modules 920-1 to 920-7 to the inserted bays, each of which may draw power from an external power source 921. In various embodiments, the external power source 921 may deliver alternating current (AC) power to the rack 902, and the power modules 920-1 to 920-7 may be configured to convert such AC power to direct current (DC) power for supply to the inserted bays. In some embodiments, for example, the power modules 920-1 to 920-7 may be configured to convert 277 volt AC power to 12 volt DC power for supply to the inserted bays via the corresponding MPCMs 916-1 to 916-7. Embodiments are not limited to this example.

[0043] The MPCMs 916-1 to 916-7 may also be arranged to provide inserted bays with optical signaling connections to the dual-mode optical switching infrastructure 914, which may be coupled to the Figure 5The optical interconnect harness 923 may be the same or similar to the dual-mode optical switching infrastructure 514 of the rack 902. In various embodiments, the optical connectors contained in the MPCMs 916-1 to 916-7 may be designed to couple with mating optical connectors contained in the MPCMs of the inserted brackets to provide such brackets with optical signaling connections to the dual-mode optical switching infrastructure 914 via respective lengths of optical cables 922-1 to 922-7. In some embodiments, each such length of optical cable may extend from its corresponding MPCM to an optical interconnect harness 923 outside the bracket space of the rack 902. In various embodiments, the optical interconnect harness 923 may be arranged to pass through a support column or other type of load-bearing element of the bracket 902. The embodiments are not limited to this context. Since the inserted brackets are connected to the optical switching infrastructure via the MPCMs, resources that are typically spent on manually configuring the rack wiring to accommodate the newly inserted brackets may be saved.

[0044] Fig.10 An example of a bracket 1004 is shown, which may represent a device designed to be used with Fig. 9 The bracket 1004 may be configured to be used in conjunction with the rack 902 of the rack 1004. The bracket 1004 may feature an MPCM 1016 that includes an optical connector 1016A and a power connector 1016B and is designed to couple with a mating MPCM of the bracket space in conjunction with inserting the MPCM 1016 into the bracket space. Coupling the MPCM 1016 with such a mating MPCM may enable the power connector 1016 to couple with a power connector included in the mating MPCM. This generally enables the physical resources 1005 of the bracket 1004 to obtain power from an external source via the power connector 1016 and the power transmission medium 1024 that conductively couples the power connector 1016 to the physical resources 1005.

[0045] The cradle 1004 may also include a dual-mode optical network interface circuit 1026. The dual-mode optical network interface circuit 1026 may generally include a circuit capable of transmitting a signal according to the Fig. 9 The dual-mode optical switching infrastructure 914 supports a circuit for communicating over an optical signaling medium for each of a plurality of link layer protocols. In some embodiments, the dual-mode optical network interface circuit 1026 may be capable of Ethernet protocol communications and communications according to a second high performance protocol. In various embodiments, the dual-mode optical network interface circuit 1026 may include one or more optical transceiver modules 1027, each of which may be capable of sending and receiving optical signals on each of one or more optical channels. The embodiments are not limited in this context.

[0046] Coupling the MPCM 1016 with a mating MPCM of a bay space in a given rack may cause the optical connector 1016A to couple with an optical connector included in the mating MPCM. This may generally establish an optical connection between the bay's optical cables and a dual-mode optical network interface circuit 1026 via each of a set of optical channels 1025. The dual-mode optical network interface circuit 1026 may communicate with the physical resources 1005 of the bay 1004 via an electrical signaling medium 1028. In addition to the size of the bay and the arrangement of components on the bay that provide improved cooling and are capable of operating in a relatively high thermal envelope (e.g., 250 W), as described above with reference to Fig. 9 As mentioned, in some embodiments, the bracket may also include one or more additional features to facilitate air cooling, such as heat pipes and / or heat sinks arranged to dissipate heat generated by the physical resource 1005. It is worth noting that although Fig.10 The exemplary bracket 1004 depicted in FIG. 1 does not feature an expansion connector, but any given bracket featuring design elements of bracket 1004 may also feature an expansion connector in accordance with some embodiments. The embodiments are not limited in this context.

[0047] Fig.11 1 shows an example of a data center 1100, which may generally represent a data center in which / for which one or more techniques described herein may be implemented, according to various embodiments. Fig.11 As reflected, the physical infrastructure management framework 1150A can be implemented to facilitate management of the physical infrastructure 1100A of the data center 1100. In various embodiments, one function of the physical infrastructure management framework 1150A can be to manage automated maintenance functions within the data center 1100, such as using robotic maintenance equipment to provide services for computing devices within the physical infrastructure 1100A. In some embodiments, the physical infrastructure 1100A can be characterized by an advanced telemetry system that performs telemetry reporting that is robust enough to support remote automated management of the physical infrastructure 1100A. In various embodiments, the telemetry information provided by such an advanced telemetry system can support features such as fault prediction / prevention capabilities and capacity planning capabilities. In some embodiments, the physical infrastructure management framework 1150A can also be configured to manage the authentication of physical infrastructure components using hardware certification technology. For example, a robot can verify the authenticity of a component by analyzing information collected from a radio frequency identification (RFID) tag associated with each component to be installed before installation. The embodiments are not limited to this context.

[0048] like Fig.11As shown, the physical infrastructure 1100A of the data center 1100 may include an optical fabric 1112, which may include a dual-mode optical switching infrastructure 1114. The optical fabric 1112 and the dual-mode optical switching infrastructure 1114 may be respectively connected to Figure 4 The optical structure of 412 and Figure 5 The dual-mode optical switching infrastructure 514 is the same or similar to that of the data center 1100 and can provide high-bandwidth, low-latency, multi-protocol connections between the racks of the data center 1100. As described above, reference Figure 1 In various embodiments, the availability of such connectivity can make it possible to disperse and dynamically pool resources such as accelerators, memory, and storage. In some embodiments, for example, one or more pooled accelerator racks 1130 can be included in a physical infrastructure 1100A of a data center 1100, each of which can include a pool of accelerator resources, such as coprocessors and / or FPGAs, which are globally accessible to other racks via an optical fabric 1112 and a dual-mode optical switching infrastructure 1114.

[0049] In another example, in various embodiments, one or more pooled storage bays 1132 may be included in the physical infrastructure 1100A of the data center 1100, each physical infrastructure 1100A may include a pool of storage resources globally accessible to other bays via an optical fabric 1112 and a dual-mode optical switching infrastructure 1114. In some embodiments, such pooled storage bays 1132 may include a pool of solid-state storage devices, such as solid-state drives (SSDs). In various embodiments, one or more high-performance processing bays 1134 may be included in the physical infrastructure 1100A of the data center 1100. In some embodiments, the high-performance processing bays 1134 may include a high-performance processor pool and cooling features that enhance air cooling to produce a higher thermal envelope of up to 250W or more. In various embodiments, any given high-performance processing bay 1134 may feature an expansion connector 1117 that may accept a remote memory expansion bay so that the remote memory locally available to the high-performance processing bay 1134 is dispersed from the processor and nearby memory contained on the bay. In some embodiments, such high performance processing bays 1134 may be configured with remote storage using expansion bays including low latency SSD storage. The optical infrastructure allows compute resources on one bay to utilize remote accelerator / FPGA, memory and / or SSD resources that are distributed across bays located in the same rack or any other rack in the data center. The remote resources may be located remotely from the above referenced Figure 5 One switch hop or two switch hops of the spine-and-leaf network architecture described. The embodiments are not limited in this context.

[0050] In various embodiments, one or more abstraction layers may be applied to the physical resources of the physical infrastructure 1100A to define a virtual infrastructure, such as a software-defined infrastructure 1100B. In some embodiments, the virtual computing resources 1136 of the software-defined infrastructure 1100B may be allocated to support the provision of cloud services 1140. In various embodiments, a specific set of virtual computing resources 1136 may be grouped to be provided to cloud services 1140 in the form of SDI services 1138. Examples of cloud services 1140 may include, but are not limited to, software as a service (SaaS) services 1142, platform as a service (PaaS) services 1144, and infrastructure as a service (IaaS) services 1146.

[0051] In some embodiments, a virtual infrastructure management framework 1150B may be used to manage the software defined infrastructure 1100B. In various embodiments, the virtual infrastructure management framework 1150B may be designed to implement workload fingerprinting techniques and / or machine learning techniques in conjunction with managing the allocation of virtual computing resources 1136 and / or SDI services 1138 to cloud services 1140. In some embodiments, the virtual infrastructure management framework 1150B may use / consult telemetry data in conjunction with performing such resource allocation. In various embodiments, an application / service management framework 1150C may be implemented to provide QoS management capabilities for cloud services 1140. The embodiments are not limited in this context.

[0052] Reference now Fig.12 , an illustrative computing device 1200 for processing network packets through an intelligent network interface controller (NIC) (e.g., NIC 1214 of communication circuit 1212) includes a computing engine 1202, a data storage device 1210, and a communication circuit 1212, as well as other components. The computing device 1200 can be embodied as a server (e.g., a stand-alone server, a rack server, a blade server, etc.), a computing node, a storage node, a switch (e.g., a decentralized switch, a rack-mounted switch, a stand-alone switch, a fully managed switch, a partially managed switch, a full-duplex switch, and / or a half-duplex communication mode enabled switch), a router, and / or a bracket (e.g., one of brackets 204, 404, 504, 1004, 1130, 1132, 1134) in a data center, any of which can be embodied as one or more physical and / or virtual devices.

[0053] In use, as described in further detail below, the intelligent NIC 1214 of the computing device 1200 receives a network packet (e.g., Fig.13 and 14The other computing device may be embodied as any type of computing device, such as a mobile computing device (e.g., a smartphone, a laptop / tablet computing device, a wearable computing device, etc.), a desktop computing device, an Internet of Things (IoT) device, a server (e.g., a stand-alone server, a rack-mounted server, a blade server, etc.), a switch (e.g., a decentralized switch, a rack-mounted switch, a stand-alone switch, a fully managed switch, a partially managed switch, a full-duplex switch, and / or a half-duplex communication mode enabled switch), a router, a network appliance, a web appliance, a distributed computing system, a processor-based system, and / or a multi-processor system, any of which may be embodied as one or more physical and / or virtual devices. In an illustrative embodiment, the source computing device may be embodied as another server tray, such as one of the trays 204, 404, 504, 1004, 1130, 1132, 1134 described above.

[0054] Upon receiving a network packet, the network interface (e.g., Fig.13 and 14 The network interface 1302 of the smart NIC 1214 is configured to write the content of the received network packet (e.g., header, payload, footer, etc.) to the memory structure (e.g., Fig.13 and 14 1304). Thus, it should be appreciated that the memory structure 1304 includes a plurality of memory storage components (not shown), referred to herein as segments, each of which can be used to support storage of the contents of the received network packets. The network interface 1302 is also configured to send an event message to a packet processor, which is illustratively shown as a packet processor, after writing the contents of the received network packets to the memory structure. Fig.13 and 14 The Flexible Packet Processor (FXP) 1306 of the Intelligent NIC 1214 in FIG. 1 indicates that a network packet has been received.

[0055] After having received the event message, FXP 1306 may identify a packet flow associated with the received network packet or determine whether one or more operations are to be performed on the received network packet. To identify the association or determine whether an operation is to be performed, FXP 1306 is configured to read at least a portion of the network packet from a corresponding storage unit in memory structure 1304 to which the associated portion has been written. If the associated packet flow cannot be identified (e.g., the received packet is the first network packet of the packet flow) or FXP 1306 has determined that at least one operation is to be performed on the received network packet (e.g., such as may be determined based on a usage model associated with the type of network packet received), FXP 1306 is configured to generate a message and send the message to a controller device of smart NIC 1214, which controller device is illustratively shown as Fig.13 and 14 Bare metal controller 1314.

[0056] Upon receiving the message, bare metal controller 1314 is configured to identify a subsequent action to be taken based on the type of message received. The type of message generated may depend on the action to be taken (e.g., identifying a packet flow, performing an operation, etc.). For example, the message may be a host identifier request message, which may be used by bare metal controller 1314 to indicate that a packet flow associated with a received network packet is to be identified so that a corresponding host interface (e.g., Fig.13 and 14 In another example, the message may be a network packet receive message that may be used by the bare metal controller 1314 to indicate that one or more operations (eg, accelerator operations) are to be performed on the received network packet.

[0057] If the received message is a host identifier request message, the bare metal controller 1314 is configured to forward the message to an on-die core (e.g., Fig.13 and 14 1318) so that one or more of the on-die cores 1318 can perform the necessary steps to identify the packet flow and the corresponding one of the host interfaces 1312 (e.g., see the steps for identifying the Fig.19 Alternatively, if the received message is a network packet receive message, the bare metal controller 1314 is configured to read at least a portion of the received network packet, overwrite the read portion with a software triggered action, manipulate the header of the network packet to create a reserved area, and send an operation request (e.g., an acceleration request) to the on-die cores so that one or more of the on-die cores can perform the necessary steps to perform the operation (e.g., using Fig.13 and Fig.14 1308 of the accelerator agent to coordinate acceleration operations).

[0058] The software-triggered actions may include any instructions on how to reconstruct the network packet upon completion of operations performed on it by the on-die core 1318. For example, the software-triggered actions may instruct the bare metal controller 1314 to add bytes to the structure of the header for header encapsulation or to add network packet metadata, to remove bytes from the structure of the header for header decapsulation or to remove existing network packet metadata, to change the starting position of the network packet pointer, etc. It should be appreciated that in other embodiments, the bare metal controller 1314 may be configured to receive other message types that may be used to perform other subsequent actions upon receipt.

[0059] like Fig.12 As shown, computing device 1200 includes a computing engine 1202, an input / output (I / O) subsystem 1208, one or more data storage devices 1210, communication circuits 1212, and in some embodiments, one or more peripheral devices 1216. Of course, in other embodiments, computing device 1200 may include other or additional components, such as components commonly found in computing devices (e.g., power supplies, cooling components, graphics processing units (GPUs), etc.). In addition, in some embodiments, one or more illustrative components may be incorporated into another component or otherwise form part of another component.

[0060] The computing engine 1202 may be embodied as any type of device or collection of devices capable of performing the various computing functions described below. In some embodiments, the computing engine 1202 may be embodied as a single device, such as an integrated circuit, an embedded system, an FPGA, a system on a chip (SoC), or other integrated system or device. In addition, in some embodiments, the computing engine 1202 includes or may be otherwise embodied as a processor 1204 and a memory 1206. The processor 1204 may be embodied as any type of processor capable of performing the functions described herein. For example, the processor 1204 may be embodied as one or more single-core or multi-core processors, a microcontroller, or other processor or processing / control circuit. In some embodiments, the processor 1204 may be embodied as, include, or otherwise coupled to an FPGA, an application specific integrated circuit (ASIC), reconfigurable hardware or hardware circuits, or other dedicated hardware that facilitates the execution of the functions described herein.

[0061] The memory 1206 may be embodied as any type of volatile (e.g., dynamic random access memory (DRAM), etc.) or non-volatile memory or data storage device capable of performing the functions described herein. It should be appreciated that the memory 1206 may include main memory (i.e., primary memory) and / or cache memory (i.e., memory that can be accessed faster than the main memory). Volatile memory may be a storage medium that requires power to maintain the state of data stored by the medium. Non-limiting examples of volatile memory may include various types of random access memory (RAM), such as dynamic random access memory (DRAM) or static random access memory (SRAM).

[0062] One specific type of DRAM that may be used in a memory module is synchronous dynamic random access memory (SDRAM). In a specific embodiment, the DRAM of the memory component may conform to a standard promulgated by JEDEC, such as JESD79F for DDR SDRAM, JESD79-2F for DDR2 SDRAM, JESD79-3F for DDR3 SDRAM, JESD79-4A for DDR4 SDRAM, JESD209 for low power DDR (LPDDR), JESD209-2 for LPDDR2, JESD209-3 for LPDDR3, and JESD209-4 for LPDDR4 (these standards are available at www.jedec.org). These standards (and similar standards) may be referred to as DDR-based standards, and the communication interfaces of storage devices that implement such standards may be referred to as DDR-based interfaces.

[0063] In one embodiment, the memory device is a block addressable memory device, such as those based on NAND or NOR technology. The memory device may also include a next generation non-volatile device, such as a three-dimensional cross-point memory device (e.g., Intel 3D XPoint TMMemory), or other byte-addressable write-in-place non-volatile memory devices. In one embodiment, the memory device may be or may include a memory device using chalcogenide glass, multi-threshold level NAND flash memory, NOR flash memory, single-level or multi-level phase change memory (PCM), resistive memory, nanowire memory, ferroelectric transistor random access memory (FeTRAM), antiferroelectric memory, magnetoresistive random access memory (MRAM) memory using memristor technology, resistive memory including metal oxide base, oxygen vacancy base and conductive bridge random access memory (CB-RAM), or spin transfer torque (STT)-MRAM, a device based on spintronic magnetic junction memory, a device based on magnetic tunnel junction (MTJ), a device based on DW (domain wall) and SOT (spin-orbit transfer), a thyristor-based memory device, or a combination of any of the above devices, or other memory. The memory device may refer to the die itself and / or the packaged memory product.

[0064] In some embodiments, a 3D crosspoint memory (e.g., Intel 3D XPoint TM Memory 1206 may include a transistor-free stackable cross-point architecture in which memory cells are located at the intersection of word lines and bit lines and are individually addressable and in which bit storage is based on changes in bulk resistance. In some embodiments, all or a portion of memory 1206 may be integrated into processor 1204. In operation, memory 1206 may store various software and data used during operation, such as job request data, kernel mapping data, telemetry data, applications, programs, libraries, and drivers.

[0065] The computing engine 1202 is communicatively coupled to other components of the computing device 1200 via an I / O subsystem 1208, which may be embodied as circuits and / or components that facilitate input / output operations with the computing engine 1202 (e.g., with the processor 1204 and / or memory 1206) and other components of the computing device 1200. For example, the I / O subsystem 1208 may be embodied as or otherwise include a memory controller hub, an input / output control hub, an integrated sensor hub, a firmware device, a communication link (e.g., a point-to-point link, a bus link, wires, cables, optical guides, printed circuit board traces, etc.), and / or other components and subsystems that facilitate input / output operations. In some embodiments, the I / O subsystem 1208 may form part of a SoC and be incorporated into the computing engine 1202 along with one or more of the processor 1204, memory 1206, and other components of the computing device 1200.

[0066] One or more data storage devices 1210 may be embodied as any type of device configured for short-term or long-term storage of data, such as memory devices and circuits, memory cards, hard disk drives, solid-state drives, or other data storage devices. Each data storage device 1210 may include a system partition that stores data and firmware code for the data storage device 1210. In addition, each data storage device 1210 may also include an operating system partition that stores data files and executable files for the operating system.

[0067] The communication circuit 1212 may be embodied as any communication circuit, device, or collection thereof that enables network communication between the computing device 1200 and another computing device (e.g., a source computing device) through a network (not shown). Such a network may be embodied as any type of wired or wireless communication network, including a global network (e.g., the Internet), a local area network (LAN) or a wide area network (WAN), a cellular network (e.g., a global system for mobile communications (GSM), 3G, long term evolution (LTE), world wide interoperability for microwave access (WiMAX), etc.), a digital subscriber line (DSL) network, a wired network (e.g., a coaxial network, a fiber optic network, etc.), or any combination thereof.

[0068] Thus, the communication circuit 1212 may be configured to communicate using any one or more communication technologies (eg, wired or wireless communications) and associated protocols (eg, Ethernet, As previously mentioned, the illustrative communication circuit 1212 includes an intelligent NIC 1214, which may also be referred to as an intelligent NIC or an intelligent / intelligent host structure interface (HFI), and Fig.13 and Fig.14 Smart NIC 1214 may be embodied as one or more built-in boards, daughter cards, network interface cards, controller chips, chipsets, or other devices that may be used by computing device 1200 to send / receive network communications to / from another computing device.

[0069] Peripherals 1216 may include any type of device that can be used to input information into and / or receive information from computing device 1200. Peripherals 1216 may be embodied as any auxiliary device that can be used to input information into computing device 1200, such as a keyboard, mouse, microphone, barcode reader, image scanner, etc., or any auxiliary device that can output information from computing device 1200, such as a display, speaker, graphics circuit, printer, projector, etc. It should be appreciated that in some embodiments, one or more of peripherals 1216 can be used as an input device and an output device (e.g., a touch screen display, a digitizer on top of a display screen, etc.). It should be further appreciated that the type of peripherals 1216 connected to computing device 1200 may depend on, for example, the type and / or intended use of computing device 1200. Additionally or alternatively, in some embodiments, peripherals 1216 may include one or more ports, such as, for example, a USB port for connecting external peripherals to computing device 1200.

[0070] Reference now Fig.13 , Fig.12 The NIC 1214 of the computing device 1200 can establish the environment 1300 during operation. The illustrative environment 1300 includes one or more network interfaces 1302, a memory structure 1304, an FXP 1306, one or more accelerator agents 1308, a service manager 1310, one or more host interfaces 1312, a bare metal controller 1314, one or more on-die processing cores 1318, an infrastructure 1316, a memory control unit 1320, an SRAM 1322, and one or more memory controllers 1324. The various components of the environment 1300 can be embodied as hardware, firmware, software, or a combination thereof. Thus, in some embodiments, one or more components of the environment 1300 can be embodied as a circuit or collection of electronic devices. In addition, in some embodiments, one or more illustrative components can form part of another component and / or one or more illustrative components can be independent of each other.

[0071] The network interface 1302 is configured to receive inbound network traffic and route / send outbound network traffic. To facilitate receiving inbound network communications (e.g., network traffic, network packets, network packet streams, etc.) to the computing device 1200 and transmitting outbound network communications (e.g., network traffic, network packets, network packet streams, etc.) from the computing device 1200, the network interface 1302 is configured to manage (e.g., create, modify, delete, etc.) connections to the physical and virtual network ports (i.e., virtual network interfaces) of the intelligent NIC 1214, and the ingress / egress buffers / queues associated therewith. The network interface 1302 is also configured to coordinate with the memory structure interface 1332 to store the contents (e.g., headers, payloads, footers, etc.) of the network packets received at the network interface 1302 to the memory structure 1304.

[0072] As previously described, memory structure 1304 includes segments (not shown) that can be used to store the contents of received network packets. Therefore, it should be appreciated that memory structure interface 1332 is configured to manage data writes to the segments in a distributed manner and provide indications (e.g., pointers) that can be used to identify the storage locations of the segments in which the contents of the network packets have been stored. In addition, memory structure interface 1332 is configured to notify FXP 1306 when a received network packet has been stored in memory structure 1304 and provide a memory structure location pointer to FXP 1306.

[0073] FXP 1306 is configured to identify a packet flow associated with a received network packet and determine whether to notify a host interface corresponding to the packet flow. To identify the packet flow, FXP 1306 may perform a lookup on a table that indicates which packet flows correspond to which host interface 1312. If the lookup fails (e.g., the associated packet flow is not in the lookup table), FXP 1306 is configured to generate and send a message to bare metal controller 1314 (i.e., a host identifier request message), which bare metal controller 1314 may use to take subsequent actions to identify the associated packet flow and the corresponding host interface 1312. In some embodiments, FXP 1306 may be additionally configured to generate and send a message to bare metal controller 1314 upon receipt of each network packet (i.e., a network packet received message) so that operations may be performed before notifying the appropriate host interface 1312 of the receipt of the network packet.

[0074] The accelerator agents 1308 are each configured to perform acceleration operations on at least a portion of the network packets. For example, such accelerator agents 1308 may include remote direct memory access (RDMA) operations, encryption operations, or any other type of acceleration. The service manager 1310 is configured to perform service management in the packet processing data path, such as may be performed to implement a service level agreement (SLA).

[0075] Each host interface 1312 is configured to function as a corresponding one of the host CPUs 1328 (e.g., Fig.12 The host interface 1312 is configured to interface between the host CPU 1328 (e.g., one of the processors 1204 of the computing engine 1202) and the intelligent NIC 1214. For example, the host interface 1312 is configured to serve as a host CPU 1328 (e.g., Fig.12 The interfaces between the processor 1204 of the computing engine 1202 and the memory structure 1304 (e.g., via the memory structure interface 1332), and between the host CPU 1328 and the infrastructure 1316. Thus, messages and / or network packet data can be passed therebetween via one or more communication links (e.g., PCIe interconnects) to provide access to the host memory 1330 (e.g., Fig.12 Access to the memory 1206 of the computing engine 1202).

[0076] The bare metal controller 1314 may be embodied as any type of virtual or physical controller device capable of performing the functionality described herein. The bare metal controller 1314 is configured to receive a message from the FXP 1306 and identify a subsequent action to be performed based on the type of message received. For example, as previously described, if the received message is a network packet receive message, the bare metal controller 1314 is configured to read at least a portion of the received network packet, overwrite the read portion with a software-triggered action, manipulate the header of the network packet for creating a reserved area, and send an operation request (e.g., an acceleration request) to the on-die core 1318 so that one or more on-die cores 1318 can perform the necessary steps to perform the operation (e.g., coordinate an acceleration operation using one of the accelerator agents 1308). It should be appreciated that in some embodiments, the bare metal controller 1314 may be incorporated into another component. For example, now see Fig.14 , Fig.12 The NIC 1214 of the computing device 1200 may establish the environment 1400 during operation, wherein the bare metal controller 1314 is integrated with the host interface 1312. It should be further appreciated that in some embodiments, the bare metal controller 1314 may be a physical or virtual component.

[0077] Return to reference Fig.13, one or more on-die cores 1318 are configured to perform computations local to the smart NIC 1214. Thus, the on-die cores 1318 can provide computational power to perform certain operations without having to move the data to be operated on to a location away from the smart NIC 1214, thereby eliminating latency that would otherwise be introduced by moving data. The infrastructure 1316 can include various components for managing communications, status, and control of the on-die cores 1318 and / or the host interface 1312, such as serial communication interfaces (e.g., universal asynchronous receiver and transmitter (UART), serial peripheral interface (SPI) bus, etc.), test / debug interfaces, digital thermal sensors, I / O controllers, etc.

[0078] The SRAM 1322 is communicatively coupled to the on-die core 1318 via the memory control unit 1320 and may be used to store data (e.g., work queues, notifications, interrupts, headers, descriptors, key structures, etc.) for the on-die core 1318. In addition, the memory control unit 1320 is also coupled to one or more memory controllers 1324. The memory controller 1324 may be a double data rate (DDR) memory controller configured to drive a DDR SDRAM 1326 that is external to the intelligent NIC 1214 but managed by the intelligent NIC 1214 rather than the host CPU (e.g., Fig.12 1304). Thus, access to the DDR SDRAM 1326 is faster than access to the DDR SDRAM 1330 (i.e., host memory) of the host CPU 1328. The memory controller 1324 is also communicatively coupled to the memory structure 1304 via a memory structure interface 1332 so that data stored in the DDR SDRAM 1326 can be transferred to or from the memory structure 1304.

[0079] Reference now Fig.15 In use, the computing device 1200, or more specifically, the smart NIC 1214 of the computing device 1200, may perform a method 1500 for generating an event message in response to receiving a network packet. The method 1500 begins at block 1502, where the smart NIC 1214, or more specifically the network interface 1302 of the smart NIC 1214, determines whether a network packet has been received. If so, the method 1500 proceeds to block 1504, where the smart NIC 1214, or more specifically the memory structure interface 1332 of the smart NIC 1214, writes the received network packet to a memory structure of the smart NIC 1214 (e.g., Fig.13 Memory structure 1304).

[0080] To this end, in block 1506, the memory structure interface 1332 allocates a plurality of segments of the memory structure 1304 and writes the contents of the received network packet (e.g., header, payload, and footer) into the allocated segments. In block 1508, the memory structure interface 1332 generates an event message and sends the event message to the FXP (e.g., Fig.13 FXP 1306), indicating that the received network packet has been received. In addition, in block 1510, the memory structure interface 1332 includes a memory structure location pointer with an event message, which can be used to identify the memory location where the received network packet has been written.

[0081] Fig.16 and Fig.17 Two examples of methods that may be performed by FXP 1306 upon receiving an event message are illustratively shown. Fig.16 In method 1600, FXP 1306 may be configured to notify bare metal controller 1314 of each received event message indicating that a network packet has been received. Fig.17 In the method 1700 of , FXP 1306 may be configured to first identify the packet stream associated with the network packet corresponding to each received event message before notifying the bare metal controller 1314 or a corresponding one of the host interfaces 1312 of the received network packets. It should be appreciated that in some embodiments, FXP 1306 may be configured to perform one or more additional operations on at least a portion of the network packet, in addition to or in lieu of what is described herein, such as upon receiving an event message, after performing additional operations on the network packet (e.g., by the on-die core 1318, the agent 1308, etc.), etc. For example, in some embodiments, FXP 1306 may be configured to create a reserved area in a header of a network packet having a predetermined size, such as by shifting the header. In such an embodiment, FXP 1306 may create a reserved area of ​​sufficient size to encapsulate another header in the network packet header, add a specific amount of metadata to the network packet header, etc. In addition, in such an embodiment, FXP 1306 may be configured to compress any unused portion of the reserved area upon completion of the operation to be performed thereon. In other words, FXP 1306 may be additionally configured to perform operations that might otherwise be performed by on-die core 1318 and / or bare metal controller 1314 .

[0082] Reference now Fig.16In use, the computing device 1200, or more specifically, the intelligent NIC 1214 of the computing device 1200, may perform a method 1600 for generating a network packet received message in response to receiving an event message. The method 1600 begins at block 1602, where the intelligent NIC 1214, or more specifically, the FXP (e.g., FXP 1306) of the intelligent NIC 1214 determines whether an event message has been received from the memory structure interface 1332 (e.g., in response to having received a network packet associated with the event message). It should be appreciated that the event message includes a memory structure location pointer that can be used to identify a memory location in the memory structure 1304 where the received network packet has been written.

[0083] If FXP 1306 determines that an event message has been received, method 1600 proceeds to block 1604, where FXP 1306 generates a network packet received message and sends the network packet received message to a bare metal controller (e.g., bare metal controller 1314) requesting that an operation be performed. In some embodiments, FXP 1306 may be configured to generate and send a network packet received message in response to each received network packet. Alternatively, in other embodiments, FXP 1306 may be configured to identify one or more characteristics of the received network packet (e.g., packet flow, source identifier, destination identifier, etc.) and determine whether to generate and send a network packet received message based on one or more identified characteristics. Additionally, in block 1606, FXP 1306 includes a memory structure location pointer having a network packet received message.

[0084] Reference now Fig.17 In use, computing device 1200, or more specifically, smart NIC 1214 of computing device 1200, may perform method 1700 for associating a packet flow with a received network packet in response to receiving an event message. Method 1700 begins at block 1702, where smart NIC 1214, or more specifically, FXP (e.g., FXP 1306) of smart NIC 1214 determines whether an event message has been received. If so, method 1700 proceeds to block 1704, where FXP 1306 reads at least a portion of a network packet associated with the received event message (e.g., at least a portion of a header, payload, and / or footer) to identify a packet flow of the network packet. To this end, in block 1706, FXP 1306 reads at least a portion of the network packet from a segment located in memory structure 1304, the location of which has been determined based on a memory structure location pointer received with the event message.

[0085] At block 1708, FXP 1306 determines whether an associated packet flow has been identified. To this end, for example, FXP 1306 may be configured to perform a lookup in a table that indicates which packet flows correspond to one or more characteristics of the received network packet (e.g., data type, source identifier, destination identifier, etc.). If FXP 1306 determines that an associated packet flow has not been identified (e.g., the network packet associated with the event message is the first network packet of a packet flow), method 1700 branches to block 1710. At block 1710, FXP 1306 generates and sends a host identifier request message to bare metal controller 1314 requesting assistance in identifying a packet flow from which a corresponding host interface 1312 (e.g., see Fig.19 Additionally, in block 1712, the FXP 1306 includes a memory structure location pointer with the host identifier request message.

[0086] Otherwise, if the FXP 1306 determines that an associated packet flow has been identified, the method 1700 branches to block 1714. In block 1714, the FXP 1306 identifies the host interface corresponding to the identified associated packet flow. To this end, for example, the FXP 1306 can be configured to perform a lookup on a table that can be used to identify which packet flows correspond to which host interface 1312. In block 1716, the FXP 1306 generates and sends a notification message to the identified host interface indicating that a network packet has been received. Additionally, in block 1718, the FXP 1306 includes a memory structure location pointer with the notification message.

[0087] Reference now Fig.18 In use, computing device 1200, or more specifically, smart NIC 1214 of computing device 1200, may execute method 1800 for facilitating operations performed on network packets in response to having received a message from FXP 1306. Method 1800 begins at block 1802, where smart NIC 1214, or more specifically, a bare metal controller (e.g., Fig.13 and 14 The bare metal controller 1314 of the present invention determines whether a message has been received from the FXP 1306. If so, the method 1800 proceeds to block 1804, where the bare metal controller 1314 determines whether to identify which host interface to notify of the receipt of the network packet associated with the network packet received message. To this end, the bare metal controller 1314 is configured to determine the type of message received. For example, the received message may be a network packet received message (e.g., a network packet received message received by the bare metal controller 1314). Fig.16 ), a host identifier request message (eg, generated by Fig.17), or other types of notification messages (e.g., statistics update notifications, scheduling request notifications, scheduling decision notifications, etc.). Therefore, it should be appreciated that certain portions of method 1800 may not be performed when another type of notification message (e.g., reading a portion of a network packet) is received.

[0088] If the bare metal controller 1314 determines that a corresponding host interface is to be identified (e.g., the received message corresponds to a host identifier request message), the method 1800 branches to block 1806, where the bare metal controller 1314 communicates with an on-die core (e.g., Fig.13 For example, the bare metal controller 1314 may write to one or more inbound descriptors available to the core on the die to indicate that the bare metal controller 1314 requests assistance in identifying the packet flow (see, e.g., Fig.19 Otherwise, if the bare metal controller 1314 determines that the host interface does not need to be identified (eg, the received message corresponds to a network packet receive message), the method 1800 branches to block 1808.

[0089] In block 1808, bare metal controller 1314 retrieves at least a portion of a network packet associated with the received message based on a corresponding memory structure location pointer received with the message. To this end, in block 1810, in some embodiments, bare metal controller 1314 may retrieve a header of the network packet. Alternatively, in block 1812, in other embodiments, bare metal controller 1314 may retrieve a predetermined size amount of network packets. In block 1814, bare metal controller 1314 stores the retrieved portion of the network packet to a locally managed storage location (e.g., SRAM 1322, DRAM 1326, etc.). In block 1816, bare metal controller 1314 reads the stored portion of the network packet.

[0090] In block 1818, bare metal controller 1314 writes the inbound descriptor available to on-die core 1318 (e.g., to a location in locally managed storage) to perform one or more operations upon receipt of the inbound descriptor. Additionally, bare metal controller 1314 includes an indication (e.g., a pointer) of the location of the locally stored portion of the network packet. In some embodiments, in block 1822, bare metal controller 1314 may send an interrupt to on-die core 1318 to notify on-die core 1318 of the presence of the inbound descriptor.

[0091] In block 1824, bare metal controller 1314 determines whether an outbound descriptor has been received from on-die core 1318. In other words, on-die core 1318 is configured to perform one or more operations on portions of the network packet and, upon completion, write an outbound descriptor that informs bare metal controller 1314 of the changes made to the network packet by on-die core 1318 (e.g., making the header larger or smaller, merging or removing metadata, etc.). The outbound descriptor may include any information that bare metal controller 1314 may use to identify where to obtain updated portions of the network packet from locally managed memory, how to process the network packet (e.g., receiving the next or final component of an event message associated with the network packet that may be used to identify an action to be performed upon receipt), how the structure of portions of the network packet changed, etc.

[0092] If the bare metal controller 1314 has received the outbound descriptor, the method proceeds to block 1826, where the bare metal controller 1314 reconstructs a portion of the network packet based on the information contained in the outbound descriptor. For example, the bare metal controller 1314 may be configured to perform one or more hardware-level protocol conversions to reconstruct a portion of the network packet to account for changes made to the portion of the network packet (e.g., the portion became larger, the portion became smaller, the portion includes updated information, etc.). In block 1828, the bare metal controller 1314 performs the following steps in a distributed manner (e.g., via Fig.13 In block 1830, bare metal controller 1314 identifies a subsequent action to be performed on the network packet (e.g., additional processing, sending to another computing device, etc.) based on the information of the outbound descriptor and notifies the corresponding component (e.g., FXP 1306, one of accelerator agents 1306, one of network interfaces 1302, etc.) via an event message.

[0093] Reference now Fig.19 In use, the computing device 1200, or more specifically, the smart NIC 1214 of the computing device 1200, may perform a method 1900 for identifying a host interface associated with a received network packet. The method 1900 begins at block 1902, where the smart NIC 1214, or more specifically, one or more on-die cores (e.g., Fig.13 and 14 The on-die core 1318 of the smart NIC 1214 determines whether the bare metal controller (e.g., Fig.13 and 14If yes, method 1900 proceeds to block 1904, where one of the on-die cores 1318 retrieves the entire network packet from the memory structure 1304 based on the memory structure location pointer received with the host identification request message. In block 1906, the on-die core 1318 stores the contents of the network packet in a locally controlled memory (e.g., Fig.13 DDR SDRAM 1326).

[0094] In block 1908, the on-die core 1318 processes at least a portion of the network packet data to determine a corresponding host interface. For example, the on-die core 1318 may analyze at least a portion of the header to determine a protocol, a source identifier (e.g., a source IP address, a source port, etc.), a destination identifier (e.g., a destination IP address, a destination port, etc.), and / or other network traffic characteristics of the network packet. In another example, the on-die core 1318 may analyze at least a portion of the payload of the network packet to determine a type or characteristic associated with the network packet, such as whether the payload contains audio data, video data, text, a uniform resource identifier (URI), etc. In block 1910, the on-die core 1318 generates an indication of the determined corresponding host interface and sends it to the bare metal controller 1314. In some embodiments, in block 1912, the on-die core 1318 initiates writing the network packet to the memory structure 1304 or the host memory 1330 associated with the host CPU 1328 corresponding to the identified host interface 1312.

[0095] Reference now Fig. 20 , an embodiment of a communication process 2000 for processing an outbound network packet includes Fig.12 The computing engine 1202 and Figure 12-14 NIC. Illustrative communication flow 2000 includes multiple data flows, some of which may be performed separately or together, depending on the embodiment. In data flow 2002, processor 1204 of compute engine 1202 generates data for a network packet to be sent to another network device (not shown). In data flow 2004, processor 1204 sends the data to NIC 1214, or more specifically to one of host interfaces 1312. In data flow 2006, host interface 1312 packages the received data and forwards the network packet to memory structure interface 1332 in data flow 2008.

[0096] In data flow 2010, memory structure interface 1332 writes network packets to a memory structure (e.g., Fig.131304). In data flow 2012, memory structure interface 1332 generates an event message indicating that a new network packet has been written to memory structure 1304 (e.g., a new network packet event message). In data flow 2014, host structure interface 1318 forwards the event message to FXP 1306. It should be appreciated that in some embodiments, memory structure interface 1332 may include some processing capabilities so that some analysis can be performed by memory structure interface 1332 without involving FXP 1306 (e.g., the event message can be sent directly to bare metal controller 1314). For example, in such an embodiment, memory structure interface 1332 can be configured to identify a flow associated with the network packet before sending a subsequent event message to FXP 1306, which can be used by FXP 1306 to perform one or more operations thereon (e.g., create a reserved area in the header of the network packet), and then send the subsequent event message to the bare metal controller as described in data flow 2020.

[0097] Upon receiving the event message, in data flow 2016, FXP 1306 obtains and reads at least a portion of the new network packet from memory structure 1304. To this end, it should be appreciated that the event message may include a pointer that can be used to identify the location in memory structure 1304 where the new network packet has been stored. In data flow 2018, FXP 1306 identifies whether additional processing by on-die core 1318 is required before sending the network packet from NIC 1214 (e.g., via one of network interfaces 1302). If so, in data flow 2020, FXP 1306 generates an event message (e.g., a network packet send event message) and sends it to bare metal controller 1314. Upon receipt, bare metal controller 1314 is configured to perform the processing in Fig.18 The operations described in method 1800 of . In data flow 2022, after receiving an indication from bare metal controller 1314 that a network packet is ready for transmission, memory structure interface 1332 reads and deallocates the entire network packet from memory structure 1304 for transmission to another network device.

[0098] example

[0099] The following provides illustrative examples of the techniques disclosed herein. Implementations of these techniques may include any one or more of the examples described below, and any combination.

[0100] Example 1 includes a computing device for processing network packets through a network interface controller (NIC) of the computing device, the computing device comprising: a packet processor and a controller device, each of the packet processor and the controller device being communicatively coupled to a memory structure of the NIC, wherein the NIC is configured to: retrieve, by the controller device and in response to having received a message from the packet processor that the network packet has been written to the memory structure, at least a portion of the network packet from the memory structure based on a memory structure location pointer received with the message; read, by the controller device, the retrieved portion of the network packet; write, by the controller device, an inbound descriptor to a location in a memory managed by the NIC; perform, by one or more on-die cores of the NIC, one or more operations on the portion of the retrieved network packet based on information contained in the inbound descriptor; write, by the one or more on-die cores, an outbound descriptor to a location in a memory managed by the NIC; reconstruct, by the controller device, at least a portion of the portion of the retrieved network packet based on information contained in the outbound descriptor; and write, by the controller device, the reconstructed portion of the network packet to the memory structure.

[0101] Example 2 includes the subject matter of Example 1, and further includes storing, by the controller device, the portion of the acquired network packet to a local temporary data storage device managed by the NIC.

[0102] Example 3 includes the subject matter of any of Examples 1 and 2, and wherein obtaining the portion of the network packet from the memory structure comprises obtaining at least a header of the network packet.

[0103] Example 4 includes the subject matter of any of Examples 1-3, and wherein obtaining the portion of the network packet from the memory structure comprises obtaining an amount of a predetermined size of the network packet.

[0104] Example 5 includes the subject matter of any of Examples 1-4, and wherein the memory structure location pointer corresponds to a location in the memory structure where a header of the network packet has been stored.

[0105] Example 6 includes the subject matter of any of Examples 1-5, and further includes shifting, by the controller device and before the inbound descriptor has been written, a header of the network packet by an amount of a predetermined size to create a reserved area in the header.

[0106] Example 7 includes the subject matter of any of Examples 1-6, and further includes sending, by the controller device and after the inbound descriptor has been written, an interrupt request to the one or more on-die cores.

[0107] Example 8 includes the subject matter of any of Examples 1-7, and further includes shifting, by the packet processor and before the message has been sent to the controller device, a header of the network packet by an amount of a predetermined size to create a reserved area in the header.

[0108] Example 9 includes the subject matter of any of Examples 1-8, and wherein reconstructing at least a portion of the portion of the obtained network packet based on information contained in the outbound descriptor includes one of: adding one or more bytes to the structure of the portion of the network packet, removing one or more bytes from the structure of the portion of the network packet, or changing the starting position of a pointer to the position of the network packet in the memory structure.

[0109] Example 10 includes the subject matter of any one of Examples 1-9, and also includes: the controller device identifying, based on the outbound descriptor, a component of the NIC that is to perform a subsequent action on the network packet, and sending another event message to the identified component, wherein the other event message can be used to identify the subsequent action to be performed and the location of the network packet in the memory structure.

[0110] Example 11 includes the subject matter of any of Examples 1-10, and wherein identifying the component of the NIC comprises: identifying an accelerator agent of the NIC for performing an acceleration operation on the network packet or a network interface of the NIC to send the network packet to another computing device.

[0111] Example 12 includes the subject matter of any of Examples 1-11, and also includes: receiving, by a network interface of the NIC, a network packet from another computing device; forwarding, by the network interface, the received network packet to a memory structure interface of the memory structure; writing, by the memory structure interface, the network packet to the memory structure in a distributed manner; sending, by the memory structure interface, an event message to the packet processor, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer; and sending, by the packet processor and upon receiving the event message, the message to the controller device, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer.

[0112] Example 13 includes the subject matter of any of Examples 1-12, and also includes: determining, by the packet processor, whether a packet flow corresponding to a received network packet is known; and sending, by the packet processor and in response to determining that the packet flow is unknown, a host identifier request message to the controller device, wherein the host identifier request message can be used to indicate that the packet flow corresponding to the network packet is unknown.

[0113] Example 14 includes the subject matter of any of Examples 1-13, and wherein determining whether the packet flow is known includes: reading, by the one or more on-die cores of the NIC, the portion of the network packet from a location in the memory managed by the NIC where a portion of the network packet is already stored, and performing a lookup operation based at least in part on the read portion of the network packet to determine the packet flow.

[0114] Example 15 includes the subject matter of any of Examples 1-14, and also includes: receiving a network packet from a compute engine by a host interface of the NIC; forwarding the network packet to a memory structure interface of the memory structure by the host interface; writing the network packet to the memory structure in a distributed manner by the memory structure interface; sending an event message to the packet processor by the memory structure interface, wherein the event message indicates that the network packet has been received from the compute engine; identifying by the packet processor whether the network packet is to be processed by the one or more on-die cores; and sending another event message to the controller device by the packet processor and after having identified that the network packet is to be processed by the one or more on-die cores, wherein the other event message indicates that the network packet has been received and includes the memory structure location pointer.

[0115] Example 16 includes a method for processing a network packet by a network interface controller (NIC) of a computing device, the computing device comprising: a controller device of a network interface controller (NIC) of the computing device and in response to having received a message from a packet processor of the NIC that a network packet has been written to a memory structure of the NIC, retrieving at least a portion of the network packet from the memory structure based on a memory structure location pointer received with the message; reading the retrieved portion of the network packet by the controller device; writing an inbound descriptor by the controller device to a location in a memory managed by the NIC; performing one or more operations on the retrieved portion of the network packet based on information contained in the inbound descriptor by one or more on-die cores of the NIC; writing an outbound descriptor by the one or more on-die cores to a location in a memory managed by the NIC; reconstructing at least a portion of the portion of the retrieved network packet by the controller device based on information contained in the outbound descriptor; and writing the reconstructed portion of the network packet to the memory structure by the controller device.

[0116] Example 17 includes the subject matter of Example 16, and further includes storing, by the controller device, the portion of the acquired network packet to a local temporary data storage device managed by the NIC.

[0117] Example 18 includes the subject matter of any of Examples 16 and 17, and wherein obtaining the portion of the network packet from the memory structure comprises obtaining at least a header of the network packet.

[0118] Example 19 includes the subject matter of any of Examples 16-18, and wherein obtaining the portion of the network packet from the memory structure comprises obtaining an amount of a predetermined size of the network packet.

[0119] Example 20 includes the subject matter of any of Examples 16-19, and wherein the memory structure location pointer corresponds to a location in the memory structure where a header of the network packet has been stored.

[0120] Example 21 includes the subject matter of any of Examples 16-20, and further includes shifting, by the controller device, a header of the network packet by an amount of a predetermined size to create a reserved area in the header before writing the inbound descriptor.

[0121] Example 22 includes the subject matter of any of Examples 16-21, and further includes sending, by the controller device, an interrupt request to the one or more on-die cores after writing the inbound descriptor.

[0122] Example 23 includes the subject matter of any of Examples 16-22, and further includes shifting, by the packet processor, a header of the network packet by an amount of a predetermined size to create a reserved area in the header before the message has been sent to the controller device.

[0123] Example 24 includes the subject matter of any of Examples 16-23, and wherein reconstructing at least a portion of the portion of the obtained network packet based on information contained in the outbound descriptor includes one of: (i) adding one or more bytes to the structure of the portion of the network packet, (ii) removing one or more bytes from the structure of the portion of the network packet, or (iii) changing the starting position of a pointer to point to the location of the network packet in the memory structure.

[0124] Example 25 includes the subject matter of any of Examples 16-24, and also includes: identifying, by the controller device, a component of the NIC that is to perform subsequent action on the network packet based on the outbound descriptor, and sending another event message to the identified component, wherein the other event message can be used to identify the subsequent action to be performed and the location of the network packet in the memory structure.

[0125] Example 26 includes the subject matter of any of Examples 16-25, and wherein identifying the component of the NIC comprises identifying an accelerator agent of the NIC for performing an acceleration operation on the network packet or a network interface of the NIC to send the network packet to another computing device.

[0126] Example 27 includes the subject matter of any of Examples 16-26, and also includes: receiving a network packet from another computing device by a network interface of the NIC; forwarding the received network packet to a memory structure interface of the memory structure by the network interface; writing the network packet to the memory structure in a distributed manner by the memory structure interface; sending an event message to the packet processor by the memory structure interface, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer; and sending the message to the controller device by the packet processor and upon receiving the event message, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer.

[0127] Example 28 includes the subject matter of any of Examples 16-27, and also includes: determining, by the packet processor, whether a packet flow corresponding to a received network packet is known; and sending, by the packet processor and in response to determining that the packet flow is unknown, a host identifier request message to the controller device, wherein the host identifier request message can be used to indicate that the packet flow corresponding to the network packet is unknown.

[0128] Example 29 includes the subject matter of any of Examples 16-28, and wherein determining whether the packet flow is known comprises: (i) reading, by an on-die core of the NIC, the portion of the network packet from a location in the memory managed by the NIC where the portion of the network packet is already stored, and (ii) performing a lookup operation based at least in part on the read portion of the network packet to determine the packet flow.

[0129] Example 30 includes the subject matter of any of Examples 16-29, and also includes: receiving a network packet from the compute engine by a host interface of the NIC; forwarding the network packet to a memory structure interface of the memory structure by the host interface; writing the network packet to the memory structure in a distributed manner by the memory structure interface; sending an event message to the packet processor by the memory structure interface, wherein the event message indicates that the network packet has been received from the compute engine; identifying by the packet processor whether the network packet is to be processed by the one or more on-die cores; and sending another event message to the controller device by the packet processor and after having identified that the network packet is to be processed by the one or more on-die cores, wherein the other event message indicates that the network packet has been received and includes the memory structure location pointer.

[0130] Example 31 includes one or more machine-readable storage media of a network interface controller (NIC) of a computing device, comprising a plurality of instructions stored thereon that, when executed, cause the NIC of the computing device to perform the method of any one of Examples 16-30.

[0131] Example 32 includes a computing device for processing network packets through a network interface controller (NIC) of the computing device, the computing device comprising: one or more processors; and a network interface controller (NIC) having a plurality of instructions stored therein, which, when executed by the NIC, causes the computing device to perform the method of any one of Examples 16-30.

[0132] Example 33 includes a computing device for processing network packets through a network interface controller (NIC) of the computing device, the computing device comprising: a controller device of a network interface controller (NIC) of the computing device and in response to receiving a message from a packet processor of the NIC that the network packet has been written to the memory structure of the NIC, a unit for obtaining at least a portion of the network packet from the memory structure based on a memory structure location pointer received with the message; a unit for reading the obtained portion of the network packet by the controller device; a unit for writing an inbound descriptor to a location in a memory managed by the NIC by the controller device; a unit for performing one or more operations on the obtained portion of the network packet based on information contained in the inbound descriptor by one or more on-die cores of the NIC; a unit for writing an outbound descriptor to a location in a memory managed by the NIC by the one or more on-die cores; a unit for reconstructing at least a portion of the obtained portion of the network packet by the controller device based on information contained in the outbound descriptor; and a unit for writing the reconstructed portion of the network packet to the memory structure by the controller device.

[0133] Example 34 includes the subject matter of Example 33, and further includes means for storing, by the controller device, the portion of the acquired network packet to a local temporary data storage device managed by the NIC.

[0134] Example 35 includes the subject matter of any of Examples 33 and 34, and wherein the means for obtaining the portion of the network packet from the memory structure comprises means for obtaining at least a header of the network packet.

[0135] Example 36 includes the subject matter of any of Examples 33-35, and wherein the means for obtaining the portion of the network packet from the memory structure comprises means for obtaining an amount of a predetermined size of the network packet.

[0136] Example 37 includes the subject matter of any of Examples 33-36, and wherein the memory structure location pointer corresponds to a location in the memory structure where a header of the network packet has been stored.

[0137] Example 38 includes the subject matter of any of Examples 33-37, and further includes means for shifting, by the controller device and before the inbound descriptor has been written, a header of the network packet by an amount of a predetermined size to create a reserved area in the header.

[0138] Example 39 includes the subject matter of any of Examples 33-38, and further includes means for sending, by the controller device and after the inbound descriptor has been written, an interrupt request to the one or more on-die cores.

[0139] Example 40 includes the subject matter of any of Examples 33-39, and further includes means for shifting, by the packet processor and before the message has been sent to the controller device, a header of the network packet by an amount of a predetermined size to create a reserved area in the header.

[0140] Example 41 includes the subject matter of any of Examples 33-40, and wherein the means for reconstructing at least a portion of the portion of the obtained network packet based on information contained in the outbound descriptor includes one of: (i) a means for adding one or more bytes to the structure of the portion of the network packet, (ii) a means for removing one or more bytes from the structure of the portion of the network packet, or (iii) a means for changing the starting position of a pointer to point to the location of the network packet in the memory structure.

[0141] Example 42 includes the subject matter of any of Examples 33-41, and also includes a unit for performing the following operations: (i) identifying, by the controller device, a component of the NIC that is to perform subsequent action on the network packet based on the outbound descriptor, and (ii) sending another event message to the identified component, wherein the other event message can be used to identify the subsequent action to be performed and the location of the network packet in the memory structure.

[0142] Example 43 includes the subject matter of any of Examples 33-42, and wherein the means for identifying a component of the NIC includes means for identifying an accelerator agent of the NIC for performing an acceleration operation on the network packet or a network interface of the NIC to send the network packet to another computing device.

[0143] Example 44 includes the subject matter of any of Examples 33-43, and further includes: a unit for receiving the network packet from another computing device by a network interface of the NIC; a unit for forwarding the received network packet to a memory structure interface of the memory structure by the network interface; a unit for writing the network packet to the memory structure in a distributed manner by the memory structure interface; a unit for sending an event message to the packet processor by the memory structure interface, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer; and a unit for sending the message to the controller device by the packet processor and upon receiving the event message, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer.

[0144] Example 45 includes the subject matter of any of Examples 33-44, and further includes: a unit for determining, by the packet processor, whether a packet flow corresponding to a received network packet is known; and a unit for sending, by the packet processor and in response to determining that the packet flow is unknown, a host identifier request message to the controller device, wherein the host identifier request message can be used to indicate that the packet flow corresponding to the network packet is unknown.

[0145] Example 46 includes the subject matter of any of Examples 33-45, and wherein the unit for determining whether the packet flow is known includes a unit for: (i) reading, by an on-die core of the NIC, the portion of the network packet from a location in the memory managed by the NIC that already stores the portion of the network packet, and (ii) performing a lookup operation to determine the packet flow based at least in part on the read portion of the network packet.

[0146] Example 47 includes the subject matter of any of Examples 33-46, and further includes: a unit for receiving a network packet from the compute engine by a host interface of the NIC; a unit for forwarding the network packet to a memory structure interface of the memory structure by the host interface; a unit for writing the network packet to the memory structure in a distributed manner by the memory structure interface; a unit for sending an event message to the packet processor by the memory structure interface, wherein the event message indicates that the network packet has been received from the compute engine; a unit for identifying by the packet processor whether the network packet is to be processed by the one or more on-die cores; and a unit for sending another event message to the controller device by the packet processor and after the network packet has been identified to be processed by the one or more on-die cores, wherein the other event message indicates that the network packet has been received and includes the memory structure location pointer.

Claims

1. A computing device for processing network packets through a network interface controller NIC of the computing device, the computing device comprising: a packet processor and a controller device, each of the packet processor and the controller device being communicatively coupled to a memory structure of the network interface controller NIC, wherein the network interface controller NIC is configured to: in response to having received a message from the packet processor that a network packet has been written to the memory structure, retrieving, by the controller device, at least a portion of the network packet from the memory structure based on a memory structure location pointer received with the message; reading, by the controller device, the obtained portion of the network packet; writing, by the controller device, an inbound descriptor to a location in a memory managed by the network interface controller NIC; performing, by one or more on-die cores of the network interface controller NIC, one or more operations on the obtained portion of the network packet based on information contained in the inbound descriptor; writing, by the one or more on-die cores, an outbound descriptor to a location in a memory managed by the network interface controller NIC; reconstructing, by the controller device, at least a portion of the obtained portion of the network packet based on information contained in the outbound descriptor; and The reconstructed portion of the network packet is written, by the controller device, to the memory structure.

2. The computing device of claim 1, further comprising: The retrieved portion of the network packet is stored by the controller device to a local temporary data storage device managed by the network interface controller NIC.

3. The computing device of claim 1, wherein: Retrieving the portion of the network packet from the memory structure includes retrieving one of: a header of the network packet or an amount of a predetermined size of the network packet.

4. The computing device of claim 1, further comprising: Before the inbound descriptor has been written, a header of the network packet is shifted by the controller device by an amount of a predetermined size to create a reserved area in the header.

5. The computing device of claim 1, further comprising: After the inbound descriptor has been written, an interrupt request is sent by the controller device to the one or more on-die cores.

6. The computing device of claim 1, further comprising: Before the message has been sent to the controller device, a header of the network packet is shifted by the packet processor by an amount of a predetermined size to create a reserved area in the header.

7. The computing device of claim 1, wherein: Reconstructing at least a portion of the obtained portion of the network packet based on the information contained in the outbound descriptor includes one of: adding one or more bytes to the structure of the portion of the network packet, removing one or more bytes from the structure of the portion of the network packet, or changing the starting position of a pointer to the position of the network packet in the memory structure.

8. The computing device of claim 1, further comprising: The controller device identifies a component of the network interface controller NIC that is to perform subsequent actions on the network packet based on the outbound descriptor, and sends another event message to the identified component, wherein the other event message can be used to identify the subsequent actions to be performed and the location of the network packet in the memory structure.

9. The computing device of claim 8, wherein: Identifying the component of the network interface controller NIC includes identifying an accelerator agent of the network interface controller NIC for performing an acceleration operation on the network packet or a network interface of the network interface controller NIC to send the network packet to another computing device.

10. The computing device of claim 1, further comprising: Receiving the network packet from another computing device by a network interface of the network interface controller NIC; forwarding, by the network interface, the received network packet to the memory structure interface of the memory structure; writing the network packets to the memory structure in a distributed manner by the memory structure interface; sending, by the memory structure interface, an event message to the packet processor, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer; and Upon receipt of the event message, the message is sent by the packet processor to the controller device, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer.

11. The computing device of claim 1 , further comprising: determining, by the packet processor, whether a packet flow corresponding to a received network packet is known; as well as In response to determining that the packet flow is unknown, a host identifier request message is sent by the packet processor to the controller device, wherein the host identifier request message can be used to indicate that the packet flow corresponding to the network packet is unknown.

12. The computing device of claim 11, wherein: Determining whether the packet flow is known includes: reading, by the one or more on-die cores of the network interface controller NIC, the portion of the network packet from a location in the memory managed by the network interface controller NIC that already stores a portion of the network packet, and performing a lookup operation based at least in part on the read portion of the network packet to determine the packet flow.

13. The computing device of claim 1, further comprising: Receiving, by a host interface of the network interface controller NIC, a network packet from a computing engine of the computing device; forwarding, by the host interface, the network packet to a memory structure interface of the memory structure; writing the network packets to the memory structure in a distributed manner by the memory structure interface; sending, by the memory structure interface, an event message to the packet processor, wherein the event message indicates that the network packet has been received from the computing engine; identifying, by the packet processor, whether the network packet is to be processed by the one or more on-die cores; and After the network packet has been identified to be processed by the one or more on-die cores, another event message is sent by the packet processor to the controller device, wherein the another event message indicates that the network packet has been received and includes the memory structure location pointer.

14. A computing device for processing network packets via a network interface controller NIC of the computing device, the computing device comprising: means for, in response to having received a message from a packet processor of the network interface controller NIC that a network packet has been written to a memory structure of the network interface controller NIC, retrieving, by a controller device of the network interface controller NIC of the computing device, at least a portion of the network packet from the memory structure based on a memory structure location pointer received with the message; means for reading, by the controller device, the obtained portion of the network packet; means for writing, by the controller device, an inbound descriptor to a location in a memory managed by the network interface controller NIC; means for performing, by one or more on-die cores of the network interface controller NIC, one or more operations on the obtained portion of the network packet based on information contained in the inbound descriptor; means for writing, by the one or more on-die cores, outbound descriptors to locations in a memory managed by the network interface controller NIC; means for reconstructing, by the controller device, at least a portion of the obtained portion of the network packet based on information contained in the outbound descriptor; as well as Means for writing, by the controller device, a reconstructed portion of the network packet to the memory structure.

15. The computing device of claim 14, further comprising: Means for storing, by the controller device, the retrieved portion of the network packet to a local temporary data storage device managed by the network interface controller NIC.

16. The computing device of claim 14, wherein: The means for reconstructing at least a portion of the obtained portion of the network packet based on the information contained in the outbound descriptor includes one of the following: (i) a means for adding one or more bytes to the structure of the portion of the network packet, (ii) a means for removing one or more bytes from the structure of the portion of the network packet, or (iii) a means for changing the starting position of a pointer to the position of the network packet in the memory structure.

17. The computing device of claim 14, further comprising means for: (i) identifying, by the controller device, a component of the network interface controller NIC that is to perform a subsequent action on the network packet based on the outbound descriptor, and (ii) sending another event message to the identified component, wherein The further event message can be used to identify the subsequent action to be performed and the location of the network packet in the memory structure.

18. The computing device of claim 17, wherein: The means for identifying components of the network interface controller NIC includes means for identifying an accelerator agent of the network interface controller NIC for performing an acceleration operation on the network packet or a network interface of the network interface controller NIC to send the network packet to another computing device.

19. The computing device of claim 14, further comprising: means for receiving, by a network interface of said network interface controller NIC, said network packet from another computing device; means for forwarding, by the network interface, a received network packet to a memory structure interface of the memory structure; means for writing, by the memory structure interface, the network packets to the memory structure in a distributed manner; means for sending, by the memory structure interface, an event message to the packet processor, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer; and means for sending, by the packet processor, the message to the controller device upon receipt of the event message, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer.

20. The computing device of claim 14, further comprising: means for determining, by the packet processor, whether a packet flow corresponding to a received network packet is known; as well as Means for sending, by the packet processor to the controller device, a host identifier request message responsive to determining that the packet flow is unknown, wherein the host identifier request message is operable to indicate that the packet flow corresponding to the network packet is unknown.

21. The computing device of claim 20, wherein: The unit for determining whether the packet flow is known includes a unit for: (i) reading, by the on-die core of the network interface controller NIC, the portion of the network packet from a location in the memory managed by the network interface controller NIC that already stores the portion of the network packet, and (ii) performing a lookup operation to determine the packet flow based at least in part on the read portion of the network packet.

22. The computing device of claim 14, further comprising: means for receiving, by a host interface of said network interface controller NIC, a network packet from a computing engine; means for forwarding, by the host interface, the network packet to a memory structure interface of the memory structure; means for writing, by the memory structure interface, the network packets to the memory structure in a distributed manner; means for sending, by the memory structure interface, an event message to the packet processor, wherein the event message indicates that the network packet has been received from the compute engine; means for identifying, by the packet processor, whether the network packet is to be processed by the one or more on-die cores; and means for sending, by the packet processor, another event message to the controller device after having identified that the network packet is to be processed by the one or more on-die cores, wherein the another event message indicates that the network packet has been received and includes the memory structure location pointer.

23. A method for processing network packets by a network interface controller (NIC) of a computing device, the computing device comprising: in response to having received a message from a packet processor of the network interface controller NIC that a network packet has been written to a memory structure of the network interface controller NIC, retrieving, by a controller device of the network interface controller NIC of the computing device, at least a portion of the network packet from the memory structure based on a memory structure location pointer received with the message; reading, by the controller device, the obtained portion of the network packet; writing, by the controller device, an inbound descriptor to a location in a memory managed by the network interface controller NIC; performing, by one or more on-die cores of the network interface controller NIC, one or more operations on the obtained portion of the network packet based on information contained in the inbound descriptor; writing, by the one or more on-die cores, an outbound descriptor to a location in a memory managed by the network interface controller NIC; reconstructing, by the controller device, at least a portion of the obtained portion of the network packet based on information contained in the outbound descriptor; as well as The reconstructed portion of the network packet is written, by the controller device, to the memory structure.

24. The method of claim 23, further comprising: Receiving the network packet from another computing device by a network interface of the network interface controller NIC; forwarding, by the network interface, the received network packet to the memory structure interface of the memory structure; writing the network packets to the memory structure in a distributed manner by the memory structure interface; sending, by the memory structure interface, an event message to the packet processor, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer; and Upon receipt of the event message, the message is sent by the packet processor to the controller device, wherein the message indicates that the network packet has been written to the memory structure and includes the memory structure location pointer.

25. The method of claim 23, further comprising: Receiving, by a host interface of the network interface controller NIC, a network packet from a computing engine of the computing device; forwarding, by the host interface, the network packet to a memory structure interface of the memory structure; writing the network packets to the memory structure in a distributed manner by the memory structure interface; sending, by the memory structure interface, an event message to the packet processor, wherein the event message indicates that the network packet has been received from the computing engine; identifying, by the packet processor, whether the network packet is to be processed by the one or more on-die cores; and After the network packet has been identified to be processed by the one or more on-die cores, another event message is sent by the packet processor to the controller device, wherein the another event message indicates that the network packet has been received and includes the memory structure location pointer.

Citation Information

Patent Citations

  • Analysis method for enhancing protocol layer frame of special transmission channel

    CN101330446A

  • Physical path determination for virtual network packet flows

    CN104521196A

  • Data communication protocol and method for security preservation

    KR100204202B1

  • Protocol header construction and / or removal for messages in wireless communications

    US20020064164A1

  • Performance of multi-processor computer systems

    US20130055270A1