Skip to contentSkip to conversation

dsplink...buffer pool and sma pool

DISCUSSION sudip midya 1 participant 1 message Sep 23, 2007

lore
Share & tools
lore
#0 lore raw

Hi Everybody,
whats the difference between buffer pool and sma pool as given in dsplink ring io example? I am confused about the fixed bufer size option in sma pool, not sure what it implies. Can anybody clarify about it and explain a bit how to use it? In buffer pool, I am seeing that the struct BUFPOOL_Params

typedef struct BUFPOOL_Params_tag {
    Uint32     numBufObjs ;
    Uint32 *   bufSizes ;
    Uint32 *   numBuffers ;
    Uint16     segId ;
} BUFPOOL_Params ;

what to give it for segId if I want to use the buffer pool?

Thanks and Regards,
zix

---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.