Struct swbus_params

Struct Documentation

struct swbus_params

SWBUS initialization parameters.

Public Members

struct mpool_params *pools

Each SWB can have any # of buffer pools (each pool can have any number of entries). If you need more than 8 or so, you are probably doing something weird (read: wrong)…

size_t max_pools

Max # of buffer pools to create for the bus.

size_t max_rxqs

Max # of receive queues for the bus.

size_t max_subs

Max # of subscribers to a particular packet ID.

uint32_t flags

Configuration flags.

Valid flags are:

All other flags are ignored.

char name[32]

Name for swbus instance. Used to assist with debugging if multiple SWB instances are active. Has no effect on SWB operation.