HashSv functions? (accessing the hash units from the SA)
I'm in need of a way to initialize a hashtable for the microengines later use. There appears to be no direct way to access the hash unit on the FBI, but the Microcode Software Reference Manual lists a family of functions called HashSv_* (HashSv_Init, etc). The manual lists the prototypes as being in hashsv.h. Yet I can't find hashsv.h anywhere. Is this another documented, but nonexistent piece of functionality? And if this is the case, how would people suggest initializing a hash table on the SA for use by the micros? The values to initialize the table will be coming from a configuration file, so hard-coding the table in the ME's doesn't work for me. Thanks all, Cyrus
Cyrus, Are you using MicroAce framework? If yes, you can use the functions provided by ASL on the StrongArm to produce the hash values. Check out * Shared Memory Access API in SDK Reference document * Shared Memory Table example in SDK Guide * How L2bridge manages its forwarding table. -- abhijeet On 26 Jun 2003, Cyrus Hall wrote:
I'm in need of a way to initialize a hashtable for the microengines later use. There appears to be no direct way to access the hash unit on the FBI, but the Microcode Software Reference Manual lists a family of functions called HashSv_* (HashSv_Init, etc). The manual lists the prototypes as being in hashsv.h.
Yet I can't find hashsv.h anywhere. Is this another documented, but nonexistent piece of functionality? And if this is the case, how would people suggest initializing a hash table on the SA for use by the micros? The values to initialize the table will be coming from a configuration file, so hard-coding the table in the ME's doesn't work for me.
Thanks all, Cyrus
participants (2)
-
Abhijeet Joglekar
-
Cyrus Hall