Patent ID: 11968285
Assignee: MELLANOX TECHNOLOGIES, LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 4:
5. A method in a network device, the method comprising:
exchanging packets over a network, each packet comprising a packet header having at least first and second header fields;
for a given packet, determining a first search key based on the first header field of the given packet, and a second search key based on the second header field of the given packet;
comparing the first search key to a first group of compare values, and, responsively to a match between the first search key and a first compare value in the first group, outputting a One-Hot vector having a marker element whose position in the One-Hot vector is indicative of an index of the first compare value, which was found to match the first search key, in the first group;
generating a composite search key, by concatenating the first search key and the One-Hot vector;
comparing the composite search key to a second group of compare values, and, responsively to a match between the composite search key and a second compare value in the second group, outputting an action indicator for applying to the given packet; and
processing the packets responsively to the packet headers, including applying an action to the given packet responsively to the action indicator, which was output by the compare circuitry.