onload_socket_rx_nonaccel - UG1586

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2025-11-03
Revision
1.31 English

Description

Create a socket where no filters will be installed and thus the receive path will be unaccelerated. The socket can still receive traffic, but it will be handled by the kernel.

If a tcp socket is requested (type == SOCK_STREAM) the socket will be handed over to the kernel.

Definition

int onload_socket_rx_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.