Changes between Version 4 and Version 5 of nic_device_api
- Timestamp:
- Jan 26, 2020, 10:57:51 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
nic_device_api
v4 v5 11 11 12 12 AS the RX and TX queues are independant, there is one NIC-RX chdev descriptor to handle RX packets, and another NIC-TX chdev descriptor to handle TX packets. In order to improve throughput, the hardware NIC controller can (optionnally) implements multiple (N) channels. To share the load between channels, the hardware is supposed to use an hash key : 13 14 13 * The RX channels are indexed by an hash key derived from the source IP address. 14 * The TX channels are indexed by an hash key derived from the destination IP address. 15 15 These 2*N chdev descriptors, and 2*N associated server threads, are distributed in clusters. 16 16