Changes between Version 6 and Version 7 of nic_device_api
- Timestamp:
- Jan 30, 2020, 4:27:40 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
nic_device_api
v6 v7 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 * 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.13 * The RX channels are indexed by an hash key derived from the source (remote) IP address. 14 * The TX channels are indexed by an hash key derived from the destination (remote) IP address. 15 15 As all chdevs, these 2*N chdev descriptors, and the associated server threads, are distributed in different clusters. 16 16