It was in a ridiculously expensive 10Gbit ethernet switch with an FPGA built in. Having to write trading algos in Verilog was an extra layer of difficulties.
I don't think it stored the packet at all, just advanced a state machine as each word arrived from the MAC.