EP2942913B1 - Packet processing method and forwarding element - Google Patents

Packet processing method and forwarding element Download PDF

Info

Publication number
EP2942913B1
EP2942913B1 EP13874172.3A EP13874172A EP2942913B1 EP 2942913 B1 EP2942913 B1 EP 2942913B1 EP 13874172 A EP13874172 A EP 13874172A EP 2942913 B1 EP2942913 B1 EP 2942913B1
Authority
EP
European Patent Office
Prior art keywords
packet
offset
forwarding element
length
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
EP13874172.3A
Other languages
German (de)
French (fr)
Other versions
EP2942913A4 (en
EP2942913A1 (en
Inventor
Jun GONG
Wenyang Lei
Xiaofei XU
Hongfei Chen
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP19199083.7A priority Critical patent/EP3687123B1/en
Priority to EP17156167.3A priority patent/EP3255844B1/en
Publication of EP2942913A1 publication Critical patent/EP2942913A1/en
Publication of EP2942913A4 publication Critical patent/EP2942913A4/en
Application granted granted Critical
Publication of EP2942913B1 publication Critical patent/EP2942913B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3009Header conversion, routing tables or routing tags
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Definitions

  • Embodiments of the present invention relate to communications technologies, and in particular, to a packet processing method and a forwarding element (forwarding element).
  • a forwarding element after receiving a packet, a forwarding element needs to determine a data format of the packet, for example, the forwarding element determines whether the packet is an Internet Protocol (Internet Protocol, IP) packet or a Multiprotocol Label Switching (Multiple protocol Label Switching, MPLS) packet, to process the packet.
  • IP Internet Protocol
  • MPLS Multiprotocol Label Switching
  • a switch needs to determine, according to a port table, that a protocol with which the Ethernet packet complies is the Media Access Control (Media Access Control, MAC) Protocol. Then, the switch parses a MAC Protocol header of the Ethernet packet according to the MAC Protocol, to acquire a destination MAC Protocol address of the Ethernet packet.
  • MAC Media Access Control
  • Embodiments of the present invention provide a packet processing method and a forwarding element.
  • the forwarding element Before processing a packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats.
  • the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • a packet processing method including:
  • the forwarding element determines the first offset and the first length according to the inbound port.
  • the forwarding element determines the first key according to the first offset and the first length.
  • the forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • the determining, by the forwarding element, the first key according to the first offset and the first length includes:
  • the determining, by the forwarding element, the first key according to the first offset and the first length includes:
  • the metedata is stored in registers (registers) of the forwarding element; or the metedata is stored in a memory (memory) of the forwarding element.
  • the first instruction is used to instruct the forwarding element to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum (checksum) of the packet, writing the metedata, reading the metedata, updating a counter (counter update), performing committed access rate (committed access rate, CAR) processing on the packet, discarding the packet, sending the packet, and modifying a base offset (base offset) of the packet.
  • the processing, by the forwarding element, the packet according to the first instruction includes:
  • a forwarding element including:
  • the forwarding element determines the first offset and the first length according to the inbound port.
  • the forwarding element determines the first key according to the first offset and the first length.
  • the forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • the searching unit is configured to:
  • the searching unit is configured to:
  • the forwarding element further includes registers or a memory, where the metedata is stored in the registers or the memory.
  • the instruction is used to instruct the forwarding element to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • the processing unit is configured to:
  • a forwarding element including: a receiving circuit, a processor, a search engine (search engine), and a memory, where the receiving circuit is configured to receive a packet through an inbound port; and the processor is coupled with the receiving circuit, the processor is coupled with the memory, and the processor includes an instruction execution circuit and an instruction memory, where the instruction execution circuit is coupled with the instruction memory, the instruction memory is configured to store a computer instruction, and the instruction execution circuit performs the following actions by reading the computer instruction:
  • the search engine is further configured to acquire a first data segment in the packet, where a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length;
  • the instruction execution circuit is further configured to determine the first data segment as the first key; and the processor further includes a data memory, where the data memory is coupled with the instruction execution circuit, and the packet is stored in the data memory.
  • the search engine is further configured to acquire a second data segment in metedata, where a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length; and the instruction execution circuit is further configured to determine the second data segment as the first key.
  • the processor further includes registers, where the registers are coupled with the instruction execution circuit, and the metedata is stored in the registers.
  • the metedata is stored in the memory.
  • the first instruction is used to instruct the instruction execution circuit to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • the instruction execution circuit is further configured to:
  • FIG. 1 is a schematic flowchart of a packet processing method according to an embodiment of the present invention. Referring to FIG. 1 , the method includes:
  • the forwarding element may be a router, a switch, a firewall, or a load balancer.
  • the packet may be an IP packet, an Ethernet packet, or an MPLS packet.
  • 102 may be performed by a receiving circuit.
  • the forwarding element searches for a port table according to the inbound port, and determines a first offset, a first length, and an identifier of a first table, where the first offset, the first length, and the identifier of the first table correspond to the inbound port.
  • the first offset, the first length, and the identifier of the first table are stored in an entry of the port table matching the inbound port.
  • the multiple offsets are in a one-to-one correspondence to the multiple lengths.
  • the first table may be a MAC Protocol table, an Address Resolution Protocol (Address Resolution Protocol, ARP) table, a forwarding information base (forwarding information base, FIB), or an MPLS label table.
  • ARP Address Resolution Protocol
  • FIB forwarding information base
  • MPLS label table an MPLS label table
  • 104 may be performed by a search engine.
  • the forwarding element determines a first key according to the first offset and the first length, searches for the first table according to the first key, and determines a first instruction.
  • the first key may be a data segment in the packet.
  • the first key may also be a data segment in metedata.
  • the metedata is stored in registers.
  • the multiple keys are in a one-to-one correspondence to the multiple offsets.
  • the multiple keys are in a one-to-one correspondence to the multiple lengths.
  • the first key may come only from the packet, or may come only from the metedata.
  • the first key may also come from the packet and the metedata.
  • 106 may be performed by the search engine and an instruction execution circuit.
  • the forwarding element processes the packet according to the first instruction.
  • the first instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 (OpenFlow Switch Specification 1.3.0) released by a standard setting organization (Standard Setting Organization, SSO), the Open Networking Foundation (Open Networking Foundation, ONF).
  • SSO Standard Setting Organization
  • ONF Open Networking Foundation
  • 108 may be performed by a network processor (network processor, NP).
  • NP network processor
  • 108 may be performed by an instruction execution circuit in the NP.
  • the forwarding element determines the first offset and the first length according to the inbound port.
  • the forwarding element determines the first key according to the first offset and the first length.
  • the forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • the determining, by the forwarding element, the first key according to the first offset and the first length includes:
  • the first key comes from the packet.
  • the determining, by the forwarding element, the first key according to the first offset and the first length includes:
  • start position of the second data segment is determined according to the first offset may specifically be that the start position of the second data segment may be identified by using a sum of a second base offset and the first offset, where the second base offset is 0.
  • the first key comes from the metedata.
  • the metedata is stored in registers of the forwarding element.
  • the registers may be located in an NP.
  • the metedata is stored in a memory of the forwarding element.
  • the memory may be coupled with the NP.
  • the first instruction is used to instruct the forwarding element to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • modifying the packet may be deleting a data segment in the packet, replacing a data segment in the packet, or inserting a data segment into the packet.
  • the checksum may be an IP checksum, a Transmission Control Protocol (Transmission Control Protocol, TCP) checksum, or a User Datagram Protocol (User Datagram Protocol, UDP) checksum.
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the processing, by the forwarding element, the packet according to the first instruction includes:
  • the base offset is equal to the sum of the first base offset and the first offset.
  • the forwarding element determines a second key according to the base offset, the second offset, and the second length, searches for the second table according to the second key, and determines a second instruction.
  • the multiple base offsets are in a one-to-one correspondence to the multiple keys.
  • the multiple second offsets are in a one-to-one correspondence to the multiple keys.
  • the multiple second lengths are in a one-to-one correspondence to the multiple keys.
  • the second key may come only from the packet, or may come only from the metedata.
  • the second key may also come from the packet and the metedata.
  • the forwarding element processes the packet according to the second instruction.
  • the second instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • FIG. 5 is a schematic structural diagram of a forwarding element according to an embodiment of the present invention.
  • the forwarding element may be configured to perform the method shown in FIG. 1 .
  • the forwarding element may be a router, a switch, a firewall, or a load balancer.
  • the forwarding element includes a receiving circuit 502, a searching unit 504, a determining unit 506, and a processing unit 508.
  • the receiving circuit 502 is configured to receive a packet through an inbound port.
  • the packet may be an IP packet, an Ethernet packet, or an MPLS packet.
  • the searching unit 504 is configured to search for a port table according to the inbound port, and determine a first offset, a first length length, and an identifier of a first table, where the first offset, the first length, and the identifier of the first table correspond to the inbound port.
  • the first offset, the first length, and the identifier of the first table are stored in an entry of the port table matching the inbound port.
  • the multiple offsets are in a one-to-one correspondence to the multiple lengths.
  • the first table may be a MAC Protocol table, an ARP table, a FIB, or an MPLS label table.
  • the searching unit 504 may be a search engine.
  • the determining unit 506 is configured to determine a first key according to the first offset and the first length, search for the first table according to the first key, and determine a first instruction.
  • the first key may be a data segment in the packet.
  • the first key may also be a data segment in metedata.
  • the metedata is stored in registers.
  • the multiple keys are in a one-to-one correspondence to the multiple offsets.
  • the multiple keys are in a one-to-one correspondence to the multiple lengths.
  • the first key may come only from the packet, or may come only from the metedata.
  • the first key may also come from the packet and the metedata.
  • the determining unit 506 may be a search engine and an instruction execution circuit.
  • the processing unit 508 is configured to process the packet according to the first instruction.
  • the first instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • the processing unit 508 may be an NP, and specifically, the processing unit 508 may be an instruction execution circuit in the NP.
  • the forwarding element determines the first offset and the first length according to the inbound port.
  • the forwarding element determines the first key according to the first offset and the first length.
  • the forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • the searching unit 504 is configured to:
  • the first key comes from the packet.
  • the searching unit 504 is configured to:
  • start position of the second data segment is determined according to the first offset may specifically be that the start position of the second data segment may be identified by using a sum of a second base offset and the first offset, where the second base offset is 0.
  • the first key comes from the metedata.
  • the forwarding element described in FIG. 5 further includes registers or a memory.
  • the metedata is stored in the registers or the memory.
  • the first instruction is used to instruct the forwarding element to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • modifying the packet may be deleting a data segment in the packet, replacing a data segment in the packet, or inserting a data segment into the packet.
  • the checksum may be an IP checksum, a Transmission Control Protocol TCP checksum, or a UDP checksum.
  • the processing unit 508 is configured to:
  • the base offset is equal to the sum of the first base offset and the first offset.
  • the multiple base offsets are in a one-to-one correspondence to the multiple keys.
  • the multiple second offsets are in a one-to-one correspondence to the multiple keys.
  • the multiple second lengths are in a one-to-one correspondence to the multiple keys.
  • the second key may come only from the packet, or may come only from the metedata.
  • the second key may also come from the packet and the metedata.
  • the second instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • FIG. 6 is a schematic structural diagram of a forwarding element according to an embodiment of the present invention.
  • the forwarding element may be configured to perform the method shown in FIG. 1 .
  • the forwarding element may be a router, a switch, a firewall, or a load balancer.
  • the forwarding element includes: an interface circuit 601, an interface circuit 602, a memory (memory) 603, a search engine (search engine) 604, and a processor 609.
  • the processor 609 includes an instruction execution circuit 605 and an instruction memory 607.
  • the processor 609 may include registers (registers) 606 and a data memory 608.
  • the receiving circuit 601 is configured to receive a packet through an inbound port.
  • the processor 609 is coupled with the receiving circuit 601, the processor 609 is coupled with the memory 603, and the processor 609 includes the instruction execution circuit 605 and the instruction memory 607, where the instruction execution circuit 605 is coupled with the instruction memory 607, the instruction memory 607 is configured to store a computer instruction, and the instruction execution circuit 605 performs the following actions by reading the computer instruction:
  • the processor 609 may be coupled with the memory 603 by using a crossbar (crossbar).
  • the processor 609 may be coupled with the search engine 604 by using the crossbar.
  • the packet may be an IP packet, an Ethernet packet, or an MPLS packet.
  • the first offset, the first length, and the identifier of the first table are stored in an entry of the port table matching the inbound port.
  • the multiple offsets are in a one-to-one correspondence to the multiple lengths.
  • FIG. 7 is a schematic diagram of a format of an entry of the port table.
  • An inbound port 701, a first offset 702, a first length 703, and an identifier 704 of a first table in FIG. 7 respectively correspond to the inbound port, the first offset, the first length, and the identifier of the first table.
  • the first table may be a MAC Protocol table, an ARP table, a FIB, or an MPLS label table.
  • the first key may be a data segment in the packet.
  • the first key may also be a data segment in metedata.
  • the metedata is stored in the registers.
  • the multiple keys are in a one-to-one correspondence to the multiple offsets.
  • the multiple keys are in a one-to-one correspondence to the multiple lengths.
  • the first key may come only from the packet, or may come only from the metedata.
  • the first key may also come from the packet and the metedata.
  • the first instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • the forwarding element determines the first offset and the first length according to the inbound port.
  • the forwarding element determines the first key according to the first offset and the first length.
  • the forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • the search engine 604 is further configured to acquire a first data segment in the packet, where a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length.
  • the instruction execution circuit 605 is further configured to determine the first data segment as the first key.
  • the processor further includes the data memory 608, where the data memory 608 is coupled with the instruction execution circuit 605, and the packet is stored in the data memory 608.
  • the first key comes from the packet.
  • the search engine 604 is further configured to acquire a second data segment in metedata, where a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length.
  • the instruction execution circuit 605 is further configured to determine the second data segment as the first key.
  • start position of the second data segment is determined according to the first offset may specifically be that the start position of the second data segment may be identified by using a sum of a second base offset and the first offset, where the second base offset is 0.
  • the first key comes from the metedata.
  • the processor 609 further includes the registers 606, where the registers 606 are coupled with the instruction execution circuit 605, and the metedata is stored in the registers 606.
  • the metedata is stored in the memory 603.
  • the first instruction is used to instruct the instruction execution circuit to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • modifying the packet may be deleting a data segment in the packet, replacing a data segment in the packet, or inserting a data segment into the packet.
  • the checksum may be an IP checksum, a TCP checksum, or a UDP checksum.
  • the packet may be sent by the interface circuit 602.
  • the instruction execution circuit 605 is further configured to:
  • the instruction execution circuit 605 is further configured to trigger the search engine 604, so that the search engine 604 searches for the second table according to the second key, and determines a second instruction.
  • the instruction execution circuit 605 is further configured to process the packet according to the second instruction.
  • the base offset is equal to the sum of the first base offset and the first offset.
  • the multiple base offsets are in a one-to-one correspondence to the multiple keys.
  • the multiple second offsets are in a one-to-one correspondence to the multiple keys.
  • the multiple second lengths are in a one-to-one correspondence to the multiple keys.
  • the second key may come only from the packet, or may come only from the metedata.
  • the second key may also come from the packet and the metedata.
  • the second instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • an entry of the second table includes the second key and the second instruction.
  • FIG. 8 is a schematic diagram of a format of the entry of the second table.
  • a second key 801 and a second instruction 802 in FIG. 8 respectively correspond to the second key and the second instruction.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the described apparatus embodiment is merely exemplary.
  • the unit division is merely logical function division and may be other division in actual implementation.
  • multiple units or components may be combined or integrated into another system, or some features may be ignored or not performed.
  • the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces.
  • the indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
  • the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. A part or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.
  • the functions When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art, or a part of the technical solutions may be implemented in a form of a software product.
  • the computer software product is stored in a storage medium, and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or a part of the steps of the methods described in the embodiments of the present invention.
  • the foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disc.
  • program code such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Description

    TECHNICAL FIELD
  • Embodiments of the present invention relate to communications technologies, and in particular, to a packet processing method and a forwarding element (forwarding element).
  • BACKGROUND
  • In the prior art, after receiving a packet, a forwarding element needs to determine a data format of the packet, for example, the forwarding element determines whether the packet is an Internet Protocol (Internet Protocol, IP) packet or a Multiprotocol Label Switching (Multiple protocol Label Switching, MPLS) packet, to process the packet. For example, after receiving an Ethernet packet, a switch needs to determine, according to a port table, that a protocol with which the Ethernet packet complies is the Media Access Control (Media Access Control, MAC) Protocol. Then, the switch parses a MAC Protocol header of the Ethernet packet according to the MAC Protocol, to acquire a destination MAC Protocol address of the Ethernet packet. An example of packet processing and forwarding is described in document EP1168710 .
  • SUMMARY
  • Embodiments of the present invention provide a packet processing method and a forwarding element. Before processing a packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • According to a first aspect, a packet processing method is provided, including:
    • receiving, by a forwarding element, a packet through an inbound port;
    • searching for, by the forwarding element, a port table (port table) according to the inbound port, and determining a first offset (offset), a first length (length), and an identifier of a first table, where the first offset, the first length, and the identifier of the first table correspond to the inbound port;
    • determining, by the forwarding element, a first key (key) according to the first offset and the first length, searching for the first table according to the first key, and determining a first instruction (instruction); and
    • processing, by the forwarding element, the packet according to the first instruction.
  • In the foregoing technical solution, the forwarding element determines the first offset and the first length according to the inbound port. The forwarding element determines the first key according to the first offset and the first length. The forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • In a first possible implementation manner of the first aspect, the determining, by the forwarding element, the first key according to the first offset and the first length includes:
    • acquiring, by the forwarding element, a first data segment (data segment) in the packet, where a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length; and
    • determining, by the forwarding element, the first data segment as the first key.
  • In a second possible implementation manner of the first aspect, the determining, by the forwarding element, the first key according to the first offset and the first length includes:
    • acquiring, by the forwarding element, a second data segment in metadata (metedata), where a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length; and
    • determining, by the forwarding element, the second data segment as the first key.
  • According to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the metedata is stored in registers (registers) of the forwarding element; or the metedata is stored in a memory (memory) of the forwarding element.
  • According to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the first instruction is used to instruct the forwarding element to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum (checksum) of the packet, writing the metedata, reading the metedata, updating a counter (counter update), performing committed access rate (committed access rate, CAR) processing on the packet, discarding the packet, sending the packet, and modifying a base offset (base offset) of the packet.
  • According to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the processing, by the forwarding element, the packet according to the first instruction includes:
    • determining, by the forwarding element, a base offset of the packet, a second offset, a second length, an identifier of a second table according to the first table, where the base offset of the packet, the second offset, the second length, and the identifier of the second table correspond to the first key;
    • determining, by the forwarding element, a second key according to the base offset of the packet, the second offset, and the second length, searching for the second table according to the second key, and determining a second instruction; and
    • processing, by the forwarding element, the packet according to the second instruction.
  • According to a second aspect, a forwarding element is provided, including:
    • a receiving circuit, configured to receive a packet through an inbound port;
    • a searching unit, configured to search for a port table according to the inbound port, and determine a first offset, a first length, and an identifier of a first table, where the first offset, the first length, and the identifier of the first table correspond to the inbound port;
    • a determining unit, configured to determine a first key according to the first offset and the first length, search for the first table according to the first key, and determine an instruction; and
    • a processing unit, configured to process the packet according to the instruction.
  • In the foregoing technical solution, the forwarding element determines the first offset and the first length according to the inbound port. The forwarding element determines the first key according to the first offset and the first length. The forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • In a first possible implementation manner of the second aspect, the searching unit is configured to:
    • acquire a first data segment in the packet, where a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length; and
    • determine the first data segment as the first key.
  • In a second possible implementation manner of the second aspect, the searching unit is configured to:
    • acquire a second data segment in metedata, where a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length; and
    • determine the second data segment as the first key.
  • According to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the forwarding element further includes registers or a memory, where the metedata is stored in the registers or the memory.
  • According to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the instruction is used to instruct the forwarding element to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • According to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the processing unit is configured to:
    • determine a base offset of the packet, a second offset, a second length, an identifier of a second table according to the first table, where the base offset of the packet, the second offset, the second length, and the identifier of the second table correspond to the first key;
    • determine a second key according to the base offset of the packet, the second offset, and the second length, search for the second table according to the second key, and determine a second instruction; and
    • process the packet according to the second instruction.
  • According to a third aspect, a forwarding element is provided, including: a receiving circuit, a processor, a search engine (search engine), and a memory, where
    the receiving circuit is configured to receive a packet through an inbound port; and
    the processor is coupled with the receiving circuit, the processor is coupled with the memory, and the processor includes an instruction execution circuit and an instruction memory, where the instruction execution circuit is coupled with the instruction memory, the instruction memory is configured to store a computer instruction, and the instruction execution circuit performs the following actions by reading the computer instruction:
    • triggering the search engine, so that the search engine searches for a port table according to the inbound port, and determines a first offset, a first length length, and an identifier of a first table, where the first offset, the first length, and the identifier of the first table correspond to the inbound port, and the port table is stored in the memory;
    • determining a first key according to the first offset and the first length;
    • triggering the search engine, so that the search engine searches for the first table according to the first key, and determines a first instruction; and
    • processing the packet according to the first instruction.
  • In a first possible implementation manner of the third aspect, the search engine is further configured to acquire a first data segment in the packet, where a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length;
    the instruction execution circuit is further configured to determine the first data segment as the first key; and
    the processor further includes a data memory, where the data memory is coupled with the instruction execution circuit, and the packet is stored in the data memory.
  • In a second possible implementation manner of the third aspect, the search engine is further configured to acquire a second data segment in metedata, where a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length; and
    the instruction execution circuit is further configured to determine the second data segment as the first key.
  • According to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the processor further includes registers, where the registers are coupled with the instruction execution circuit, and the metedata is stored in the registers.
  • According to the second possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the metedata is stored in the memory.
  • According to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, the third possible implementation manner of the third aspect, or the fourth possible implementation manner of the third aspect, in a fifth possible implementation manner of the third aspect, the first instruction is used to instruct the instruction execution circuit to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • According to the third aspect, the first possible implementation manner of the third aspect, the second possible implementation manner of the third aspect, the third possible implementation manner of the third aspect, or the fourth possible implementation manner of the third aspect, in a sixth possible implementation manner of the third aspect, the instruction execution circuit is further configured to:
    • determine a base offset of the packet, a second offset, a second length, an identifier of a second table according to the first table, where the base offset of the packet, the second offset, the second length, and the identifier of the second table correspond to the first key;
    • the instruction execution circuit is further configured to:
      • determine a second key according to the base offset of the packet, the second offset, and the second length;
      • the instruction execution circuit is further configured to trigger the search engine, so that the search engine searches for the second table according to the second key, and determines a second instruction; and
      • the instruction execution circuit is further configured to process the packet according to the second instruction.
    BRIEF DESCRIPTION OF DRAWINGS
  • To describe the technical solutions in the embodiments of the present invention or in the prior art more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
    • FIG. 1 is a schematic flowchart of a packet processing method according to an embodiment of the present invention;
    • FIG. 2 is a schematic flowchart of a packet processing method according to an embodiment of the present invention;
    • FIG. 3 is a schematic flowchart of a packet processing method according to an embodiment of the present invention;
    • FIG. 4 is a schematic flowchart of a packet processing method according to an embodiment of the present invention;
    • FIG. 5 is a schematic structural diagram of a forwarding element according to an embodiment of the present invention;
    • FIG. 6 is a schematic structural diagram of a forwarding element according to an embodiment of the present invention;
    • FIG. 7 is a schematic diagram of a format of an entry according to an embodiment of the present invention; and
    • FIG. 8 is a schematic diagram of a format of an entry according to an embodiment of the present invention.
    DESCRIPTION OF EMBODIMENTS
  • To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
  • FIG. 1 is a schematic flowchart of a packet processing method according to an embodiment of the present invention. Referring to FIG. 1, the method includes:
    • 102: A forwarding element receives a packet through an inbound port.
  • For example, the forwarding element may be a router, a switch, a firewall, or a load balancer.
  • For example, the packet may be an IP packet, an Ethernet packet, or an MPLS packet.
  • For example, 102 may be performed by a receiving circuit.
  • 104: The forwarding element searches for a port table according to the inbound port, and determines a first offset, a first length, and an identifier of a first table, where the first offset, the first length, and the identifier of the first table correspond to the inbound port.
  • For example, the first offset, the first length, and the identifier of the first table are stored in an entry of the port table matching the inbound port. There may be one or more first offsets. There may be one or more first lengths. The multiple offsets are in a one-to-one correspondence to the multiple lengths.
  • For example, the first table may be a MAC Protocol table, an Address Resolution Protocol (Address Resolution Protocol, ARP) table, a forwarding information base (forwarding information base, FIB), or an MPLS label table.
  • For example, 104 may be performed by a search engine.
  • 106: The forwarding element determines a first key according to the first offset and the first length, searches for the first table according to the first key, and determines a first instruction.
  • For example, the first key may be a data segment in the packet. The first key may also be a data segment in metedata. The metedata is stored in registers.
  • For example, there may be one or more first keys. The multiple keys are in a one-to-one correspondence to the multiple offsets. The multiple keys are in a one-to-one correspondence to the multiple lengths.
  • For example, the first key may come only from the packet, or may come only from the metedata. The first key may also come from the packet and the metedata.
  • For example, 106 may be performed by the search engine and an instruction execution circuit.
  • 108: The forwarding element processes the packet according to the first instruction.
  • For example, the first instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 (OpenFlow Switch Specification 1.3.0) released by a standard setting organization (Standard Setting Organization, SSO), the Open Networking Foundation (Open Networking Foundation, ONF).
  • For example, 108 may be performed by a network processor (network processor, NP). Specifically, 108 may be performed by an instruction execution circuit in the NP.
  • In the foregoing technical solution, the forwarding element determines the first offset and the first length according to the inbound port. The forwarding element determines the first key according to the first offset and the first length. The forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • Optionally, in the method shown in FIG. 1, the determining, by the forwarding element, the first key according to the first offset and the first length includes:
    • 202: The forwarding element acquires a first data segment in the packet, where a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length.
    • 204: The forwarding element determines the first data segment as the first key.
  • For details about 202 and 204, refer to FIG. 2.
  • For example, that the start position of the first data segment is determined according to the first offset may specifically be that the start position of the first data segment may be identified by using a sum of a first base offset and the first offset, where the first base offset is 0.
  • In the foregoing technical solution, the first key comes from the packet.
  • Optionally, in the method shown in FIG. 1, the determining, by the forwarding element, the first key according to the first offset and the first length includes:
    • 302: The forwarding element acquires a second data segment in metedata, where a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length.
    • 304: The forwarding element determines the second data segment as the first key.
  • For details about 302 and 304, refer to FIG. 3.
  • For example, that the start position of the second data segment is determined according to the first offset may specifically be that the start position of the second data segment may be identified by using a sum of a second base offset and the first offset, where the second base offset is 0.
  • In the foregoing technical solution, the first key comes from the metedata.
  • Optionally, in the method shown in FIG. 1, the metedata is stored in registers of the forwarding element.
  • For example, the registers may be located in an NP.
  • Optionally, in the method shown in FIG. 1, the metedata is stored in a memory of the forwarding element.
  • For example, the memory may be coupled with the NP.
  • Optionally, in the method shown in FIG. 1, the first instruction is used to instruct the forwarding element to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • For example, modifying the packet may be deleting a data segment in the packet, replacing a data segment in the packet, or inserting a data segment into the packet.
  • For example, the checksum may be an IP checksum, a Transmission Control Protocol (Transmission Control Protocol, TCP) checksum, or a User Datagram Protocol (User Datagram Protocol, UDP) checksum.
  • Optionally, in the method shown in FIG. 1, the processing, by the forwarding element, the packet according to the first instruction includes:
    • 402: The forwarding element determines a base offset, a second offset, a second length, an identifier of a second table according to the first table, where the base offset, the second offset, the second length, and the identifier of the second table correspond to the first key.
  • For example, the base offset is equal to the sum of the first base offset and the first offset.
  • 404: The forwarding element determines a second key according to the base offset, the second offset, and the second length, searches for the second table according to the second key, and determines a second instruction.
  • For example, there may be one or more second keys. If there are multiple second keys, there are multiple base offsets, there are multiple second offsets, and there are multiple second lengths. The multiple base offsets are in a one-to-one correspondence to the multiple keys. The multiple second offsets are in a one-to-one correspondence to the multiple keys. The multiple second lengths are in a one-to-one correspondence to the multiple keys.
  • For example, the second key may come only from the packet, or may come only from the metedata. The second key may also come from the packet and the metedata.
  • 406: The forwarding element processes the packet according to the second instruction.
  • For example, the second instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • For details about 402, 404, and 406, refer to FIG. 4.
  • FIG. 5 is a schematic structural diagram of a forwarding element according to an embodiment of the present invention. The forwarding element may be configured to perform the method shown in FIG. 1. For example, the forwarding element may be a router, a switch, a firewall, or a load balancer. Referring to FIG. 5, the forwarding element includes a receiving circuit 502, a searching unit 504, a determining unit 506, and a processing unit 508.
  • The receiving circuit 502 is configured to receive a packet through an inbound port.
  • For example, the packet may be an IP packet, an Ethernet packet, or an MPLS packet.
  • The searching unit 504 is configured to search for a port table according to the inbound port, and determine a first offset, a first length length, and an identifier of a first table, where the first offset, the first length, and the identifier of the first table correspond to the inbound port.
  • For example, the first offset, the first length, and the identifier of the first table are stored in an entry of the port table matching the inbound port. There may be one or more first offsets. There may be one or more first lengths. The multiple offsets are in a one-to-one correspondence to the multiple lengths.
  • For example, the first table may be a MAC Protocol table, an ARP table, a FIB, or an MPLS label table.
  • For example, the searching unit 504 may be a search engine.
  • The determining unit 506 is configured to determine a first key according to the first offset and the first length, search for the first table according to the first key, and determine a first instruction.
  • For example, the first key may be a data segment in the packet. The first key may also be a data segment in metedata. The metedata is stored in registers.
  • For example, there may be one or more first keys. The multiple keys are in a one-to-one correspondence to the multiple offsets. The multiple keys are in a one-to-one correspondence to the multiple lengths.
  • For example, the first key may come only from the packet, or may come only from the metedata. The first key may also come from the packet and the metedata.
  • For example, the determining unit 506 may be a search engine and an instruction execution circuit.
  • The processing unit 508 is configured to process the packet according to the first instruction.
  • For example, the first instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • For example, the processing unit 508 may be an NP, and specifically, the processing unit 508 may be an instruction execution circuit in the NP.
  • In the foregoing technical solution, the forwarding element determines the first offset and the first length according to the inbound port. The forwarding element determines the first key according to the first offset and the first length. The forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • Optionally, in the forwarding element described in FIG. 5, the searching unit 504 is configured to:
    • acquire a first data segment in the packet, where a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length; and
    • determine the first data segment as the first key.
  • For example, that the start position of the first data segment is determined according to the first offset may specifically be that the start position of the first data segment may be identified by using a sum of a first base offset and the first offset, where the first base offset is 0.
  • In the foregoing technical solution, the first key comes from the packet.
  • Optionally, in the forwarding element described in FIG. 5, the searching unit 504 is configured to:
    • acquire a second data segment in metedata, where a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length; and
    • determine the second data segment as the first key.
  • For example, that the start position of the second data segment is determined according to the first offset may specifically be that the start position of the second data segment may be identified by using a sum of a second base offset and the first offset, where the second base offset is 0.
  • In the foregoing technical solution, the first key comes from the metedata.
  • Optionally, the forwarding element described in FIG. 5 further includes registers or a memory.
  • The metedata is stored in the registers or the memory.
  • Optionally, in the forwarding element described in FIG. 5, the first instruction is used to instruct the forwarding element to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • For example, modifying the packet may be deleting a data segment in the packet, replacing a data segment in the packet, or inserting a data segment into the packet.
  • For example, the checksum may be an IP checksum, a Transmission Control Protocol TCP checksum, or a UDP checksum.
  • Optionally, in the forwarding element described in FIG. 5, the processing unit 508 is configured to:
    • determine a base offset of the packet, a second offset, a second length, an identifier of a second table according to the first table, where the base offset of the packet, the second offset, the second length, and the identifier of the second table correspond to the first key;
    • determine a second key according to the base offset of the packet, the second offset, and the second length, search for the second table according to the second key, and determine a second instruction; and
    • process the packet according to the second instruction.
  • For example, the base offset is equal to the sum of the first base offset and the first offset.
  • For example, there may be one or more second keys. If there are multiple second keys, there are multiple base offsets, there are multiple second offsets, and there are multiple second lengths. The multiple base offsets are in a one-to-one correspondence to the multiple keys. The multiple second offsets are in a one-to-one correspondence to the multiple keys. The multiple second lengths are in a one-to-one correspondence to the multiple keys.
  • For example, the second key may come only from the packet, or may come only from the metedata. The second key may also come from the packet and the metedata.
  • For example, the second instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • FIG. 6 is a schematic structural diagram of a forwarding element according to an embodiment of the present invention. The forwarding element may be configured to perform the method shown in FIG. 1. For example, the forwarding element may be a router, a switch, a firewall, or a load balancer. Referring to FIG. 6, the forwarding element includes: an interface circuit 601, an interface circuit 602, a memory (memory) 603, a search engine (search engine) 604, and a processor 609. The processor 609 includes an instruction execution circuit 605 and an instruction memory 607. Optionally, the processor 609 may include registers (registers) 606 and a data memory 608.
  • The receiving circuit 601 is configured to receive a packet through an inbound port.
  • The processor 609 is coupled with the receiving circuit 601, the processor 609 is coupled with the memory 603, and the processor 609 includes the instruction execution circuit 605 and the instruction memory 607, where the instruction execution circuit 605 is coupled with the instruction memory 607, the instruction memory 607 is configured to store a computer instruction, and the instruction execution circuit 605 performs the following actions by reading the computer instruction:
    • triggering the search engine 604, so that the search engine 604 searches for a port table according to the inbound port, and determines a first offset, a first length, and an identifier of a first table, where the first offset, the first length, and the identifier of the first table correspond to the inbound port, and the port table is stored in the memory 603;
    • determining a first key according to the first offset and the first length;
    • triggering the search engine 604, so that the search engine 604 searches for the first table according to the first key, and determines a first instruction; and
    • processing the packet according to the first instruction.
  • For example, the processor 609 may be coupled with the memory 603 by using a crossbar (crossbar). The processor 609 may be coupled with the search engine 604 by using the crossbar.
  • For example, the packet may be an IP packet, an Ethernet packet, or an MPLS packet.
  • For example, the first offset, the first length, and the identifier of the first table are stored in an entry of the port table matching the inbound port. There may be one or more first offsets. There may be one or more first lengths. The multiple offsets are in a one-to-one correspondence to the multiple lengths.
  • FIG. 7 is a schematic diagram of a format of an entry of the port table. An inbound port 701, a first offset 702, a first length 703, and an identifier 704 of a first table in FIG. 7 respectively correspond to the inbound port, the first offset, the first length, and the identifier of the first table.
  • For example, the first table may be a MAC Protocol table, an ARP table, a FIB, or an MPLS label table.
  • For example, the first key may be a data segment in the packet. The first key may also be a data segment in metedata. The metedata is stored in the registers.
  • For example, there may be one or more first keys. The multiple keys are in a one-to-one correspondence to the multiple offsets. The multiple keys are in a one-to-one correspondence to the multiple lengths.
  • For example, the first key may come only from the packet, or may come only from the metedata. The first key may also come from the packet and the metedata.
  • For example, the first instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • In the foregoing technical solution, the forwarding element determines the first offset and the first length according to the inbound port. The forwarding element determines the first key according to the first offset and the first length. The forwarding element determines the first instruction according to the first key, to process the packet. Therefore, before processing the packet, the forwarding element does not need to interpret a data format of the packet, so that the forwarding element can flexibly support packets in different data formats. When needing to support a new data format, the forwarding element can process a packet in the data format without the need of updating hardware or software.
  • Optionally, in the forwarding element shown in FIG. 6, the search engine 604 is further configured to acquire a first data segment in the packet, where a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length.
  • The instruction execution circuit 605 is further configured to determine the first data segment as the first key.
  • The processor further includes the data memory 608, where the data memory 608 is coupled with the instruction execution circuit 605, and the packet is stored in the data memory 608.
  • For example, that the start position of the first data segment is determined according to the first offset may specifically be that the start position of the first data segment may be identified by using a sum of a first base offset and the first offset, where the first base offset is 0.
  • In the foregoing technical solution, the first key comes from the packet.
  • Optionally, in the forwarding element shown in FIG. 6, the search engine 604 is further configured to acquire a second data segment in metedata, where a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length.
  • The instruction execution circuit 605 is further configured to determine the second data segment as the first key.
  • For example, that the start position of the second data segment is determined according to the first offset may specifically be that the start position of the second data segment may be identified by using a sum of a second base offset and the first offset, where the second base offset is 0.
  • In the foregoing technical solution, the first key comes from the metedata.
  • Optionally, in the forwarding element shown in FIG. 6, the processor 609 further includes the registers 606, where the registers 606 are coupled with the instruction execution circuit 605, and the metedata is stored in the registers 606.
  • Optionally, in the forwarding element shown in FIG. 6, the metedata is stored in the memory 603.
  • Optionally, in the forwarding element shown in FIG. 6, the first instruction is used to instruct the instruction execution circuit to perform an operation, where the operation includes at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metedata, reading the metedata, a counter update, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  • For example, modifying the packet may be deleting a data segment in the packet, replacing a data segment in the packet, or inserting a data segment into the packet.
  • For example, the checksum may be an IP checksum, a TCP checksum, or a UDP checksum.
  • For example, the packet may be sent by the interface circuit 602.
  • Optionally, in the forwarding element shown in FIG. 6, the instruction execution circuit 605 is further configured to:
    • determine a base offset of the packet, a second offset, a second length, an identifier of a second table according to the first table, where the base offset of the packet, the second offset, the second length, and the identifier of the second table correspond to the first key;
    • the instruction execution circuit 605 is further configured to:
      • determine a second key according to the base offset of the packet, the second offset, and the second length.
  • The instruction execution circuit 605 is further configured to trigger the search engine 604, so that the search engine 604 searches for the second table according to the second key, and determines a second instruction.
  • The instruction execution circuit 605 is further configured to process the packet according to the second instruction.
  • For example, the base offset is equal to the sum of the first base offset and the first offset.
  • For example, there may be one or more second keys. If there are multiple second keys, there are multiple base offsets, there are multiple second offsets, and there are multiple second lengths. The multiple base offsets are in a one-to-one correspondence to the multiple keys. The multiple second offsets are in a one-to-one correspondence to the multiple keys. The multiple second lengths are in a one-to-one correspondence to the multiple keys.
  • For example, the second key may come only from the packet, or may come only from the metedata. The second key may also come from the packet and the metedata.
  • For example, the second instruction may be an instruction defined in the OpenFlow Switch Specification 1.3.0 released by the ONF.
  • For example, an entry of the second table includes the second key and the second instruction. FIG. 8 is a schematic diagram of a format of the entry of the second table. A second key 801 and a second instruction 802 in FIG. 8 respectively correspond to the second key and the second instruction.
  • A person of ordinary skill in the art may be aware that, in combination with the examples described in the embodiments disclosed in this specification, units and algorithm steps may be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present invention.
  • It may be clearly understood by a person skilled in the art that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, reference may be made to a corresponding process in the foregoing method embodiments, and details are not described herein again.
  • In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely exemplary. For example, the unit division is merely logical function division and may be other division in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
  • The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. A part or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.
  • When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art, or a part of the technical solutions may be implemented in a form of a software product. The computer software product is stored in a storage medium, and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or a part of the steps of the methods described in the embodiments of the present invention. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disc.
  • The foregoing descriptions are merely specific implementation manners of the present invention, but are not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

  1. A packet processing method, comprising:
    receiving, by a forwarding element, a packet through an inbound port (601);
    searching for, by the forwarding element, a port table according to the inbound port (701), and characterized in comprising the steps of determining a first offset (702), first length (703), and an identifier of a first table (704), wherein the first offset, the first length, and the identifier of the first table correspond to the inbound port;
    determining, by the forwarding element, a first key according to the first offset and the first length, searching for the first table according to the first key, and determining a first instruction; and
    processing, by the forwarding element, the packet according to the first instruction.
  2. The method according to claim 1, wherein the determining, by the forwarding element, the first key according to the first offset and the first length comprises:
    acquiring, by the forwarding element, a first data segment in the packet, wherein a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length; and
    determining, by the forwarding element, the first data segment as the first key.
  3. The method according to claim 1, wherein the determining, by the forwarding element, the first key according to the first offset and the first length comprises:
    acquiring, by the forwarding element, a second data segment in metadata, wherein a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length; and
    determining, by the forwarding element, the second data segment as the first key.
  4. The method according to claim 3, wherein:
    the metadata is stored in registers of the forwarding element; or
    the metadata is stored in a memory of the forwarding element.
  5. The method according to any one of claims 1 to 4, wherein:
    the first instruction is used to instruct the forwarding element to perform an operation, wherein the operation comprises at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metadata, reading the metadata, updating a counter, performing committed access rate, CAR, processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  6. The method according to any one of claims 1 to 4, wherein:
    the processing, by the forwarding element, the packet according to the first instruction comprises:
    determining, by the forwarding element, a base offset of the packet, a second offset, a second length, an identifier of a second table according to the first table, wherein the base offset of the packet, the second offset, the second length, and the identifier of the second table correspond to the first key;
    determining, by the forwarding element, a second key according to the base offset of the packet, the second offset, and the second length, searching for the second table according to the second key, and determining a second instruction; and
    processing, by the forwarding element, the packet according to the second instruction.
  7. The method according to any one of claims 1 to 6, wherein the forwarding element is a router, a switch, a firewall, or a load balancer.
  8. A forwarding element, comprising:
    a receiving circuit, configured to receive a packet through an inbound port;
    a searching unit, configured to search for a port table according to the inbound port (701), characterized to determine a first offset (702), a first length (703), and an identifier of a first table (704), wherein the first offset, the first length, and the identifier of the first table correspond to the inbound port;
    a determining unit, configured to determine a first key according to the first offset and the first length, search for the first table according to the first key, and determine a first instruction; and
    a processing unit, configured to process the packet according to the first instruction.
  9. The forwarding element according to claim 8, wherein the searching unit is configured to:
    acquire a first data segment in the packet, wherein a start position of the first data segment is determined according to the first offset, and a length of the first data segment is the first length; and
    determine the first data segment as the first key.
  10. The forwarding element according to claim 8, wherein the searching unit is configured to:
    acquire a second data segment in metadata, wherein a start position of the second data segment is determined according to the first offset, and a length of the second data segment is the first length; and
    determine the second data segment as the first key.
  11. The forwarding element according to claim 10, further comprising registers or a memory, wherein:
    the metadata is stored in the registers or the memory.
  12. The forwarding element according to any one of claims 8 to 11, wherein:
    the first instruction is used to instruct the forwarding element to perform an operation, wherein the operation comprises at least one of the following operations: modifying the packet, calculating a checksum of the packet, writing the metadata, reading the metadata, updating a counter, performing CAR processing on the packet, discarding the packet, sending the packet, and modifying a base offset of the packet.
  13. The forwarding element according to any one of claims 8 to 12, wherein the processing unit is configured to:
    determine a base offset of the packet, a second offset, a second length, an identifier of a second table according to the first table, wherein the base offset of the packet, the second offset, the second length, and the identifier of the second table correspond to the first key;
    determine a second key according to the base offset of the packet, the second offset, and the second length, search for the second table according to the second key, and determine a second instruction; and
    process the packet according to the second instruction.
  14. The forwarding element according to any one of claims 8 to 13, wherein the forwarding element is a router, a switch, a firewall, or a load balancer.
EP13874172.3A 2013-01-29 2013-01-29 Packet processing method and forwarding element Active EP2942913B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19199083.7A EP3687123B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element
EP17156167.3A EP3255844B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/071088 WO2014117327A1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element

Related Child Applications (3)

Application Number Title Priority Date Filing Date
EP19199083.7A Division EP3687123B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element
EP17156167.3A Division-Into EP3255844B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element
EP17156167.3A Division EP3255844B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element

Publications (3)

Publication Number Publication Date
EP2942913A1 EP2942913A1 (en) 2015-11-11
EP2942913A4 EP2942913A4 (en) 2016-01-20
EP2942913B1 true EP2942913B1 (en) 2017-06-21

Family

ID=51261389

Family Applications (3)

Application Number Title Priority Date Filing Date
EP19199083.7A Active EP3687123B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element
EP17156167.3A Active EP3255844B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element
EP13874172.3A Active EP2942913B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element

Family Applications Before (2)

Application Number Title Priority Date Filing Date
EP19199083.7A Active EP3687123B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element
EP17156167.3A Active EP3255844B1 (en) 2013-01-29 2013-01-29 Packet processing method and forwarding element

Country Status (6)

Country Link
US (1) US9749262B2 (en)
EP (3) EP3687123B1 (en)
JP (1) JP6070863B2 (en)
CN (2) CN104205742B (en)
ES (1) ES2766861T3 (en)
WO (1) WO2014117327A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017034723A (en) * 2016-11-10 2017-02-09 ▲ホア▼▲ウェイ▼技術有限公司Huawei Technologies Co.,Ltd. Packet processing method and forwarding element
CN109729117B (en) * 2017-10-30 2020-10-27 华为技术有限公司 Message processing method, chip system and computer storage medium
CN109688148A (en) * 2018-12-29 2019-04-26 苏州睿安芯微电子有限公司 A kind of system and method for making retransmission protocol secure network by oneself based on software configuration
CN111327546B (en) * 2020-02-25 2022-01-28 杭州迪普科技股份有限公司 Message forwarding method and device

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6266706B1 (en) * 1997-09-15 2001-07-24 Effnet Group Ab Fast routing lookup system using complete prefix tree, bit vector, and pointers in a routing table for determining where to route IP datagrams
EA200000328A1 (en) * 1997-09-15 2000-10-30 Эффнет Груп Аб METHOD AND SYSTEM FOR QUICK ROUTING SEARCHES
US6347087B1 (en) * 1998-10-05 2002-02-12 Packet Engines Incorporated Content-based forwarding/filtering in a network switching device
EP1168726B1 (en) * 2000-06-19 2007-02-14 Broadcom Corporation Switch with memory management unit for improved flow control
US7813346B1 (en) * 2001-11-21 2010-10-12 Juniper Networks, Inc. Filter-based forwarding in a network
US7289498B2 (en) * 2002-06-04 2007-10-30 Lucent Technologies Inc. Classifying and distributing traffic at a network node
US20050114393A1 (en) * 2003-11-24 2005-05-26 Alcatel Dynamic forwarding method using binary search
US7555594B2 (en) * 2004-07-22 2009-06-30 Netlogic Microsystems, Inc. Range representation in a content addressable memory (CAM) using an improved encoding scheme
US20060212426A1 (en) * 2004-12-21 2006-09-21 Udaya Shakara Efficient CAM-based techniques to perform string searches in packet payloads
CN101047649A (en) * 2007-04-05 2007-10-03 华为技术有限公司 Method and equipment for transmitting data flow
CN101471923B (en) * 2007-12-27 2012-06-20 华为技术有限公司 Method, equipment and system for sending protocol message and identifying protocol message type
CN101267331A (en) * 2008-04-23 2008-09-17 华为技术有限公司 A search method and device for multicast forward table
US8375211B2 (en) * 2009-04-21 2013-02-12 International Business Machines Corporation Optimization of signing soap body element
CN101599960A (en) * 2009-05-27 2009-12-09 南京欣网视讯科技股份有限公司 A kind of P2P method for recognizing flux based on protocal analysis
CN101989954B (en) * 2010-11-16 2014-09-10 中兴通讯股份有限公司 Message fragmenting method and network forwarding equipment
RU2613034C2 (en) * 2010-11-16 2017-03-14 Тибко Софтвеар Инк. Rapid establishment of compliance with content addressing
CN102143074B (en) 2011-03-25 2015-09-16 中兴通讯股份有限公司 The sharing method of network load, system and network processing unit
CN102148768B (en) * 2011-05-26 2014-11-26 杭州华三通信技术有限公司 Message forwarding method and device
CN102333039B (en) * 2011-10-25 2014-09-17 华为技术有限公司 Method for forwarding message, and method and device for generating table entry
CN102427428A (en) * 2011-12-07 2012-04-25 西安电子科技大学 Stream identifying method and device based on multi-domain longest match
CN102780619B (en) 2012-07-23 2015-03-11 北京星网锐捷网络技术有限公司 Method and device for processing message

Also Published As

Publication number Publication date
CN106850442B (en) 2019-01-08
WO2014117327A1 (en) 2014-08-07
US20150334055A1 (en) 2015-11-19
CN104205742B (en) 2017-04-12
EP2942913A4 (en) 2016-01-20
JP2016506217A (en) 2016-02-25
US9749262B2 (en) 2017-08-29
EP2942913A1 (en) 2015-11-11
CN106850442A (en) 2017-06-13
EP3255844A1 (en) 2017-12-13
EP3687123A1 (en) 2020-07-29
CN104205742A (en) 2014-12-10
ES2766861T3 (en) 2020-06-15
JP6070863B2 (en) 2017-02-01
EP3255844B1 (en) 2019-10-30
EP3687123B1 (en) 2022-07-27

Similar Documents

Publication Publication Date Title
EP3787241A1 (en) Routing generation method and device
EP3401783B1 (en) Method and apparatus for determining virtual machine migration
WO2017000878A1 (en) Message processing
US10237130B2 (en) Method for processing VxLAN data units
WO2012033117A1 (en) Network system and network management method
EP3079318B1 (en) Packet processing method and device
US9749262B2 (en) Packet processing method and forwarding element
US10574570B2 (en) Communication processing method and apparatus
EP2916516A1 (en) Packet processing method and apparatus
CN105282133B (en) Method and apparatus for forming hash input from packet content
EP3384642B1 (en) Forwarding table compression
US9628392B2 (en) Method and device for forwarding message
WO2015149367A1 (en) Method and device for processing packet
US20150304462A1 (en) Network device and packet processing method
EP3846385A1 (en) Slow protocol packet processing method and related apparatus
EP2947819A1 (en) Control information management device, control information presentation method, and program
US9847929B2 (en) Cluster and forwarding method
WO2015184979A1 (en) Methods and devices for processing packet, sending information, and receiving information
CN106453144B (en) Message processing method and device in software defined network
JP2017034723A (en) Packet processing method and forwarding element
WO2016095090A1 (en) Microcode storage method and apparatus

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20150807

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

AX Request for extension of the european patent

Extension state: BA ME

A4 Supplementary search report drawn up and despatched

Effective date: 20151221

RIC1 Information provided on ipc code assigned before grant

Ipc: H04L 12/935 20130101ALI20151215BHEP

Ipc: H04L 12/70 20130101AFI20151215BHEP

Ipc: H04W 72/04 20090101ALI20151215BHEP

Ipc: H04L 12/741 20130101ALI20151215BHEP

DAX Request for extension of the european patent (deleted)
GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: GRANT OF PATENT IS INTENDED

INTG Intention to grant announced

Effective date: 20170104

GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE PATENT HAS BEEN GRANTED

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

REG Reference to a national code

Ref country code: GB

Ref legal event code: FG4D

REG Reference to a national code

Ref country code: CH

Ref legal event code: EP

REG Reference to a national code

Ref country code: IE

Ref legal event code: FG4D

REG Reference to a national code

Ref country code: AT

Ref legal event code: REF

Ref document number: 903843

Country of ref document: AT

Kind code of ref document: T

Effective date: 20170715

REG Reference to a national code

Ref country code: DE

Ref legal event code: R096

Ref document number: 602013022716

Country of ref document: DE

REG Reference to a national code

Ref country code: NL

Ref legal event code: MP

Effective date: 20170621

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: HR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: FI

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: NO

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170921

Ref country code: GR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170922

Ref country code: LT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

REG Reference to a national code

Ref country code: LT

Ref legal event code: MG4D

REG Reference to a national code

Ref country code: AT

Ref legal event code: MK05

Ref document number: 903843

Country of ref document: AT

Kind code of ref document: T

Effective date: 20170621

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: LV

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: RS

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: SE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: NL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: BG

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170921

REG Reference to a national code

Ref country code: FR

Ref legal event code: PLFP

Year of fee payment: 6

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: AT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: EE

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: CZ

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: RO

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: SK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SM

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: ES

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: IS

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20171021

Ref country code: PL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: IT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

REG Reference to a national code

Ref country code: DE

Ref legal event code: R097

Ref document number: 602013022716

Country of ref document: DE

PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: DK

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

26N No opposition filed

Effective date: 20180322

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: SI

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

REG Reference to a national code

Ref country code: CH

Ref legal event code: PL

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: LU

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20180129

REG Reference to a national code

Ref country code: IE

Ref legal event code: MM4A

REG Reference to a national code

Ref country code: BE

Ref legal event code: MM

Effective date: 20180131

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: LI

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20180131

Ref country code: BE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20180131

Ref country code: CH

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20180131

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: IE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20180129

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: MC

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: MT

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20180129

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: TR

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: PT

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: HU

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT; INVALID AB INITIO

Effective date: 20130129

Ref country code: CY

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

Ref country code: MK

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20170621

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: AL

Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT

Effective date: 20170621

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20221208

Year of fee payment: 11

Ref country code: FR

Payment date: 20221208

Year of fee payment: 11

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 20221207

Year of fee payment: 11