×

Method and system for dynamic repurposing of payload storage as a trace buffer

  • US 9,148,352 B2
  • Filed: 12/20/2012
  • Issued: 09/29/2015
  • Est. Priority Date: 12/20/2012
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×