Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net/netmap.h
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | * destination port for the VALE switch, overriding | ||||
*/ | */ | ||||
#define NS_RFRAGS(_slot) ( ((_slot)->flags >> 8) & 0xff) | #define NS_RFRAGS(_slot) ( ((_slot)->flags >> 8) & 0xff) | ||||
/* | /* | ||||
* (VALE rx rings only) the high 8 bits | * (VALE rx rings only) the high 8 bits | ||||
* are the number of fragments. | * are the number of fragments. | ||||
*/ | */ | ||||
#define NETMAP_MAX_FRAGS 64 /* max number of fragments */ | |||||
/* | /* | ||||
* struct netmap_ring | * struct netmap_ring | ||||
* | * | ||||
* Netmap representation of a TX or RX ring (also known as "queue"). | * Netmap representation of a TX or RX ring (also known as "queue"). | ||||
* This is a queue implemented as a fixed-size circular array. | * This is a queue implemented as a fixed-size circular array. | ||||
* At the software level the important fields are: head, cur, tail. | * At the software level the important fields are: head, cur, tail. | ||||
* | * | ||||
▲ Show 20 Lines • Show All 458 Lines • Show Last 20 Lines |