Datapath cache

US10110514B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10110514-B2
Application numberUS-201514929434-A
CountryUS
Kind codeB2
Filing dateNov 2, 2015
Priority dateJan 30, 2015
Publication dateOct 23, 2018
Grant dateOct 23, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A novel design of a gateway that handles traffic in and out of a network by using a datapath pipeline is provided. The datapath pipeline includes multiple stages for performing various data-plane packet-processing operations at the edge of the network. The processing stages include centralized routing stages and distributed routing stages. The processing stages can include service-providing stages such as NAT and firewall. The gateway caches the result previous packet operations and reapplies the result to subsequent packets that meet certain criteria. For packets that do not have applicable or valid result from previous packet processing operations, the gateway datapath daemon executes the pipelined packet processing stages and records a set of data from each stage of the pipeline and synthesizes those data into a cache entry for subsequent packets.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for processing a packet received by a gateway computing device, the method comprising: examining the packet to determine whether the packet has a valid corresponding entry in a cache stored by the gateway computing device; when the packet has a valid corresponding cache entry, determining a next destination of the received packet based on the valid corresponding cache entry; and when the packet does not have a valid corresponding cache entry: at the gateway computing device, executing a plurality of pipeline stages to determining a next destination of the received packet, wherein each stage of the plurality of pipeline stages produces a set of cache entry synthesizing instructions comprising (i) at least one value matched by the packet at the stage and (ii) at least one action specified for the packet by the stage; synthesizing a cache entry based on the produced sets of cache entry synthesizing instructions; and storing the synthesized cache entry in the cache at the gateway computing device. 2. The method of claim 1 , wherein the plurality of pipeline stages is executed by a processor of the gateway computing device as a run-to-completion thread. 3. The method of claim 2 , wherein executing a particular pipeline stage comprises calling a function that comprises a set of instructions executable by the processor. 4. The method of claim 1 , wherein examining the packet comprises examining flow identifiers in a header of the packet. 5. The method of claim 1 , wherein each set of cache entry synthesizing instructions further comprises a cache entry enable bit. 6. The method of claim 5 , wherein the cache comprises an aggregate flow cache and an exact flow cache, wherein synthesizing a cache entry comprises synthesizing a first entry for the exact flow cache entry based on an exact header of the packet and a second entry for the aggregate flow cache entry based on the values matched by the packet in the synthesizing instructions. 7. The method of claim 1 , wherein determining whether the packet has a valid corresponding entry in the cache comprises (i) identifying an entry in the cache having a set of matching criteria that matches the packet and (ii) determining whether the identified entry is obsolete. 8. The method of claim 1 , wherein executing the plurality of pipeline stages comprises using configuration data from a configuration database, wherein the configuration database is associated with a timestamp that identifies a time when the configuration database was last updated, wherein each cache entry is associated with a timestamp that identifies a time that the cache entry was created. 9. The method of claim 8 , wherein determining whether the packet has a valid corresponding entry in the cache comprises (i) identifying an entry in the cache having a set of matching criteria that matches the packet and (ii) determining whether the identified entry is obsolete by comparing the timestamp of the configuration database and the timestamp of the identified entry. 10. The method of claim 1 , wherein the executed pipeline stages are for a datapath for routing packets between a provider network and an external physical network. 11. A gateway computing device comprising: a network interface controller (NIC) for receiving a packet from a physical communication medium; a processor executing a run-to-completion thread for: examining the packet to determine whether the packet has a valid corresponding entry in a cache; when the packet has a valid corresponding cache entry, determining a next destination of the received packet based on the content of the valid corresponding cache entry; when the packet does not have a valid corresponding cache entry: executing a plurality of pipeline stages to determining a next destination of the received packet, wherein each stage of the plurality of pipeline stages produces a set of cache entry synthesizing instructions comprising (i) at least one value matched by the packet at the stage and (ii) at least one action specified for the packet by the stage; synthesizing a cache entry based on the produced sets of cache entry synthesizing instructions; and storing the synthesized cache entry in the cache; and a non-transitory machine readable medium storing a configuration database for providing configuration data to the run-to-completion thread. 12. The computing device of claim 11 , wherein the executed pipeline stages are for a datapath for routing packets between a provider network and an external physical network. 13. The computing device of claim 11 , wherein executing a pipeline stage comprises calling a function that comprises a set of instructions executable by the processor. 14. The computing device of claim 11 , wherein examining the packet comprises examining flow identifiers in a header of the packet. 15. The computing device of claim 11 , wherein each set of cache entry synthesizing instructions further comprises a cache entry enable bit. 16. The computing device of claim 15 , wherein the cache comprises an aggregate flow cache and an exact flow cache, wherein synthesizing a cache entry comprises synthesizing a first entry for the exact flow cache entry based on an exact header of the packet and a second entry for the aggregate flow cache entry based on the values matched by the packet in the synthesizing instructions. 17. The computing device of claim 11 , wherein determining whether the packet has a valid corresponding entry in the cache comprises (i) identifying an entry in the cache having a set of matching criteria that matches the packet and (ii) determining whether the identified entry is obsolete. 18. The computing device of claim 11 , wherein the configuration database is associated with a timestamp that identifies a time when the configuration database was last updated, wherein each cache entry is associated with a timestamp that identifies a time that the cache entry was created. 19. The computing device of claim 18 , wherein determining whether the packet has a valid corresponding entry in the cache comprises (i) identifying an entry in the cache having a set of matching criteria that matches the packet and (ii) determining whether the identified entry is obsolete by comparing the timestamp of the configuration database and the timestamp of the identified entry. 20. The method of claim 5 , wherein if the cache enable bit for any of the sets of cache entry synthesizing instructions specifies to not enable the cache entry, no cache entry is synthesized or stored for the packet.

Assignees

Inventors

Classifications

  • Interlayer communication protocols or service data unit [SDU] definitions; Interfaces between layers · CPC title

  • Translation of Internet protocol [IP] addresses · CPC title

  • using time related information in packets, e.g. by adding timestamps · CPC title

  • through application level gateway [ALG] · CPC title

  • Route determination based on the nature of the carried application · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10110514B2 cover?
A novel design of a gateway that handles traffic in and out of a network by using a datapath pipeline is provided. The datapath pipeline includes multiple stages for performing various data-plane packet-processing operations at the edge of the network. The processing stages include centralized routing stages and distributed routing stages. The processing stages can include service-providing sta…
Who is the assignee on this patent?
Nicira Inc
What technology area does this patent fall under?
Primary CPC classification H04L45/586. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Oct 23 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).