HOST POLLING OF A NETWORK ADAPTER

Embodiments herein describe a host that polls a network adapter to receive data from a network. That is, the host/CPU/application thread polls the network adapter (e.g., the network card, NIC, or SmartNIC) to determine whether a packet has been received. If so, the host informs the network adapter t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: RIDDOCH, David James, TURULLOLS, Sebastian, ROBERTS, Derek Edward, MANSLEY, Kieran, POPE, Steven Leslie
Format: Patent
Sprache:eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Embodiments herein describe a host that polls a network adapter to receive data from a network. That is, the host/CPU/application thread polls the network adapter (e.g., the network card, NIC, or SmartNIC) to determine whether a packet has been received. If so, the host informs the network adapter to store the packet (or a portion of the packet) in a CPU register (205). If the requested data has not yet been received by the network adapter from the network (210), the network adapter can delay (230) the responding to the request to provide extra time for the adapter to receive the data from the network. Des modes de réalisation de la présente invention concernent un hôte qui interroge un adaptateur réseau pour recevoir des données en provenance d'un réseau. Pour cela, le fil hôte/CPU/application interroge l'adaptateur réseau (p. ex. la carte réseau, NIC ou SmartNIC) pour déterminer si un paquet a été reçu. Si tel est le cas, l'hôte indique à l'adaptateur réseau de stocker le paquet (ou une partie du paquet) dans un registre CPU (205). Si les données demandées n'ont pas encore été reçues par l'adaptateur réseau en provenance du réseau (210), l'adaptateur réseau peut retarder (230) la réponse à la demande pour fournir un temps supplémentaire afin de permettre à l'adaptateur de recevoir les données en provenance du réseau.