×

Methods and apparatus for performing in-service upgrade of software in network processor

  • US 7,802,245 B2
  • Filed: 04/27/2006
  • Issued: 09/21/2010
  • Est. Priority Date: 04/27/2006
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of performing an in-service upgrade of code, storable in a memory associated with a packet processor and executable on the packet processor, from a first code version to a second code version, comprising the steps of:

  • preparing for the upgrade by generating one or more write operations to effectuate the code upgrade from the first code version to the second code version, the preparing step comprising the steps of;

    allocating an indirection address for a given flow function, wherein the indirection address points to an address for the given flow function in the first code version;

    modifying one or more references to the given flow function to point to the indirection address for the given flow function;

    generating the one or more write operations, wherein the one or more operations are operative to update the indirection address for the given flow function to point to an address for the given flow function in the second code version;

    updating the code from the first code version to the second code version by propagating the one or more write operations to the packet processor; and

    cleaning up after the updating step, the cleaning up step comprising the steps of;

    modifying the one or more references to the given flow function to point to the address for the given flow function in the second code version; and

    reclaiming one or more memory locations available after the update step;

    wherein the preparing, updating and cleaning up steps require only the storage of a single version of the code in the memory associated with the packet processor.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×