TAS
TCP Acceleration as an OS Service
|
Handling application context kernel queues. More...
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <tas.h>
#include "internal.h"
#include "appif.h"
Go to the source code of this file.
Functions | |
static int | kin_conn_open (struct application *app, struct app_context *ctx, volatile struct kernel_appout *kin, volatile struct kernel_appin *kout) |
static int | kin_conn_move (struct application *app, struct app_context *ctx, volatile struct kernel_appout *kin, volatile struct kernel_appin *kout) |
static int | kin_conn_close (struct application *app, struct app_context *ctx, volatile struct kernel_appout *kin, volatile struct kernel_appin *kout) |
static int | kin_listen_open (struct application *app, struct app_context *ctx, volatile struct kernel_appout *kin, volatile struct kernel_appin *kout) |
static int | kin_accept_conn (struct application *app, struct app_context *ctx, volatile struct kernel_appout *kin, volatile struct kernel_appin *kout) |
static int | kin_req_scale (struct application *app, struct app_context *ctx, volatile struct kernel_appout *kin, volatile struct kernel_appin *kout) |
static void | appif_ctx_kick (struct app_context *ctx) |
void | appif_conn_opened (struct connection *c, int status) |
void | appif_conn_closed (struct connection *c, int status) |
void | appif_listen_newconn (struct listener *l, uint32_t remote_ip, uint16_t remote_port) |
void | appif_accept_conn (struct connection *c, int status) |
unsigned | appif_ctx_poll (struct application *app, struct app_context *ctx) |
int | flexnic_scale_to (uint32_t cores) |
Handling application context kernel queues.
Definition in file appif_ctx.c.
unsigned appif_ctx_poll | ( | struct application * | app, |
struct app_context * | ctx | ||
) |
Poll kernel->app context queue.
app | Application to poll |
ctx | Context to poll |
Definition at line 222 of file appif_ctx.c.