Changes between Version 4 and Version 5 of nic_device_api


Ignore:
Timestamp:
Jan 26, 2020, 10:57:51 PM (4 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • nic_device_api

    v4 v5  
    1111
    1212AS 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 IP address.
     14* The TX channels are indexed by an hash key derived from the destination IP address.
    1515These 2*N chdev descriptors, and 2*N associated server threads, are distributed in clusters.
    1616