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

Claim 8:
9. A method for determining actions to be applied to packets in a network device, the method comprising:
for a given packet being processed in the network device, determining a first search key based on a first header field of the given packet, and a second search key based on a 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, outputting an action indicator for applying to the given packet.