Grouped sequence batching

By identifying and generating prompt information through the grouping preprocessor, the grouping processing pipeline is optimized, which solves the problem of low efficiency of grouping sequence batch processing in the existing technology and achieves more efficient grouping processing and resource utilization.

CN109587086BActive Publication Date: 2024-09-20INTEL CORP
View PDF 7 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When processing packet sequences, the existing technology lacks an efficient batch processing method, resulting in low packet processing efficiency. Especially when multiple packets share common attributes, each packet needs to be processed independently, resulting in a waste of resources and processing delays. .

Method used

The grouping preprocessor identifies grouping batches that share common attributes and generates prompt information, which is used to optimize the application of the grouping processing pipeline, realize single search and storage allocation within the batch, reduce the number of loops of grouping processing, and improve processing efficiency. .

Benefits of technology

By processing grouping sequences in batches, the number of separate processes is reduced, grouping processing efficiency is improved, resource consumption is reduced, storage and processing pipeline operations are optimized, and the overall performance of the system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109587086B_ABST
    Figure CN109587086B_ABST
Patent Text Reader

Abstract

An apparatus includes: a hardware platform; logic executed on the hardware platform, the logic being configured to: receive a batch including a first plurality of packets; identify common attributes of the batch; perform batch processing on the batch according to the common attributes; generate a hint for the batch, the hint containing information about the batch to facilitate processing of the batch; and forward the batch together with the hint to a host platform network interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to the field of communications and, more particularly, but not exclusively, to systems and methods for batch processing of packet sequences. Background Art

[0002] The 3rd Generation Partnership Project (3GPP) is an organization that propagates wireless telecommunications standards and promotes their adoption. 3GPP has delivered useful standards such as Global System for Mobile Communications (GSM), Enhanced Data Rates for GSM Evolution (EDGE), Code Division Multiple Access (CDMA), Universal Mobile Telecommunications System (UMTS), and Long Term Evolution (LTE).

[0003] Some of these standards provide for base stations such as NodeBs, evolved NodeBs (eNodeBs), femtocells, home eNodeBs (HeNBs), or the like, for operating one or more carriers on defined UMTS Terrestrial Radio Access (UTRA) Absolute Radio Frequency Numbers (UARFCNs). BRIEF DESCRIPTION OF THE DRAWINGS

[0004] The present disclosure may be best understood from the following detailed description when read in conjunction with the accompanying drawings. It should be emphasized that, in accordance with standard practice in the industry, various features are not necessarily drawn to scale and are for illustration purposes only. Where a scale is shown, either explicitly or implicitly, it is provided only as an illustrative example. In other embodiments, the size of various features may be arbitrarily increased or decreased for clarity.

[0005] Figure 1 is a network-level diagram of a data center of a cloud service provider according to one or more examples of the present Specification.

[0006] Figure 2 is a block diagram of a mobile network according to one or more examples of the present specification.

[0007] Figure 3 is a block diagram of an example network according to one or more examples of the present Specification.

[0008] Figure 4 is a block diagram of a network interface card (NIC) according to one or more examples of the present specification.

[0009] Figure 5 is a block diagram illustrating the use of packet preprocessing according to one or more examples of the present specification.

[0010] Figure 6 is a flowchart of a method of performing packet processing (including packet preprocessing) according to one or more examples of the present specification. DETAILED DESCRIPTION

[0011] The following disclosure provides many different embodiments or examples for realizing the different features of the present disclosure. The specific examples of components and arrangements are described below to simplify the present disclosure. Of course, these are merely examples and are not restrictive. In addition, the present disclosure may repeat reference numerals and / or letters in various examples. This repetition is for the purpose of simplicity and clarity, and does not itself represent the relationship between the various embodiments and / or configurations discussed. Different embodiments may have different advantages, and any embodiment does not necessarily require a specific advantage.

[0012] In a normal network workflow, multiple packets or other data units in a sequence enter an edge router in a hardware platform, and the edge router performs some packet processing pipeline on each packet. Consider the example of a network service provider. A cable data service interface specification (DOCSIS) modem can be located at the edge of a small data center that provides Internet access to end users or clients. When a packet comes in, the DOCSIS modem applies a packet processing pipeline to the packet, such as filtering, classifying, performing a lookup, initiating a security sequence, or other functions. The packet is then processed and forwarded appropriately based on an access control list, routing table, or other mechanism. An exemplary packet consumption process may include a consumption packet processing phase, including removing each packet from a queue and reading the current packet header data before making a decision.

[0013] Because the lookup occurs on a per-packet basis, certain efficiency gains can be achieved by identifying or detecting sequences of packets, such as runs or bursts that share common attributes. As non-limiting examples, the common attributes may be a common destination, source media access control (MAC), source Internet Protocol (IP), virtual local area network (VLAN), Q-in-Q tag, IP flow, tunnel, layer 2.5 header, packet length, priority, header, protocol type, security association, datagram transport layer security (DTLS), transport layer security (TLS), media access control security (MACsec), and packet payload data. In combination Figure 6 Embodiments of public attributes are discussed in more detail.

[0014] These sequences that share these common properties can usefully be preprocessed into batches, and instead of executing the packet processing pipeline on each individual packet in the batch, the packet processing pipeline can be applied to the entire batch as a whole. So if the batch has, for example, 1024 packets, instead of performing 1024 separate lookups, a single lookup is performed for the entire batch.

[0015] The packet preprocessor may identify batches of packets and provide hints or indications of the batches or sequences to the consumer device via the host platform interface. As used throughout the specification, a "hint" may include any contextual information or metadata about a batch that enables the processor to make decisions about how to apply a processing pipeline to the batch or otherwise process the batch. Note that hints may generally be understood as non-commandatory information. Thus, different host processors that receive a batch with an attached hint may process the batch differently, depending on their internal programming. Although less common, a hint may also include a command or direct instruction for processing the batch that is applicable to the batch, which the host processor may directly execute.

[0016] For example, a hint may be a sequence marker. A sequence marker may be inserted into the first packet in a sequence or batch so that a receiving device can make a processing decision before reading subsequent packets in the batch.

[0017] As non-limiting examples, the hints may also include a batch indicator, a batch code type, and a batch length. In embodiments of the present specification, these may allow software that processes the packets to optimize downstream processing.

[0018] In addition, the packet preprocessor of the present specification can also be configured to perform reordering of incoming packets. For example, if the edge router receives two different traffic bursts from two different sources in parallel, the packet preprocessor can identify the sequence embedded in the two parallel incoming packet groups and reorder the packets into batches so that they can be subjected to batch processing. This reordering can advantageously maintain the ordering of the packets within the run itself. Therefore, the use of reordering can advantageously maximize the run length of each batch.

[0019] This allows subsequent stages of packet processing (e.g., software) to better optimize packet processing based on the hints inserted into the packet batch. These hints can take the form of predictions about the sequence of incoming packets that the software can read and apply before processing the packets. Note that the hints provided do not have to be targeted only to the next exact stage of packet processing. Hints can be usefully employed by different stages of packet processing.

[0020] As used throughout this specification, a batch includes a run or sequence of packets (or data units) having a common attribute. For example, the common attribute may be the same packet length. This can be useful to identify the packets as belonging to a certain unified scheme. The packets may also be part of a common flow sequence, or a sequence of packets having a common IP tuple or security association. In an embodiment of this specification, it is advantageous to form a batch from a sequence of packets while maintaining the ordering of the packets in the common flow.

[0021] By applying hints provided by the packet preprocessor, packet lookup can be accelerated by performing a single lookup for n packets. In the case of Internet Protocol Security (IPsec), selective availability (SA) database extraction can be used to accelerate the encryption of n IPsec packets.

[0022] In other use cases, quality of service can be accelerated by checking a single entry instead of the entry for each packet, as a decision check before enqueuing n packets to a specific priority queue.

[0023] When sending packets, the packet size run length indicator for the batch may be used to allocate a storage block of size times n packets in a single allocation, rather than individually allocating n individual units of a given size.

[0024] Note that the teachings of the present specification enable a processor or software thread to have information about a batch before receiving the packets in the batch. This allows the receiving process to make decisions without having to read all of the packets in the batch itself. For example, prior knowledge of the batch can enable software to prepare appropriate quality of service (QoS) queues, or allocate appropriate storage buffers for processing the entire batch. This enables the receiving process to establish affinity with the batch of packets in a low-cost cycle. For example, a sequence of packets that are all part of the same flow does not require multiple flow lookups. Instead, the receiving process can simply continue to reuse the last lookup for each packet in the batch. Since the process has prior knowledge of the batch size, it knows in advance how many times to recycle the lookup from the first packet in the batch.

[0025] Systems and methods for grouping sequence batch processing will now be described with more particular reference to the accompanying drawings. It should be noted that throughout the drawings, certain reference numerals may be repeated to indicate that a particular device or block is completely or substantially consistent throughout the drawings. However, this is not meant to imply any specific relationship between the various disclosed embodiments. In some examples, a class of elements may be referenced by a specific reference numeral ("widget 10"), while individual species or examples of the class may be referred to by hyphenated numbers ("first specific widget 10-1" and "second specific widget 10-2").

[0026] Figure 1 1 is a network-level diagram of a data center 100 of a cloud service provider (CSP) 102 according to one or more examples of the present specification. As non-limiting examples, CSP 102 may be a traditional enterprise data center, an enterprise "private cloud," or a "public cloud" providing services such as Infrastructure as a Service (IaaS), Platform as a Service (PaaS), or Software as a Service (SaaS).

[0027] CSP 102 can provide some number of workload clusters 118, which can be clusters of individual servers, blade servers, rack servers, or any other suitable server topology. In this illustrative example, two workload clusters 118-1 and 118-2 are shown, each workload cluster providing rack servers 146 in chassis 148.

[0028] Each server 146 can host an independent operating system and provide server functions, or the servers can be virtualized, in which case they can be under the control of a virtual machine manager (VMM), a hypervisor and / or a coordinator, and can host one or more virtual machines (VMs), virtual servers or virtual devices. These server racks can be collocated in a single data center, or can be located in different geographic data centers. Depending on contractual agreements, some servers 146 can be dedicated to certain enterprise customers or tenants, while other servers can be shared.

[0029] Various devices in a data center can be connected to each other via a switching fabric 170, which can include one or more high-speed routing and / or switching devices. The switching fabric 170 can provide "north-south" traffic (e.g., traffic to and from a wide area network (WAN) such as the Internet) and "east-west" traffic (e.g., traffic across data centers). Historically, north-south traffic accounted for the majority of network traffic, but as network services have become more complex and distributed, east-west traffic volume has also increased. In many data centers, east-west traffic now accounts for the majority of traffic.

[0030] In addition, as the capacity of each server 146 increases, the amount of business may further increase. For example, each server 146 may provide multiple processor sockets, each socket accommodating a processor with four to eight cores, and sufficient memory for the cores. Therefore, each server can host multiple VMs, each VM generating its own business.

[0031] In order to accommodate the large number of businesses in the data center, a high-performance switching fabric 170 can be provided. In this example, the switching fabric 170 is shown as a "flat" network, in which each server 146 can have a direct connection to a top-of-rack (ToR) switch 120 (e.g., a "star" configuration), and each ToR switch 120 can be coupled to a core switch 130. This two-layer flat network architecture is shown only as an illustrative example. In other examples, other architectures can be used, such as a three-layer star or leaf-spine (also known as a "fat tree" topology), a hub-and-spoke topology, a mesh topology, a ring topology, or a 3-D mesh topology based on a "Clos" (Common LISP Object System) architecture, as non-limiting examples.

[0032] The fabric itself can be provided by any suitable interconnect. For example, each server 146 may include a network interface card (NIC), an Intel Host fabric interface (HFI) or other host interface. The host interface itself may be coupled to one or more processors via an interconnect or bus, such as a peripheral component interconnect (PCI), PCI Express (PCIe), or the like, and in some cases, the interconnect bus may be considered part of fabric 170.

[0033] The interconnect technology may be provided by a single interconnect or a hybrid interconnect, such as where PCIe provides on-chip communications, 1Gb or 10Gb copper Ethernet provides a relatively short connection to the ToR switch 120, and optical cables provide a relatively long connection to the core switch 130. As non-limiting examples, the interconnect technologies include Omni-Path TM 、TrueScale TM , UltraPath Interconnect (UPI) (formerly QPI or KTI), FibreChannel, Ethernet, Fibre Channel over Ethernet (FCoE), InfiniBand, PCI, PCIe, or Fiber Optics, to name a few. Some of these will be better suited to certain deployments or functions than others, and choosing the appropriate fabric for the application is an exercise in common skill.

[0034] Note, however, that while this article provides examples such as Omni-Path TM , but more generally, fabric 170 may be any suitable interconnect or bus for a particular application. In some cases, this may include traditional interconnects such as a local area network (LAN), a token ring network, a synchronous optical network (SONET), an asynchronous transfer mode (ATM) network, a wireless network such as WiFi and Bluetooth, a "plain old telephone system" (POTS) interconnect, or the like. It is also expressly contemplated that in the future, new network technologies will emerge to supplement or replace some of those listed herein, and any such future network topologies and technologies may be or form part of fabric 170.

[0035] In certain embodiments, fabric 170 may provide communication services at various "layers" as originally outlined in the OSI seven-layer network model. In contemporary practice, the OSI model is strictly followed. In general, layers 1 and 2 are often referred to as "Ethernet" layers (although Ethernet is often replaced by newer technologies in large data centers). Layers 3 and 4 are often referred to as Transmission Control Protocol / Internet Protocol (TCP / IP) layers (which may be further subdivided into TCP and IP layers). Layers 5-7 may be referred to as "application layers". These layer definitions are disclosed as a useful framework, but are intended to be non-limiting.

[0036] Figure 2 is a block diagram of a mobile network 200 according to one or more examples of the present specification. In this particular example, a fourth generation long term evolution (4G LTE, or LTE for short) network is disclosed by way of non-limiting example. In some embodiments, LTE is primarily used for data transmission, so that in addition to the elements shown herein, the mobile network 200 may also provide a structure for handling voice communications that may be communicatively coupled to a public switched telephone network (PSTN). In some cases, voice over LTE (VoLTE) may also be provided. It should also be noted that LTE is disclosed only as one possible embodiment of the teachings of the present invention, and that the teachings may be related to other telecommunication structures that exist now or are later developed, and that the scope of the present specification is intended to include such structures where applicable.

[0037] In this example, mobile network 200 includes user equipment (UE) 210, which is communicatively coupled (e.g., via wireless antenna 216) to an evolved UMTS radio access network (E-UTRAN) 204. UE 210 can initiate a data transaction or session, referred to herein as a "data call", with E-UTRAN 204-1. E-UTRAN 204 is communicatively coupled (e.g., via a wired connection) to an evolved packet core (EPC) 202. As a non-limiting example, E-UTRAN 204 can include an evolved NodeB (eNB) 220, which functions as a wireless base station, and a distributed self-organizing network (dSON) controller 224.

[0038] In various embodiments, these functions may be provided by a dedicated server or device. In other embodiments, select functions may be provided in a virtual environment, such as a rack-mounted server that provides various functions in a hypervisor. In a general sense, various UE-level devices, server-level devices, and network functions may generally be classified as "computing devices". As used throughout the specification, a computing device includes any electrical or electronic device based on a von Neumann architecture, including a processor with a control unit and a logic unit, and a memory. In this context, it should be understood that the von Neumann architecture may be provided as a physical device, or a VM or hypervisor running at one or more abstract layers from the physical hardware.

[0039] In this example, two E-UTRANs 204-1 and 204-2 are disclosed to illustrate the mobile nature of the network. For example, when the user carrying UE 210 moves, UE 210 can move. As UE 210 moves away from E-UTRAN 204-1, its signal to E-UTRAN 204-1 will attenuate. If UE 210 simultaneously moves closer to E-UTRAN 204-2, its signal to E-UTRAN 204-2 will become stronger. When UE 210 moves so that it obtains a stronger signal to E-UTRAN 204-2 than to E-UTRAN 204-1, E-UTRAN 204-1 can hand over the data call to E-UTRAN 204-2, so that E-UTRAN 204-2 continues to handle the data call seamlessly.

[0040] Handover can be handled through the X2 interface (used to connect neighboring eNodeBs in a peer-to-peer manner). In this example, two types of signals are transmitted within the mobile network 200: voice, data and call signals (referred to herein as "user plane" signals) and control signals (referred to herein as "control plane" signals). X2 provides a control plane interface and a user plane interface, and is a wired connection between two E-UTRANs 204 in an embodiment. The protocol structure of the S1 control plane is based on the stream control transmission protocol / Internet interconnection protocol (SCTP / IP). The user plane provides a protocol structure based on the general packet radio service (GPRS) tunneling protocol / user datagram protocol / IP (GTP / UDPS / IP). On the user plane, the transport bearer can be identified by an IP address and one or more GTP tunnel endpoint IDs (TEIDs). X2 operates as a mesh interface, meaning that multiple eNBs 220 can all be linked together. When properly configured, X2 helps minimize packet loss when the UE 210 is handed over from one E-UTRAN 204 to another E-UTRAN 204. Specifically, when a data call is handed over, unsent or unacknowledged packets stored in a queue of the old eNB 220 may be forwarded or tunneled to the new eNB 220 via an X2 interface.

[0041] E-UTRAN 204 is communicatively coupled to EPC 202 via an S1 interface. Like the X2 interface, S1 provides a control plane and a user plane, which are similarly configured as corresponding X2 control planes and user planes. In an embodiment, the S1 application protocol (51-AP) is directly mapped on top of SCTP.

[0042] In this example, EPC 202 includes a serving gateway (SGW) 250, a mobility management entity (MME) 240, a home subscriber server (HSS) 244, a packet data network (PDN) gateway 260, an evolved packet data gateway (ePDG) 280, and a policy and charging rules function (PCRF) 290. EPC 202 itself may be communicatively coupled to a public network such as the Internet 270, or to an operator IP service 292 via an appropriate interface.

[0043] When UE 210 is performing data operations such as web applications, web browsing, email, or other network operations, UE 210 is connected to Internet 270 via mobile network 200. In one example scenario, user plane signals originate from UE 210 and are delivered to E-UTRAN 204. Within E-UTRAN 204, eNB 220 (or other similar base station) that interfaces with EPC 202 to handle data calls first receives the user plane signals.

[0044] As a wireless local area network (WLAN) access point (WAP), the eNB 220 supports Layer 1 and Layer 2 of the E-UTRAN orthogonal frequency division multiplexing (OFDM) physical interface. Advantageously, the eNB 220 can be directly connected to a network router, thereby simplifying the network architecture. The eNB 220 can support certain traditional features related to physical layer procedures for transmission and reception, including modulation and demodulation, and channel coding and decoding. The eNB 220 can also provide radio resource control and radio mobility management for handling handovers.

[0045] The EPC 202 provides several functional blocks to provide various support functions. These are described herein by way of non-limiting examples only.

[0046] The MME 240 provides control functions to the EPC 202. The MME 240 provides idle mode UE paging and marking procedures, including retransmissions. The MME 240 also provides bearer activation and deactivation support, and when the UE 210 initially attaches to the EPC 202 via the E-UTRAN 204, the appropriate SGW 250 can be selected for the UE 210. After attaching, the MME 240 authenticates the UE 210 via the HSS 244.

[0047] Non-Access Stratum (NAS) signaling terminates at MME 240, and MME 240 is also responsible for generating and allocating temporary identities for UE 210. MME 240 then verifies UE 210's authorization for resources on the service provider's Public Land Mobile Network (PLMN) and enforces roaming restrictions on UE 210. MME 240 is also the terminating endpoint for ciphering / integrity protection of NAS signaling and handles security key management. MME 240 also supports lawful signal interception. MME 240 also provides control plane functions for mobility between LTE and 2G / 3G networks, where the S3 interface terminates at MME 240, for example, at 3G Serving GPRS Support Node (SGSN). Finally, MME 240 terminates the S6a interface of HSS 244 for roaming UEs.

[0048] In an embodiment, HSS 244 is a database server for providing Home Location Register (HLR) and Authentication Center (AuC) services. As non-limiting examples, the functions of HSS include call and session establishment support, user authentication and access authorization.

[0049] In an embodiment, the HLR stores and updates a user subscription information database. As a non-limiting example, this may include the following:

[0050] a. Subscriber identification and addressing, including the International Mobile Subscriber Identity (IMSI), Mobile Subscriber ISDN Number (MSISDN) and / or mobile phone number.

[0051] b. User profile information, including subscription and Quality of Service (QoS) data.

[0052] The AuC generates security data based on the user identity key and provides the data to at least the HLR and to other functional blocks as required.

[0053] The SGW 250 forwards user data packets while also acting as a mobility anchor for the user plane during inter-eNodeB handovers and as an anchor for mobility between LTE and other 3GPP technologies (terminating the S4 interface and relaying traffic between 2G / 3G systems and the PDN Gateway 260). When the UE 210 is idle, the SGW 250 terminates the downlink data path and triggers paging when downlink data arrives at the UE 210. The SGW 250 can also store the UE context including parameters for IP bearer services and network internal routing information. It also performs replication of user traffic in case of lawful interception.

[0054] The PDN gateway 260 provides connectivity from the UE 210 to external packet data networks (PDNs) and provides entry and exit points for UE traffic. The UE 210 can be connected to more than one PDN gateway 260 at the same time and can therefore access multiple PDNs. In an example, the PDN gateway 260 provides policy enforcement, per-user packet filtering, charging support, lawful interception, and packet screening by way of non-limiting example.

[0055] Access Network Discovery and Selection Function (ANDSF) 262 helps UE 210 discover non-3GPP access networks, such as Wi-Fi or WI MAX, that can be used in addition to LTE networks for data communications. ANDSF 262 can provide UE 210 with rules governing connections to these networks. As a non-limiting example, ANDSF 262 can provide the following to the UE:

[0056] a. Inter-System Mobility Policy (ISMP)—Network selection rules for when the UE 210 has no more than one active access network connection (eg, LTE or Wi-Fi).

[0057] b. Inter-System Routing Policy (ISRP) - Network selection rules for when UE 210 has more than one active access network connection (e.g., LTE and Wi-Fi). In this case, UE 210 can adopt IP flow mobility, multiple access PDN connections (MAPCON), or non-seamless Wi-Fi offload according to policy and user preference.

[0058] c. Discovery Information—a list of networks that may be available in the vicinity of the UE 210, and information to help the UE 210 connect to these networks.

[0059] ANDSF 262 may communicate with UE 210 via an S14 reference point, which in some embodiments is specific to ANDSF.

[0060] In one embodiment, PCRF 290 provides a Policy Decision Function (PDF) and a Charging Rules Function (CRF).

[0061] The PDF makes policy decisions. Specifically, when establishing an IP Multimedia Subsystem (IMS), the Session Initiation Protocol (SIP) data follows the media requirements that the terminal and the Proxy Call Session Control Function (P-CSCF) may exchange between them. During the session establishment process, the PDF may also receive these requirements from the P-CSCF and make decisions based on network operator rules. As non-limiting examples, these may include:

[0062] a. Allow or deny the media request.

[0063] b. Use a new or existing PDP context for the incoming media request.

[0064] c. Check allocation of resources against authorized resource usage.

[0065] The CRF provides operator-defined charging rules applicable to each service data flow. As non-limiting examples, the CRF selects relevant charging rules based on information provided by the P-CSCF, such as application identifier, type of flow (audio, video, etc.), or application data rate.

[0066] The ePDG 280 protects data transmission with the UE 210 connected to the EPC 202 over an untrusted, non-3GPP access. To this end, the ePDG acts as a termination node for the IPsec tunnel established with the UE 210.

[0067] The network 270 can be any suitable network or combination of one or more networks operating on one or more suitable network protocols, including, by way of non-limiting example, a local area network, an intranet, a virtual network, a wide area network, a wireless network, a cellular network, or the Internet (optionally accessed through a proxy, VM, or other similar security mechanism). The network 270 can also include one or more servers, firewalls, routers, switches, security devices, antivirus servers, or other useful network devices. In this illustration, for simplicity, the network 270 is shown as a single network, but in some embodiments, the network 270 can include a large number of networks, such as one or more enterprise intranets connected to the Internet.

[0068] Operator IP services 292 include services provided by the operator of EPC 202. Operator IP services 292 may include or may be communicatively coupled to operations support system (OSS) 234. OSS 234 provides hardware and software for monitoring, controlling, analyzing, and managing EPC 202.

[0069] Advantageously, LTE provides a Self-Organizing Network (SON) (sometimes also referred to as a Self-Optimizing Network, which are used interchangeably). A SON provides an automated method to facilitate planning, configuring, managing, optimizing, and repairing networks such as EPC 202 and E-UTRAN 204.

[0070] SON may be provided in different styles including, for example, centralized SON (C-SON) 230, distributed SON (dSON) 224, and in some cases hybrid SON (hSON).

[0071] C-SON 230 provides centralized, higher-level network control with increased coordination between nodes for functions such as load balancing across wide geographic areas. In contrast, dSON 224 provides distributed, peer-to-peer control functions where each E-UTRAN network receives reported parameters wirelessly from other E-UTRANs and makes autonomous decisions based on those reports. hSON (not shown in this figure) provides a hybrid solution where some functions are centralized and others are distributed.

[0072] Advantageously, SON provides useful functions such as:

[0073] a. Self-configuration. In a self-configuring network, new base stations are automatically configured and integrated into the network, and new features on the base stations are also seamlessly integrated. When a new base station is introduced to the network and powered on, it is immediately recognized and registered by the network. Then, neighboring base stations automatically adjust to provide the required coverage and capacity, as well as to avoid interference.

[0074] b. Self-optimization. Base stations such as eNB 220 may provide configuration parameters designed to control and / or optimize their behavior. Based on observations of the eNB 220 itself and measurements from the UE 210 or elsewhere, the SON may automatically reconfigure these parameters to enhance network efficiency. In another embodiment, the SON provides automatic neighbor relations (ANR) and optimizes random access parameters or mobility robustness. In yet another embodiment, the SON shuts down some base stations at night to save power. These base stations may be selected to ensure that full coverage is still provided in the coverage area. Neighboring base stations may reconfigure appropriate parameters to ensure full coverage and adapt to changing network topologies. If there is a sudden spike in demand, one or more sleeping base stations may wake up almost immediately. This can achieve significant power savings without sacrificing the network.

[0075] c. Self-healing. If a network node (e.g., eNB 220) fails, self-healing helps mitigate the impact of the failure on the entire network. For example, SON can adjust parameters and algorithms in neighboring eNBs 220 so that they can continue to provide services to the failed eNB 220. This is in contrast to traditional networks, which may need to commit a lot of time and resources to repair when a base station fails. With a self-healing network, the network can automatically and almost instantly adjust itself with little or no service interruption.

[0076] Figure 3 316 is a block diagram of an example network according to one or more examples of the present specification. In this example, a user can interact with a service provider 316, and the service provider 316 provides some services to the user. For example, the service provider 316 can be an Internet service provider that provides Internet access to the user. In other examples, as non-limiting examples, the service provider 316 can provide specific services such as video streaming services, or some other service streaming multimedia, dynamic web content, interactive cloud games, and remote office business applications.

[0077] Note that service providers 316 may collectively provide services to a large number of end users. In some embodiments, service providers 316 may also interconnect with content providers 330.

[0078] Note that the designations of "content provider 330" and "user" in this specification are intended only as non-limiting examples. The packets that may be usefully batched may come from any suitable entity.

[0079] In this case, content provider 330 can provide a video streaming service to a large number of users operating user equipment 310. Each user may be watching a different streaming program on the service. Content provider 330 provides multiple packet streams 320, which are routed to service provider 316 via external network 308. Service provider 316 includes edge router 304 and workload server 312. Note that workload server 312 can be owned by service provider 316 and in some cases can be rented by content provider 330. Many other configurations are possible. In this example, a user operating UE 310 is watching a video via content provider 330. Content provider 330 is providing a large number of packet streams 320 via external network 308, which are routed to UE 310 via service provider 316.

[0080] Packet stream 320 can comprise the stream with common attribute, and therefore can be in batches.For example, content provider 330 can provide content with multiple users in parallel.The packet for each user may not arrive edge router 304 continuously.On the contrary, they can be interspersed with the packet for other users.However, it is advantageous that edge router 304 aggregates the sequence of packet into stream or batch based on common attribute.This allows the simplified processing in edge router 304, and the streamlined processing on workload server 312, which can perform additional work, such as IPsec, encryption or decryption, anti-virus inspection, load balancing or other useful functions.Therefore, edge router 304 can benefit from having the packet preprocessor as shown in this manual.

[0081] Figure 4 is a block diagram of a network interface card (NIC) 472 according to one or more examples of the present Description.

[0082] The NIC 472 is provided as a non-limiting example only. It should be noted that the NIC 472 can be a separate pluggable card, such as a PCIe card, or it can be tightly integrated with its host core and on the chip. In addition, although the NIC 472 is disclosed herein as a medium for hosting remote hardware acceleration functions, these functions can also be hosted in another part of the machine. For example, a dedicated RHA chip can be provided, which itself can be very much like a hardware accelerator. The functions can be performed on a hardware block integrated into the core, or they can be performed in software on the core. Therefore, the disclosure of the remote hardware acceleration functions on the NIC 472 in this figure should be understood as only a non-limiting and illustrative example, and the present disclosure should be understood to include any suitable hardware or software configuration for implementing remote hardware acceleration.

[0083] In this example, NIC 472 includes two physical interfaces, host platform interface 420 and external network interface 402 .

[0084] The host platform interface 420 can provide a physical interface to a local bus on the host, such as a PCIe interface or other local interconnect. The host platform interface 420 is provided as a non-limiting example, and it should be understood that other interconnect methods are also possible. For example, in the case where the NIC 472 is tightly coupled with its accompanying core, the host platform interface 420 can be a direct on-die trace or direct copper connection on an integrated circuit board. In other examples, a bus interface other than PCIe can be used.

[0085] External network interface 402 to the structure (eg, Figure 1 The external network interface 402 may be configured to connect the NIC 472 to any suitable structure.

[0086] In a specific example, you can use Omni-Path TM Structure. Omni-Path TM The structure is advantageous because it allows mapping of addresses and memory ranges between different coherence domains. A system can include one or more coherence domains, all of which are connected to each other via the structure. A cache agent is a consistency agent within a node that handles memory requests from cores within the same node, thereby providing domain consistency. A home agent is a cluster of nodes that is responsible for handling memory requests from cache agents and acts as a home for portions of the memory address space. A single die can have multiple homes, with distributed address space mapping. Depending on the address space targeted by the request, the request can go to the local memory of the same node or to a UPI agent, for example, to route the request to other processors within the same coherence domain. Optionally, requests can reach processors outside the coherence domain via the NIC 472. All processors connected via UPI belong to the same coherence domain. Therefore, in one embodiment, the NIC 472 can communicate with the Omni-Path via a UPI tunnel. TM Structure for communication.

[0087] This communication may be facilitated via external network logic 404, which provides the logic elements and instructions necessary to provide communication within a coherent domain and across fabrics having different coherent domains. External network logic 404 may also include logic to translate local requests into remote fabric requests.

[0088] On the other hand, the host platform interface logic 416 can provide logic for interfacing with a local bus (e.g., a PCIe bus) or a dedicated copper connection. Alternatively, traffic through the NIC 472 can follow a path through the host platform interface 420, the host platform interface logic 416, the external network logic 404, and the external network interface 402 to the fabric.

[0089] The packet preprocessor 406 can be configured to provide packet preprocessing in accordance with the teachings of this specification. In various non-limiting examples, packet preprocessing can be provided by hardware or software, and can take the form of identifying a run or sequence of packets that arrive together and can be considered as a batch, wherein appropriate hints are inserted into the first packet in the sequence to tell downstream applications how to process the sequence of packets. These hints can include the nature of the packet, the value of the flow identifier and the common attribute, and can also include the number of packets in the batch, so that the downstream application knows the number of packets to apply common processing. Note that in some examples, the run or sequence of packets can arrive at the external network interface 402 out of order, and therefore the packet preprocessor 406, in addition to identifying existing runs, can also reorder these packets into runs or sequences so that larger batches can be formed. This increases the benefits of applying the teachings of this specification by allowing batch processing to be applied to a larger number of packets.

[0090] In various embodiments, the packet preprocessor 406 may be included on the NIC 472 as a software block running on a local processor, a hard or soft IP block, an application specific integrated circuit, optionally with appropriate storage buffers or supporting circuits, a field programmable gate array, or some other hardware or software solution. Furthermore, while the packet preprocessor 406 is shown in this example as an inline feature of the NIC 472, this need not be the case. In some examples, the packet preprocessor 406 may be provided as a coprocessor separate from the NIC 472, or may even be provided in software running on a host platform (e.g., on a CPU) to perform preprocessing on packets before providing the packets to the software packet processing pipeline.

[0091] Figure 5is a block diagram illustrating a use case for packet preprocessing according to one or more examples of the present specification. Although the techniques disclosed herein are broadly useful in many different network applications, certain embodiments may be particularly applicable to Internet Service Providers (ISPs), which often operate smaller, single-purpose data centers (in contrast to larger, multi-tenant data centers that may be operated by, for example, a CSP). In this case, the techniques may be provided on a DOCSIS modem and / or edge router for the ISP. For example, such a case may represent a converged wireline access pipeline. The teachings of the present specification may be applicable to network elements, as well as wireless and fixed communications infrastructure, where packets need to be classified for scheduling and rate shaping of the flows to which those packets belong.

[0092] Because the packet preprocessor of the present specification enables processing of packets in groups in a pipeline, advantages are achieved because the cycle count of the pipeline is reduced. Once a result, such as a classification, is obtained for a single packet within a batch, the same result can be applied to all consecutive packets in the same batch based on the batch size identifier.

[0093] exist Figure 5 In the example of , a NIC 572 is provided, including a packet preprocessor, similar to Figure 4 The packet preprocessor 406 is provided.

[0094] NIC 572 includes a sending side and a receiving side, or in other words, NIC 572 includes an ingress interface and an egress interface. On the ingress side, the packet enters the external network interface 502. Then, NIC 572 provides the packet to the physical function side of the service provider network (SP NW side PF) 558.

[0095] The packets are then provided to a packet marker 554, which may be part of a packet preprocessor. The packet marker 554 may include or identify a virtual function for each container. It may also provide a virtual local area network (VLAN) routed to a virtual function (VF) for each MAC domain downstream service group (SG). Finally, the packet marker 554 may mark runs or sequences of packets into batches. In some examples, the packet marker 554 may also perform reordering of flows so that larger batches may be formed. The packet marker 554 provides packets including tags with appropriate batch identifiers to the downstream ingress VF 550. The downstream ingress VF 550 provides the packets to, for example, a container 502 that provides packet processing. This may include thread 0 (upper MAC) 536 and thread 1 (lower MAC) 540.

[0096] Thread 0 536 is of particular interest to this specification. In this example, a packet stream is received by a data plane development kit (DPDK) Ethernet receiver virtual interface 544. DPDK Ethernet RX 544 provides the packet stream to a lower MAC processing block 503, which performs lower MAC processing according to known methods. The packet is then sent to the packet receiver 504 of thread 0 536. The packet receiver 504 then provides the packet to the packet processing pipeline 532. Several examples of operations that may be included in the packet processing pipeline 532 are shown herein. However, these should be understood as non-limiting examples. In addition, designating the packet processing pipeline 532 as a pipeline is also a non-limiting example. Certain operations may be performed in parallel, or may be optional, or may not be suitable for the paradigm of a pipeline.

[0097] In the example packet processing pipeline, the software first performs DOCSIS standard cable modem (CM) discovery and subscription management functions 508.

[0098] The packets are then provided to filter 512, which filters the packets according to various attributes.

[0099] The packet is then provided to a classifier 516 which classifies the packet.

[0100] Finally, the packet is provided to a service ingress queue (ENQ) 520, which enqueues the packet for a service flow. After the complete packet processing pipeline has been executed, the packet is provided to a service egress queue (DEQ) 524, which may also include a channel and service flow (SF) scheduler 528.

[0101] Once the packet is processed by the application, the output may be provided via Thread 1 (Lower MAC) 540, which may include services such as, by way of non-limiting example, packet header update and cyclic redundancy check (CRC), encryption of the packet, DOCSIS framing, Downstream External Physical Interface (DEPI) and Layer 2 Tunneling Protocol (L2TP) encapsulation, and finally L2TPTx. The output packet is then provided to the DPDK Ethernet transmitter 546, which provides the packet to the downstream egress virtual function 570 of the NIC 572.

[0102] The packet is next provided to the container and routing block 554, which may provide virtual functions for each container as before.

[0103] The packet is provided to the physical function side of the remote physical layer (R-PHY SIDE PF) 562 and is ultimately routed out via the external network interface 502 .

[0104] Figure 66 is a flow chart of a method 600 for performing packet processing including packet preprocessing according to one or more examples of the present specification. The method receives packets and encodes information about the run or sequence of packets into packet metadata, mbufs, or queues. These sequences of packets may be referred to as batches.

[0105] At block 604, the system receives n input packets. Note that these packets may be a single sequence or stream, or may include multiple sequences or streams.

[0106] In block 608, the packet preprocessor may reorder the packets into batches as needed. Reordering the packets into batches may be based on identifying common attributes of the packets. In some examples, rather than reordering, the packet preprocessor simply applies its preprocessing to an existing run or sequence of packets. Note that in the case of reordering packets, ordering within the same flow or sequence may be preserved.

[0107] The packet pre-processor independently detects runs of packet attributes (PA) and may write an indication of the packet attribute type and run length into the metadata of the first packet where the run begins.

[0108] The grouping attributes may be run in order. As a non-limiting example, the grouping common attributes may include multiple occurrences of:

[0109] • Public source media access control (MAC).

[0110] Public source IP.

[0111] Public VLAN.

[0112] Public Q-in-Q tag (SVLAN, CVLAN).

[0113] • Public IP flow (eg, MAC / IP source or destination MAC / IP).

[0114] Public tunnels, such as Generic Routing Encapsulation (GRE) or General Packet Radio Service (GPRS)

[0115] Tunneling Procedure User Plane (GTP-U).

[0116] • Common layer 2.5 header, such as in Multiprotocol Label Switching (MPLS).

[0117] Common group length.

[0118] Common priorities, such as the Differentiated Services Code Point (DSCP).

[0119] · Common header.

[0120] Common protocol types.

[0121] Common security associations such as IPsec, Datagram Transport Layer Security (DTLS), Transport Layer Security (TLS), and Media Access Control Security (MACsec).

[0122] Common packet payload data.

[0123] In block 612, information about the batch is encoded for each packet. Note that this does not mean that the information is encoded into each packet, but rather that the information for the entire batch may be encoded in the header of the first packet. This may include identifying common attributes so that downstream applications can perform a single lookup or operation on that attribute, and identifying the length of the batch so that downstream applications can know how many iterations it can reuse a lookup. In some embodiments, combinations of runs are possible. For example, if multiple attributes in a sequence are common, each attribute run may be recorded and represented independently.

[0124] Batches can be encoded in the same metadata in a format, for example:

[0125] [<Run indicator><Run code type><Run length>]<Optional run value>

[0126] Alternatively, the preprocessor can be allowed to operate on spans that span more than just the packets held in the NIC's FIFO, and can be used to detect runs of any arbitrary length. In this case, the batch can be encoded in the following form:

[0127] <Run Type Start><Run Type End>

[0128] In block 616, the batch of packets is published to a destination queue or device port.

[0129] In the case of receiving n input packets, the packets may be stored, for example, in a static random access memory (SRAM) on the NIC in a FIFO fashion, as in block 604. Alternatively, the packets may be stored in a ring such as a collaborative data exchange (CDEX) ring, or in a fabric. In general, there are many different ways in which packets may be received and processed in a network, and this description is not intended to be limited to any particular embodiment.

[0130] The reordering of block 608 can provide optimized flow sequence detection. Packets can be reordered by grouping packets of the same flow into consecutive runs while maintaining the relative order of the packets within the flow. Note that independent flows are not affected by the reordering process. Instead, the position in the queue is simply moved.

[0131] Reordering can be used to create new batches of packet attributes, with the constraint that in some embodiments, grouping does not cause packets in the same stream to be out of order. Packets can be grouped based on various factors, such as, by non-limiting example:

[0132] - Packets can be grouped together into runs with the same packet priority (DSCP field).

[0133] • Groups can be grouped according to the cyclic grouping attributes as listed in Grouping Attributes Operation.

[0134] • Because there may be more than one ordering, a packet reordering may be performed to create the longest possible run of the most important packets to maximize reuse of particularly heavyweight operations that would otherwise be performed on a per-packet basis.

[0135] The encoding of the batch information in block 612 may include the following for each packet (ie, from 1 to N):

[0136] - Parse all packet header fields (including, for example, Ethertype and IP tuple).

[0137] Classify the packet type (ie protocol type).

[0138] • Determine the destination queue (eg, host CPU queue or switch fabric queue).

[0139] • Check the attribute against the previous packet attributes of the destination queue.

[0140] For each grouping attribute:

[0141] a. If the grouping attribute of this grouping is the same as the previous grouping, increment the count of that attribute.

[0142] b. If the packet attributes of this packet are not equal to the previous packet and the PA count is greater than 1, the PA code and length are written to the packet metadata of the first packet at the beginning of the PA sequence and the PA count is reset.

[0143] A hash function may be used to assist this process, such as a NIC hash function such as "Really Simple Synthesis" (RSS) to detect the end of a run. In this case, a hash may be applied to the packet. If the hash does not have the same hash as packet n-1, then it is guaranteed not to be in the same run, assuming the hash is calculated on some or all of the relevant header fields. Thus, the hash may be used to detect the end of a run.

[0144] The features of several embodiments are summarized above so that those skilled in the art can better understand various aspects of the present disclosure. Those skilled in the art should appreciate that they can easily use the present disclosure as a basis for designing or modifying other processes and structures to achieve the same purpose of the embodiments introduced herein and / or achieve the same advantages of the embodiments introduced herein. Those skilled in the art should also appreciate that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions and modifications herein without departing from the spirit and scope of the present disclosure.

[0145] All or part of any hardware element disclosed herein can be easily provided in a system on chip (SoC) including a central processing unit (CPU) package. SoC represents an integrated circuit (IC) that integrates the components of a computer or other electronic system into a single chip. Thus, for example, a client device or a server device can be provided in whole or in part in a SoC. The SoC can contain digital, analog, mixed signal, and radio frequency functions, all of which can be provided on a single chip substrate. Other embodiments may include a multi-chip module (MCM), in which multiple chips are located within a single electronic package and are configured to interact closely with each other through the electronic package.

[0146] It is also noted that in certain embodiments, some of the components may be omitted or combined. In a general sense, the arrangements depicted in the figures may be more logical in their representation, while the physical architecture may include various permutations, combinations, and / or hybrids of these elements. It must be noted that countless possible design configurations may be used to achieve the operational goals outlined herein. Therefore, the associated infrastructure has countless alternative arrangements, design choices, equipment possibilities, hardware configurations, software implementations, and equipment options.

[0147] In a general sense, any appropriately configured processor can execute any type of instruction associated with data to implement the operations detailed herein. Any processor disclosed herein can transform an element or article (e.g., data) from one state or thing to another state or thing. In operation, a storage device can store information in any suitable type of tangible non-temporary storage medium (e.g., random access memory (RAM), read-only memory (ROM), field programmable gate array (FPGA), erasable programmable read-only memory (EPROM), electrically erasable programmable ROM (EEPROM), etc.), software, hardware (e.g., processor instructions or microcode) or in appropriate circumstances and based on any other suitable components, devices, elements or objects of specific needs. In addition, based on specific needs and implementations, information tracked, sent, received or stored in a processor can be provided in any database, register, table, cache, queue, control list or storage structure, all of which can be referenced in any suitable time frame. Any memory or storage element disclosed herein should be interpreted as being appropriately included in the broad terms "memory" and "storage device". Non-transitory storage media herein are expressly intended to include any non-transitory dedicated or programmable hardware configured to provide the disclosed operations or to cause a processor to perform the disclosed operations.

[0148] The computer program logic that implements all or part of the functions described herein is embodied in various forms, including but not limited to source code form, computer executable form, machine instructions or microcode, programmable hardware, and various intermediate forms (e.g., forms generated by assemblers, compilers, linkers, or locators). In one example, the source code includes a series of computer program instructions implemented in various programming languages, such as object code, assembly language or high-level language (such as, OpenCL, FORTRAN, C, C++, JAVA or HTML) for various operating systems or operating environments, or hardware description languages ​​(such as, Spice, Verilog and VHDL) to implement. The source code can define and use various data structures and communication messages. The source code can be in a computer executable form (e.g., via an interpreter), or the source code can be converted (e.g., via a translator, assembler or compiler) into a computer executable form, or converted into an intermediate form, such as bytecode. Where appropriate, any of the foregoing can be used to construct or describe appropriate discrete or integrated circuits, whether sequential, combined, state machines or other.

[0149] In an example embodiment, any number of circuits in the accompanying drawings can be implemented on a board of an associated electronic device. The board can be a general circuit board that can hold various components of the internal electronic system of the electronic device and also provide connectors for other peripheral devices. Based on specific configuration requirements, processing requirements, and computing design, any suitable processor and memory can be appropriately coupled to the board. Note that, using the numerous examples provided herein, interactions can be described based on two, three, four or more electronic components. However, this is done only for the purpose of clarity and example. It should be appreciated that the system can be merged or reconfigured in any suitable manner. Along similar design alternatives, any of the components, modules, and elements shown in the accompanying drawings can be combined in various possible configurations, all of which are within the broad scope of this specification.

[0150] Numerous other changes, substitutions, variations, alterations, and modifications may be ascertained by those skilled in the art, and the present disclosure is intended to encompass all such changes, substitutions, variations, alterations, and modifications that fall within the scope of the appended claims. To assist the United States Patent and Trademark Office (USPTO) and any reader of any patent issued in this application in interpreting the appended claims, applicants wish to note that applicants: (a) do not intend any of the appended claims to invoke 35 USC Section 112 (pre-AIA) paragraph 6(6) (post-AIA) paragraph (f) as it existed on the filing date thereof, unless the phrase "means for..." or "step for..." is specifically used in a particular claim; and (b) do not intend, by any statement in the specification, to limit the present disclosure in any manner not expressly reflected in the appended claims.

[0151] Example Implementation

[0152] The following examples are provided by way of illustration.

[0153] Example 1 includes an apparatus comprising: a hardware platform; logic executed on the hardware platform, the logic configured to: receive a batch including a first plurality of packets; identify common attributes of the batch; batch process the batch according to the common attributes; generate a hint for the batch, the hint including information about the batch to facilitate processing of the batch; and forward the batch together with the hint to a host platform network interface.

[0154] Example 2 includes the apparatus of Example 1, wherein the common attribute is a common destination.

[0155] Example 3 includes the apparatus of Example 1, wherein the common destination is a common media access control (MAC) address.

[0156] Example 4 includes the apparatus of Example 3, wherein the batch processing comprises identifying common service flows for the batch, wherein identifying the common service flows is based at least in part on the (source, destination, protocol) tuple.

[0157] Example 5 includes the apparatus of Example 1, wherein the batching comprises identifying n packets of a common size s, wherein the hint comprises instructions for allocating n×s storage blocks.

[0158] Example 6 includes the apparatus of Example 1, wherein the common attribute comprises groups belonging to a common virtual local area network (VLAN), and wherein the hint comprises a single lookup for the batch.

[0159] Example 7 includes the apparatus of Example 1, wherein the common attribute comprises all groups having a common priority.

[0160] Example 8 includes the apparatus of Example 1, wherein the first plurality of packets is a subset of the second plurality of packets, and wherein the logic is further to reorder the packets within the second plurality of packets to form a batch.

[0161] Example 9 includes the apparatus of Example 8, wherein the logic is to form the batches while maintaining ordering of packets in the common flow.

[0162] Example 10 includes the apparatus of Example 1, wherein the common attributes include common payload data.

[0163] Example 11 includes the apparatus of Example 1, wherein the common attribute comprises a common security association.

[0164] Example 12 includes the apparatus of Example 1, wherein the common attributes are selected from the group consisting of: common tunnel, common layer header, common protocol type, common virtual local area network (VLAN), common security association, common protocol type, common priority, common network layer, common tunnel, common payload data, and common Q-in-Q tag.

[0165] Embodiment 13 includes the apparatus of any one of embodiments 1-11, wherein the prompt includes a batch indicator, a batch code type, and a batch length.

[0166] Example 14 includes the apparatus of any of Examples 1-11, wherein the logic comprises a hardware logic device selected from the group consisting of: an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), and a hard or soft intellectual property (IP) block.

[0167] Example 15 includes the apparatus of any of Examples 1-11, wherein the logic comprises a software packet pre-processing engine.

[0168] Example 16 includes a network interface device, comprising: an ingress interface; a host platform interface; processing logic between the ingress interface and the egress interface to: receive a batch including a first plurality of packets; identify common attributes of the batch; batch process the batch according to the common attributes; generate a hint for the batch, the hint containing information about the batch to facilitate processing of the batch; and forward the batch together with the hint to the host platform network interface.

[0169] Example 17 includes the network interface device of Example 16, wherein the public attribute is a public destination.

[0170] Example 18 includes the network interface device of Example 16, wherein the public destination is a public media access control (MAC) address.

[0171] Example 19 includes the network interface device of Example 18, wherein the batch processing comprises identifying common service flows for the batch, wherein identifying the common service flows is based at least in part on the (source, destination, protocol) tuple.

[0172] Example 20 includes the network interface device of Example 16, wherein the batching comprises identifying n packets of a common size s, wherein the hint comprises instructions for allocating n×s storage blocks.

[0173] Example 21 includes the network interface device of Example 16, wherein the common attribute comprises groups belonging to a common virtual local area network (VLAN), and wherein the hint comprises a single lookup for the batch.

[0174] Example 22 includes the network interface device of Example 16, wherein the common attribute comprises all packets having a common priority.

[0175] Example 23 includes the network interface device of Example 16, wherein the first plurality of packets is a subset of the second plurality of packets, and wherein the logic is further to reorder packets within the second plurality of packets to form a batch.

[0176] Example 24 includes the network interface device of Example 23, wherein the logic is to form the batches while maintaining ordering of packets in the common flow.

[0177] Example 25 includes the network interface device of Example 16, wherein the common attributes include common payload data.

[0178] Example 26 includes the network interface device of Example 16, wherein the common attribute comprises a common security association.

[0179] Example 27 includes the network interface device of Example 16, wherein the common attributes are selected from the group consisting of: common tunnel, common layer header, common protocol type, common virtual local area network (VLAN), common security association, common protocol type, common priority, common network layer, common tunnel, common payload data, and common Q-in-Q tag.

[0180] Example 28 includes the network interface device of any of Examples 16-27, wherein the prompt includes a batch indicator, a batch code type, and a batch length.

[0181] Example 29 includes the network interface device of any of Examples 16-27, wherein the processing logic comprises a hardware logic device selected from the group consisting of: an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), and a hard or soft intellectual property (IP) block.

[0182] Example 30 includes the network interface device of any of Examples 16-27, wherein the logic comprises a software packet pre-processing engine.

[0183] Example 31 includes a method for providing batch processing of incoming packets on a network interface, comprising: receiving a batch including a first plurality of packets on an ingress interface; identifying common attributes of the batch; performing batch processing on the batch based on the common attributes; generating a hint for the batch, the hint including information about the batch to facilitate processing of the batch; and forwarding the batch together with the hint to a host platform network interface.

[0184] Example 32 includes the method of Example 31, wherein the public attribute is a public destination.

[0185] Example 33 includes the method of Example 31, wherein the common destination is a common media access control (MAC) address.

[0186] Example 34 includes the method of Example 33, wherein the batch processing comprises identifying a common service flow for the batch processing, wherein identifying the common service flow is based at least in part on the (source, destination, protocol) tuple.

[0187] Example 35 includes the method of Example 31, wherein the batching comprises identifying n groups of a common size s, wherein the hint comprises instructions for allocating n×s storage blocks.

[0188] Example 36 includes the method of Example 31, wherein the common attribute comprises groups belonging to a common virtual local area network (VLAN), and wherein the hint comprises a single lookup for the batch.

[0189] Example 37 includes the method of Example 31, wherein the common attribute comprises groups that all have a common priority.

[0190] Example 38 includes the method of Example 31, wherein the first plurality of packets is a subset of the second plurality of packets, and wherein the logic is further to reorder the packets within the second plurality of packets to form a batch.

[0191] Example 39 includes the method of Example 38, wherein logic is used to form the batches while maintaining ordering of the packets in the common stream.

[0192] Example 40 includes the method of Example 31, wherein the common attributes include common payload data.

[0193] Example 41 includes the method of Example 31, wherein the common attribute comprises a common security association.

[0194] Example 42 includes the method of Example 31, wherein the common attribute is selected from the group consisting of: a common tunnel, a common layer header, a common protocol type, a common virtual local area network (VLAN), a common security association, a common protocol type, a common priority, a common network layer, a common tunnel, a common payload data, and a common Q-in-Q tag.

[0195] Example 43 includes the method of any of Examples 31-42, wherein the prompt comprises a batch indicator, a batch code type, and a batch length.

[0196] Example 44 includes an apparatus comprising means for performing the method of any of Examples 31-43.

[0197] Example 45 includes the apparatus of Example 44, wherein the unit comprises a network interface having processing logic.

[0198] Example 46 includes the apparatus of Example 45, wherein the processing logic comprises a hardware logic device selected from the group consisting of: an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), and a hard or soft intellectual property (IP) block.

[0199] Example 47 includes the apparatus of Example 45, wherein the logic comprises a software packet pre-processing engine.

[0200] Example 48 includes a computing device comprising the network interface of any of Examples 45-47.

Claims

1. A device comprising: Hardware platform; The logic for executing on the hardware platform is configured as follows: receiving a first plurality of sequence packets; identifying at least one common attribute of the first plurality of sequence groups; associating the first plurality of sequence groups with a batch indicator and a batch length based on the common attribute; as well as The first plurality of sequence packets are forwarded to a host platform network interface along with a batch hint including the batch indicator and a batch length.

2. The device according to claim 1, wherein: The common attribute is the common destination.

3. The device according to claim 1, wherein: The public attribute is a public Media Access Control (MAC) address.

4. The device as claimed in claim 3, wherein: The logic is further configured to identify a common service flow for the batch, wherein identifying the common service flow is based at least in part on a (source, destination, protocol) tuple.

5. The device according to claim 1, wherein: The logic is further configured to identify n groups of a common size s, wherein the hint comprises instructions for allocating nxs storage blocks.

6. The device according to claim 1, wherein: The common attributes include groups belonging to a common virtual local area network (VLAN), and wherein the batch hint includes a single lookup for the batch.

7. The device of claim 1, wherein: The common attribute includes all groups having a common priority.

8. The device of claim 1, wherein: The first plurality of sequence packets are a subset of a second plurality of packets, and wherein the logic is further configured to reorder packets within the second plurality of packets to form the first plurality of sequence packets.

9. The device of claim 8, wherein: The logic is to form the first plurality of sequence packets while maintaining ordering of packets in a common flow.

10. The device of claim 1, wherein: The common attributes include common payload data.

11. The device of claim 1, wherein: The common attributes include common security associations.

12. The device of claim 1, wherein: The common attributes are selected from the group consisting of: common tunnel, common layer header, common protocol type, common virtual local area network (VLAN), common security association, common protocol type, common priority, common network layer, common tunnel, common payload data and common Q-in-Q tag.

13. The device according to any one of claims 1 to 11, wherein: The batch prompt also includes a batch code type.

14. The device according to any one of claims 1 to 11, wherein: The logic includes hardware logic devices selected from the group consisting of: application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), and hard or soft intellectual property (IP) blocks.

15. The device according to any one of claims 1 to 11, wherein: The logic includes a software packet pre-processing engine.

16. A network interface device, comprising: Inlet interface; Host platform interface; The processing logic between the ingress interface and the egress interface is used to: receiving a first plurality of sequence packets; identifying a common attribute of the first plurality of sequence groups; associating the first plurality of sequence groups with a batch indicator and a batch length based on the common attribute; The first plurality of sequence packets are forwarded to a host platform network interface along with a batch hint including the batch indicator and a batch length.

17. The network interface device of claim 16, wherein: The common attribute is the common destination.

18. The network interface device of claim 16, wherein: The public attribute is a public Media Access Control (MAC) address.

19. The network interface device of claim 18, wherein: Batch processing includes identifying common service flows for the batch, wherein identifying the common service flows is based at least in part on a (source, destination, protocol) tuple.

20. The network interface device of claim 16, wherein: The processing logic is further configured to identify n groups of a common size s, wherein the hint comprises instructions for allocating nxs memory blocks.

21. The network interface device of claim 16, wherein: The common attributes include groups belonging to a common virtual local area network (VLAN), and wherein the hint includes a single lookup for the batch.

22. The network interface device of claim 16, wherein: The common attribute includes all groups having a common priority.

23. The network interface device of claim 16, wherein: The first plurality of sequence packets are a subset of a second plurality of packets, and wherein the logic is further configured to reorder packets within the second plurality of packets to form the first plurality of sequence packets.

24. The network interface device of claim 23, wherein: The logic is to form the first plurality of sequence packets while maintaining ordering of packets in a common flow.

25. The network interface device of claim 16, wherein: The common attributes include common payload data.

Citation Information

Patent Citations

  • Cardiac pacemakers

    EP0000280A1

  • Lot identification codes for packaging

    CN102402705A

  • Loss-resilient protocols for communication networks

    CN107040334A

  • Method and system for transmitting packet chains

    US20050122993A1

  • Robust anomaly detection and regularized domain adaptation of classifiers with application to internet packet-flows

    US20120284791A1