Abstract:
A method for reading and writing a forwarding information base, including receiving a write an associated data (AD) request used to modify the AD and a write a keyword (Key) request used to modify the Key corresponding to the AD, and before the write AD request and the write Key request pass through a cache, transforming, when any one stage to be read and written includes the Key, a row address in the write AD request into a row address that is same as a row address of a node block on which the Key is located, or transforming, when any one stage to be read and written does not include the Key, a row address in the write AD request and a row address in the write Key request into a same row address in the any one stage.
Abstract:
A method for reading and writing a forwarding information base, including receiving a write an associated data (AD) request used to modify the AD and a write a keyword (Key) request used to modify the Key corresponding to the AD, and before the write AD request and the write Key request pass through a cache, transforming, when any one stage to be read and written includes the Key, a row address in the write AD request into a row address that is same as a row address of a node block on which the Key is located, or transforming, when any one stage to be read and written does not include the Key, a row address in the write AD request and a row address in the write Key request into a same row address in the any one stage.