onload_socket_nonaccel

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English

Description

Create a socket which is not accelerated by Onload. This function is useful when attempting to reserve a port for an ephemeral ef_vi instance without installing Onload filters. It is also possible to use the stackname API to disable acceleration for specific socket(s).

Definition

int onload_socket_nonaccel(int domain int type, int protocol)

Formal Parameters

This function takes arguments and returns values that correspond exactly to the standard socket() function call.

Return Value

Return the file descriptor that refers to the created endpoint.

-1 with errno ENOSYS if the Onload extensions library is not in use.