Maintaining bypass packet count values
AssigneeNetronome Systems, Inc.
InventorJohann H. Tönsing
Life of this patent
Estimating the term…
Abstract
A networking device includes a Network Interface Device (NID) and a host. Packets are received onto the networking device via the NID. Some of the packets pass along paths from the NID to the host, whereas others do not pass to the host and are processed by the NID. A bypass packet count for each path that passes from the NID to the host is maintained on the NID. It is determined, using a match table, that one of the packets received on the NID is to be sent to the host. The packet, however, is instead sent along a bypass path without going through the host (as it should have according to the host's match tables). The path that the packet would have traversed had the packet not been sent along the bypass path is determined and the bypass packet count associated with the determined path is incremented.
Claims20
A method involving a networking device, wherein the networking device includes a Network Interface Device (NID) and a host, the method comprising:
- (a) receiving a plurality of packets onto the networking device via the NID, wherein some of the packets pass along paths from the NID to the host, and wherein others of the packets do not pass to the host;
- (b) maintaining a bypass packet count for each path that passes from the NID to the host;
- (c) receiving a packet onto the NID, wherein one or more match tables on the NID indicates that the packet is to be sent to the host;
- (d) sending the packet received in (c) along a bypass path without going to the host rather than sending the packet to the host as indicated by the one or more match tables;
- (e) determining the path the packet of (c) would have traversed to the host had the packet not been sent along the bypass path in (d);
- and
- (f) updating the bypass packet count associated with the path determined in (e), wherein (a) through (f) are performed by the networking device.
A method involving a networking device, wherein the networking device includes a network interface device (NID) and a host, the method comprising:
- (a) receiving a plurality of packets onto the networking device via the NID, wherein some of the packets pass along paths from the NID to the host, and wherein others of the packets do not pass to the host;
- (b) maintaining a bypass packet count for a path that passes from the NID to the host, wherein the path extends through an entry of a match table on the host;
- (c) receiving a first packet onto the networking device via the NID and forwarding the first packet to the host;
- (d) incrementing an entry packet count value in the entry as a result of the receiving of the first packet in (c) and not incrementing the bypass packet count;
- (e) receiving a second packet onto the networking device via the NID and processing the second packet on the NID without forwarding the second packet to the host;
- and
- (f) incrementing the bypass packet count as a result of the receiving of the second packet in (e) and not incrementing the entry packet count value in the entry of the match table in the host, wherein (a) through (f) are performed by the networking device.
A method involving a networking device, wherein the networking device includes a network interface device (NID) and a host, the method comprising:
- (a) receiving a plurality of packets onto the networking device via the NID, wherein portions of some of the packets pass along paths from the NID to the host, and wherein portions of others of the packets do not pass to the host;
- (b) maintaining a bypass packet count for each of a plurality of paths that pass from the NID to the host;
- (c) receiving a packet onto the NID;
- (d) sending at least a portion of the packet of (c) along a bypass path without sending the at least a portion of the packet to the host;
- (e) determining the path that the at least a portion of the packet of (c) would have traversed had the at least a portion of the packet of (c) not been sent along the bypass path in (d) but rather had been sent to the host;
- and
- (f) updating the bypass packet count associated with the path determined in (e), wherein (a) through (f) are performed by the networking device.
Dependencies are inferred from the claim text.