Patent ID: 9148352
Filing Date: 2015-09-29
Classification: H04L

Abstract:
1. A method for debugging network activity, comprising: receiving, by a host channel adapter (HCA), a packet stream comprising a plurality of packets; comparing a packet header of each of the plurality of packets to a trigger condition to determine whether the trigger condition has been met; after the trigger condition has been met, comparing each packet header of the plurality of packets to one or more trace filters stored in the HCA to identify matching packets; duplicating one or more portions of the matching packets and storing the duplicated one or more portions of the matching packets in a trace buffer, wherein the trace buffer is located in the HCA and is dynamically repurposed from a payload random access memory (RAM) to the trace buffer when a corresponding port of the HCA for transmitting or receiving the packet stream is set to trace mode; and stopping a trace of the one or more portions of the packets and copying the one or more portions of packets from the trace buffer to host memory.