id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
lexgrog(1) | NAME lexgrog - parse header information in man pages
SYNOPSIS lexgrog [-m|-c] [-dfw?V] [-E encoding] file ...
DESCRIPTION lexgrog is an implementation of the traditional “groff guess” utility in lex. It reads the list of files on its command line as either man page source files or preformatted “cat” pages, and di... |
lfind(3) | NAME lfind, lsearch - linear search of an array
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <search.h>
void *lfind(size_t *n, size_t size;
const void key[size],
const void base[*n * size],
size_t *n, size_t size,
typeof(i... |
lfind(3p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME lfind — find entry in a linear search table
SYNOPSIS #include ... |
lgamma(3) | NAME lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam - log gamma function
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double lgamma(double x);
float lgammaf(float x);
long double lgammal(long double x);
double lgamma_r(double x, int *signp);
float... |
lgamma(3p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME lgamma, lgammaf, lgammal, signgam — log gamma function
SYNOPSI... |
lgamma_r(3) | NAME lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam - log gamma function
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double lgamma(double x);
float lgammaf(float x);
long double lgammal(long double x);
double lgamma_r(double x, int *signp);
float... |
lgammaf(3) | NAME lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam - log gamma function
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double lgamma(double x);
float lgammaf(float x);
long double lgammal(long double x);
double lgamma_r(double x, int *signp);
float... |
lgammaf_r(3) | NAME lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam - log gamma function
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double lgamma(double x);
float lgammaf(float x);
long double lgammal(long double x);
double lgamma_r(double x, int *signp);
float... |
lgammal(3) | NAME lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam - log gamma function
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double lgamma(double x);
float lgammaf(float x);
long double lgammal(long double x);
double lgamma_r(double x, int *signp);
float... |
lgammal_r(3) | NAME lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam - log gamma function
LIBRARY Math library (libm, -lm)
SYNOPSIS #include <math.h>
double lgamma(double x);
float lgammaf(float x);
long double lgammal(long double x);
double lgamma_r(double x, int *signp);
float... |
lgetxattr(2) | NAME getxattr, lgetxattr, fgetxattr - retrieve an extended attribute value
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <sys/xattr.h>
ssize_t getxattr(size_t size;
const char *path, const char *name,
void value[size], size_t size);
ssize_t lge... |
lh_TYPE_delete.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_doall.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_doall_arg.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_error.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_flush.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_free.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_get_down_load.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_insert.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_new.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_num_items.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_retrieve.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_TYPE_set_down_load.3ssl(3) | NAME LHASH, LHASH_OF, DEFINE_LHASH_OF_EX, DEFINE_LHASH_OF, OPENSSL_LH_COMPFUNC, OPENSSL_LH_HASHFUNC, OPENSSL_LH_DOALL_FUNC, LHASH_DOALL_ARG_FN_TYPE, IMPLEMENT_LHASH_HASH_FN, IMPLEMENT_LHASH_COMP_FN, lh_TYPE_new, lh_TYPE_free, lh_TYPE_flush, lh_TYPE_insert, lh_TYPE_delete, lh_TYPE_retrieve, lh_TYPE_doall, lh_TYPE_doall_... |
lh_new(3) | NAME lh_new, lh_free, lh_insert, lh_delete, lh_retrieve, lh_doall, lh_doall_arg, lh_error, LHASH_COMP_FN_TYPE, LHASH_HASH_FN_TYPE, LHASH_DOALL_FN_TYPE, LHASH_DOALL_ARG_FN_TYPE, lh_strhash — dynamic hash table
SYNOPSIS library “libcrypto” #include <openssl/lhash.h>
DECLARE_LHASH_OF(<type>);
LHASH *
... |
libavcodec(3) | doc::libavcodec(3) doc::libavcodec(3)
NAME libavcodec - media streams decoding and encoding library
DESCRIPTION ... |
libavdevice(3) | doc::libavdevice(3) doc::libavdevice(3)
NAME libavdevice - multimedia device handling library
DESCRIPTION The liba... |
libavfilter(3) | doc::libavfilter(3) doc::libavfilter(3)
NAME libavfilter - multimedia filtering library
DESCRIPTION The libavfilte... |
libavformat(3) | doc::libavformat(3) doc::libavformat(3)
NAME libavformat - multimedia muxing and demuxing library
DESCRIPTION The ... |
libavutil(3) | doc::libavutil(3) doc::libavutil(3)
NAME libavutil - multimedia-biased utility library
DESCRIPTION The libavut... |
libblkid(3) | NAME libblkid - block device identification library
SYNOPSIS #include <blkid.h>
cc file.c -lblkid
DESCRIPTION The libblkid library is used to identify block devices (disks) as to their content (e.g., filesystem type) as well as extracting additional information such as filesystem labels/volume names, unique i... |
libbpf_nla_data(9) | NAME libbpf_nla_data - head of payload
SYNOPSIS void * libbpf_nla_data (const struct nlattr *nla );
ARGUMENTS nla netlink attribute
SEE ALSO Kernel file ./tools/lib/bpf/nlattr.h libbpf_nla_len(9)
April 2026 libbp... |
libbpf_nla_len(9) | NAME libbpf_nla_len - length of payload
SYNOPSIS int libbpf_nla_len (const struct nlattr *nla );
ARGUMENTS nla netlink attribute
SEE ALSO Kernel file ./tools/lib/bpf/nlattr.h libbpf_nla_data(9)
April 2026 libbpf_... |
libc(7) | NAME libc - overview of standard C libraries on Linux
DESCRIPTION The term “libc” is commonly used as a shorthand for the “standard C library” a library of standard functions that can be used by all C programs (and sometimes by programs in other languages). Because of some history (see below), use of the term “libc” ... |
libcap(3) | NAME cap_clear, cap_clear_flag, cap_compare, cap_copy_ext, cap_copy_int, cap_drop_bound, cap_dup, cap_fill, cap_fill_flag, cap_free, cap_from_name, cap_from_text, cap_get_ambient, cap_get_bound, cap_get_fd, cap_get_file, cap_get_flag, cap_get_mode, cap_get_nsowner, cap_get_pid, cap_get_pid, cap_get_proc, cap_get... |
libeth_cacheline_group_assert(9) | NAME libeth_cacheline_group_assert - make sure cacheline group size is expected
SYNOPSIS libeth_cacheline_group_assert (type , grp , sz );
ARGUMENTS type type of the structure containing the group
grp group name inside the struct
sz expected group size
SEE ALSO Kernel file ./i... |
libeth_cacheline_set_assert(9) | NAME libeth_cacheline_set_assert - make sure CL-based struct layout is expected
SYNOPSIS libeth_cacheline_set_assert (type , ro , rw , c );
ARGUMENTS type type of the struct
ro expected size of the read-mostly group
rw expected size of the read-write group
c ... |
libeth_cacheline_struct_assert(9) | NAME libeth_cacheline_struct_assert - make sure CL-based struct size is expected
SYNOPSIS libeth_cacheline_struct_assert (type , ... );
ARGUMENTS type type of the struct
... from 1 to 3 CL group sizes (read-mostly, read-write, cold)
DESCRIPTION When a struct contains several CL groups, it's di... |
libeth_rx_alloc(9) | NAME libeth_rx_alloc - allocate a new Rx buffer
SYNOPSIS dma_addr_t libeth_rx_alloc (const struct libeth_fq_fp *fq , u32 i );
ARGUMENTS fq fill queue to allocate for
i index of the buffer within the queue
RETURN DMA address to be passed to HW for Rx on successful allocation, “`DMA_MAPPING_... |
libeth_rx_fq_create(9) | NAME libeth_rx_fq_create - create a PP with the default libeth settings
SYNOPSIS int libeth_rx_fq_create (struct libeth_fq *fq , struct napi_struct *napi );
ARGUMENTS fq buffer queue struct to fill
napi napi_struct covering this PP (no usage outside its poll loops)
RETURN 0 on success, -errno... |
libeth_rx_fq_destroy(9) | NAME libeth_rx_fq_destroy - destroy a &page_pool created by libeth
SYNOPSIS void libeth_rx_fq_destroy (struct libeth_fq *fq );
ARGUMENTS fq buffer queue to process
SEE ALSO Kernel file ./drivers/net/ethernet/intel/libeth/rx.c libeth_rx_hw_len_mtu(9), libeth_rx_hw_len_truesize(9), libeth_rx_page_pool_p... |
libeth_rx_hw_len_mtu(9) | NAME libeth_rx_hw_len_mtu - get the actual buffer size to be passed to HW
SYNOPSIS u32 libeth_rx_hw_len_mtu (const struct page_pool_params *pp , u32 max_len );
ARGUMENTS pp page_pool_params of the netdev to calculate the size for
max_len maximum buffer size for a single descriptor
RETURN HW-writ... |
libeth_rx_hw_len_truesize(9) | NAME libeth_rx_hw_len_truesize - get the short buffer size to be passed to HW
SYNOPSIS u32 libeth_rx_hw_len_truesize (const struct page_pool_params *pp , u32 max_len , u32 truesize );
ARGUMENTS pp page_pool_params of the netdev to calculate the size for
max_len maximum buffer size for a single de... |
libeth_rx_page_pool_params(9) | NAME libeth_rx_page_pool_params - calculate params with the stack overhead
SYNOPSIS bool libeth_rx_page_pool_params (struct libeth_fq *fq , struct page_pool_params *pp );
ARGUMENTS fq buffer queue to calculate the size for
pp page_pool_params of the netdev
DESCRIPTION Set the PP params to w... |
libeth_rx_page_pool_params_zc(9) | NAME libeth_rx_page_pool_params_zc - calculate params without the stack overhead
SYNOPSIS bool libeth_rx_page_pool_params_zc (struct libeth_fq *fq , struct page_pool_params *pp );
ARGUMENTS fq buffer queue to calculate the size for
pp page_pool_params of the netdev
DESCRIPTION Set the PP p... |
libeth_rx_pt_gen_hash_type(9) | NAME libeth_rx_pt_gen_hash_type - generate an XDP RSS hash type for a PT
SYNOPSIS void libeth_rx_pt_gen_hash_type (struct libeth_rx_pt *pt );
ARGUMENTS pt PT structure to evaluate
DESCRIPTION Generates “`hash_type“` field with XDP RSS type values from the parsed packet parameters if they're obtained dynamic... |
libeth_rx_pt_get_ip_ver(9) | NAME libeth_rx_pt_get_ip_ver - get IP version from a packet type structure
SYNOPSIS u32 libeth_rx_pt_get_ip_ver (struct libeth_rx_pt pt );
ARGUMENTS pt packet type params
DESCRIPTION Wrapper to compile out the IPv6 code from the drivers when not supported by the kernel.
RETURN pt.outer_ip or stub for IPv6 ... |
libeth_rx_pt_set_hash(9) | NAME libeth_rx_pt_set_hash - fill in skb hash value basing on the PT
SYNOPSIS void libeth_rx_pt_set_hash (struct sk_buff *skb , u32 hash , struct libeth_rx_pt pt );
ARGUMENTS skb skb to fill the hash in
hash 32-bit hash value from the descriptor
pt packet type
SEE ALSO Kernel ... |
libeth_rx_recycle_slow(9) | NAME libeth_rx_recycle_slow - recycle libeth netmem
SYNOPSIS void __cold libeth_rx_recycle_slow (netmem_ref netmem );
ARGUMENTS netmem network memory to recycle
DESCRIPTION To be used on exceptions or rare cases not requiring fast inline recycling.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/libeth/rx.c ... |
libeth_rx_sync_for_cpu(9) | NAME libeth_rx_sync_for_cpu - synchronize or recycle buffer post DMA
SYNOPSIS bool libeth_rx_sync_for_cpu (const struct libeth_fqe *fqe , u32 len );
ARGUMENTS fqe buffer to process
len frame length from the descriptor
DESCRIPTION Process the buffer after it's written by HW. The regular path i... |
libeth_tx_complete(9) | NAME libeth_tx_complete - perform Tx completion for one SQE
SYNOPSIS void libeth_tx_complete (struct libeth_sqe *sqe , const struct libeth_cq_pp *cp );
ARGUMENTS sqe SQE to complete
cp poll params
DESCRIPTION Do Tx complete for all the types of buffers, incl. freeing, unmapping, updating the... |
libeth_tx_complete_any(9) | NAME libeth_tx_complete_any - perform Tx completion for one SQE of any type
SYNOPSIS void libeth_tx_complete_any (struct libeth_sqe *sqe , struct libeth_cq_pp *cp );
ARGUMENTS sqe Tx buffer to complete
cp polling params
DESCRIPTION Can be used to complete both regular and XDP SQEs, for examp... |
libeth_xdp_buff_add_frag(9) | NAME libeth_xdp_buff_add_frag - add frag to XDP buffer
SYNOPSIS bool libeth_xdp_buff_add_frag (struct libeth_xdp_buff *xdp , const struct libeth_fqe *fqe , u32 len );
ARGUMENTS xdp head XDP buffer
fqe Rx buffer containing the frag
len frag length reported by HW
DESCRIPTION Ext... |
libeth_xdp_buff_stats_frags(9) | NAME libeth_xdp_buff_stats_frags - update onstack RQ stats with XDP frags info
SYNOPSIS void libeth_xdp_buff_stats_frags (struct libeth_rq_napi_stats *ss , const struct libeth_xdp_buff *xdp );
ARGUMENTS ss onstack stats to update
xdp buffer to account
DESCRIPTION Internal helper used by __li... |
libeth_xdp_buff_to_rq(9) | NAME libeth_xdp_buff_to_rq - get RQ pointer from an XDP buffer pointer
SYNOPSIS libeth_xdp_buff_to_rq (xdp , type , member );
ARGUMENTS xdp libeth_xdp_buff corresponding to the queue
type typeof of the driver Rx queue structure
member name of xdp_rxq_info inside type
DESCRIPTION O... |
libeth_xdp_finalize_rx(9) | NAME libeth_xdp_finalize_rx - finalize XDPSQ after a NAPI polling loop (non-XSk)
SYNOPSIS libeth_xdp_finalize_rx (bq , flush , finalize );
ARGUMENTS bq “XDP_TX“ frame bulk
flush driver callback to flush the bulk
finalize driver callback to start sending the frames and run the timer
... |
libeth_xdp_init_buff(9) | NAME libeth_xdp_init_buff - initialize a &libeth_xdp_buff for Rx NAPI poll
SYNOPSIS void libeth_xdp_init_buff (struct libeth_xdp_buff *dst , const struct libeth_xdp_buff_stash *src , struct xdp_rxq_info *rxq );
ARGUMENTS dst onstack buffer to initialize
src XDP buffer stash placed on the queue... |
libeth_xdp_load_stash(9) | NAME libeth_xdp_load_stash - recreate an &xdp_buff from libeth_xdp buffer stash
SYNOPSIS void libeth_xdp_load_stash (struct libeth_xdp_buff *dst , const struct libeth_xdp_buff_stash *src );
ARGUMENTS dst target libeth_xdp_buff to initialize
src source stash
DESCRIPTION External helper used by... |
libeth_xdp_prepare_buff(9) | NAME libeth_xdp_prepare_buff - fill &libeth_xdp_buff with head FQE data
SYNOPSIS void libeth_xdp_prepare_buff (struct libeth_xdp_buff *xdp , const struct libeth_fqe *fqe , u32 len );
ARGUMENTS xdp XDP buffer to attach the head to
fqe FQE containing the head buffer
len buffer le... |
libeth_xdp_priv_to_ptr(9) | NAME libeth_xdp_priv_to_ptr - convert libeth_xdp u64 priv to a pointer
SYNOPSIS libeth_xdp_priv_to_ptr (priv );
ARGUMENTS priv private data to convert
DESCRIPTION The main sending function passes private data as the largest scalar, u64. Use this helper when your callback takes this u64 and you want to conver... |
libeth_xdp_process_buff(9) | NAME libeth_xdp_process_buff - attach Rx buffer to &libeth_xdp_buff
SYNOPSIS bool libeth_xdp_process_buff (struct libeth_xdp_buff *xdp , const struct libeth_fqe *fqe , u32 len );
ARGUMENTS xdp XDP buffer to attach the Rx buffer to
fqe Rx buffer to process
len received data leng... |
libeth_xdp_prog_exception(9) | NAME libeth_xdp_prog_exception - handle XDP prog exceptions
SYNOPSIS u32 __cold libeth_xdp_prog_exception (const struct libeth_xdp_tx_bulk *bq , struct libeth_xdp_buff *xdp , enum xdp_action act , int ret );
ARGUMENTS bq XDP Tx bulk
xdp buffer to process
act original XDP prog ... |
libeth_xdp_ptr_to_priv(9) | NAME libeth_xdp_ptr_to_priv - convert pointer to a libeth_xdp u64 priv
SYNOPSIS libeth_xdp_ptr_to_priv (ptr );
ARGUMENTS ptr pointer to convert
DESCRIPTION The main sending function passes private data as the largest scalar, u64. Use this helper when you want to pass a pointer there.
SEE ALSO Kernel file ... |
libeth_xdp_queue_threshold(9) | NAME libeth_xdp_queue_threshold - calculate XDP queue clean/refill threshold
SYNOPSIS u32 libeth_xdp_queue_threshold (u32 count );
ARGUMENTS count number of descriptors in the queue
DESCRIPTION The threshold is the limit at which RQs start to refill (when the number of empty buffers exceeds it) and SQs get c... |
libeth_xdp_return_buff(9) | NAME libeth_xdp_return_buff - free/recycle &libeth_xdp_buff
SYNOPSIS libeth_xdp_return_buff (xdp );
ARGUMENTS xdp buffer to free
DESCRIPTION Hotpath helper to free libeth_xdp_buff. Comparing to xdp_return_buff, it's faster as it gets inlined and always assumes order-0 pages and safe direct recycling. Zeroes ... |
libeth_xdp_return_buff_bulk(9) | NAME libeth_xdp_return_buff_bulk - free &xdp_buff as part of a bulk
SYNOPSIS void libeth_xdp_return_buff_bulk (const struct skb_shared_info *sinfo , struct xdp_frame_bulk *bq , bool frags );
ARGUMENTS sinfo shared info corresponding to the buffer
bq XDP frame bulk to store the buffer
fr... |
libeth_xdp_return_buff_slow(9) | NAME libeth_xdp_return_buff_slow - free &libeth_xdp_buff
SYNOPSIS void __cold libeth_xdp_return_buff_slow (struct libeth_xdp_buff *xdp );
ARGUMENTS xdp buffer to free/return
DESCRIPTION Slowpath version of libeth_xdp_return_buff to be called on exceptions, queue clean-ups etc., without unwanted inlining.
SE... |
libeth_xdp_return_stash(9) | NAME libeth_xdp_return_stash - free an XDP buffer stash from a queue
SYNOPSIS void libeth_xdp_return_stash (struct libeth_xdp_buff_stash *stash );
ARGUMENTS stash stash to free
DESCRIPTION If the queue is about to be destroyed, but it still has an incompleted buffer stash, this helper should be called to free ... |
libeth_xdp_run_pass(9) | NAME libeth_xdp_run_pass - helper to run XDP program and handle the result
SYNOPSIS libeth_xdp_run_pass (xdp , bq , napi , ss , desc , run , populate );
ARGUMENTS xdp XDP buffer to process
bq XDP Tx bulk to queue “XDP_TX“ frames
napi NAPI to build an skb and pass it up the stac... |
libeth_xdp_run_prog(9) | NAME libeth_xdp_run_prog - run XDP program (non-XSk path) and handle all verdicts
SYNOPSIS libeth_xdp_run_prog (xdp , bq , fl );
ARGUMENTS xdp XDP buffer to process
bq XDP Tx bulk to queue “XDP_TX“ buffers
fl driver “XDP_TX“ bulk flush callback
DESCRIPTION Run the attached X... |
libeth_xdp_save_buff(9) | NAME libeth_xdp_save_buff - save a partially built buffer on a queue
SYNOPSIS void libeth_xdp_save_buff (struct libeth_xdp_buff_stash *dst , const struct libeth_xdp_buff *src );
ARGUMENTS dst XDP buffer stash placed on the queue
src onstack buffer to save
DESCRIPTION Should be called after th... |
libeth_xdp_save_stash(9) | NAME libeth_xdp_save_stash - convert &xdp_buff to a libeth_xdp buffer stash
SYNOPSIS void libeth_xdp_save_stash (struct libeth_xdp_buff_stash *dst , const struct libeth_xdp_buff *src );
ARGUMENTS dst target libeth_xdp_buff_stash to initialize
src source XDP buffer
DESCRIPTION External helper ... |
libeth_xdp_set_features(9) | NAME libeth_xdp_set_features - set XDP features for netdev
SYNOPSIS libeth_xdp_set_features (dev , ... );
ARGUMENTS dev net_device to configure
... optional params, see __libeth_xdp_set_features
DESCRIPTION Set all the features libeth_xdp supports, including .ndo_xdp_xmit. That said, it shoul... |
libeth_xdp_set_features_noredir(9) | NAME libeth_xdp_set_features_noredir - enable all libeth_xdp features w/o redir
SYNOPSIS libeth_xdp_set_features_noredir (dev , ... );
ARGUMENTS dev target net_device
... optional params, see __libeth_xdp_set_features
DESCRIPTION Enable everything except the .ndo_xdp_xmit feature, use when XD... |
libeth_xdp_set_redirect(9) | NAME libeth_xdp_set_redirect - toggle the XDP redirect feature
SYNOPSIS void libeth_xdp_set_redirect (struct net_device *dev , bool enable );
ARGUMENTS dev net_device to configure
enable whether XDP is enabled
DESCRIPTION Use this when XDPSQs are not always available to dynamically enable and di... |
libeth_xdp_tx_exception(9) | NAME libeth_xdp_tx_exception - handle Tx exceptions of XDP frames
SYNOPSIS void __cold libeth_xdp_tx_exception (struct libeth_xdp_tx_bulk *bq , u32 sent , u32 flags );
ARGUMENTS bq XDP Tx frame bulk
sent number of frames sent successfully (from this bulk)
flags internal libeth_xd... |
libeth_xdp_tx_fill_buf(9) | NAME libeth_xdp_tx_fill_buf - internal helper to fill one “XDP_TX“ &libeth_sqe
SYNOPSIS struct libeth_xdp_tx_desc libeth_xdp_tx_fill_buf (struct libeth_xdp_tx_frame frm , u32 i , const struct libeth_xdpsq *sq , u64 priv );
ARGUMENTS frm XDP Tx frame from the bulk
i index on the HW queue
... |
libeth_xdp_tx_fill_stats(9) | NAME libeth_xdp_tx_fill_stats - fill &libeth_sqe with “XDP_TX“ frame stats
SYNOPSIS libeth_xdp_tx_fill_stats (sqe , desc , sinfo );
ARGUMENTS sqe SQ element to fill
desc libeth_xdp Tx descriptor
sinfo skb_shared_info for this frame
DESCRIPTION Internal helper for filling an SQE w... |
libeth_xdp_tx_flush_bulk(9) | NAME libeth_xdp_tx_flush_bulk - wrapper to define flush of one “XDP_TX“ bulk
SYNOPSIS libeth_xdp_tx_flush_bulk (bq , flags , prep , xmit );
ARGUMENTS bq bulk to flush
flags Tx flags, see above
prep driver callback to prepare the queue
xmit driver callback to fill a... |
libeth_xdp_tx_init_bulk(9) | NAME libeth_xdp_tx_init_bulk - initialize an XDP Tx bulk for Rx NAPI poll
SYNOPSIS libeth_xdp_tx_init_bulk (bq , prog , dev , xdpsqs , num );
ARGUMENTS bq bulk to initialize
prog RCU pointer to the XDP program (can be NULL)
dev target net_device
xdpsqs array of dri... |
libeth_xdp_tx_queue_bulk(9) | NAME libeth_xdp_tx_queue_bulk - internal helper for queueing one “XDP_TX“ frame
SYNOPSIS bool libeth_xdp_tx_queue_bulk (struct libeth_xdp_tx_bulk *bq , struct libeth_xdp_buff *xdp , bool (*flush_bulk)(struct libeth_xdp_tx_bulk *bq, u32 flags) );
ARGUMENTS bq XDP Tx bulk to queue the frame to
xdp ... |
libeth_xdp_tx_queue_frag(9) | NAME libeth_xdp_tx_queue_frag - internal helper for queueing one “XDP_TX“ frag
SYNOPSIS void libeth_xdp_tx_queue_frag (struct libeth_xdp_tx_bulk *bq , const skb_frag_t *frag );
ARGUMENTS bq XDP Tx bulk to queue the frag to
frag frag to queue
SEE ALSO Kernel file ./include/net/libeth/xdp.h ... |
libeth_xdp_tx_queue_head(9) | NAME libeth_xdp_tx_queue_head - internal helper for queueing one “XDP_TX“ head
SYNOPSIS bool libeth_xdp_tx_queue_head (struct libeth_xdp_tx_bulk *bq , const struct libeth_xdp_buff *xdp );
ARGUMENTS bq XDP Tx bulk to queue the head frag to
xdp XDP buffer with the head to queue
RETURN false if... |
libeth_xdp_tx_xmit_bulk(9) | NAME libeth_xdp_tx_xmit_bulk - main XDP Tx function
SYNOPSIS __nocfi_generic u32 libeth_xdp_tx_xmit_bulk (const struct libeth_xdp_tx_frame *bulk , void *xdpsq , u32 n , bool unroll , u64 priv , u32 (*prep)(void *xdpsq, struct libeth_xdpsq *sq) , struct libeth_xdp_tx_desc (*fill)(struct li‐ beth_xdp_tx_frame frm... |
libeth_xdp_xmit_do_bulk(9) | NAME libeth_xdp_xmit_do_bulk - implement full .ndo_xdp_xmit() in driver
SYNOPSIS libeth_xdp_xmit_do_bulk (dev , n , fr , f , xqs , nqs , fl , fin );
ARGUMENTS dev target net_device
n number of frames to send
fr XDP frames to send
f flags passed by the stack... |
libeth_xdp_xmit_fill_buf(9) | NAME libeth_xdp_xmit_fill_buf - internal helper to fill one XDP xmit &libeth_sqe
SYNOPSIS struct libeth_xdp_tx_desc libeth_xdp_xmit_fill_buf (struct libeth_xdp_tx_frame frm , u32 i , const struct libeth_xdpsq *sq , u64 priv );
ARGUMENTS frm XDP Tx frame from the bulk
i index on the HW queue
... |
libeth_xdp_xmit_flush_bulk(9) | NAME libeth_xdp_xmit_flush_bulk - wrapper to define flush of one XDP xmit bulk
SYNOPSIS libeth_xdp_xmit_flush_bulk (bq , flags , prep , xmit );
ARGUMENTS bq bulk to flush
flags Tx flags, see __libeth_xdp_tx_flush_bulk
prep driver callback to prepare the queue
xmit ... |
libeth_xdp_xmit_frame_dma(9) | NAME libeth_xdp_xmit_frame_dma - internal helper to access DMA of an &xdp_frame
SYNOPSIS libeth_xdp_xmit_frame_dma (xf );
ARGUMENTS xf pointer to the XDP frame
DESCRIPTION There's no place in libeth_xdp_tx_frame to store DMA address for an xdp_frame head. The headroom is used then, the address is placed rig... |
libeth_xdp_xmit_init_bulk(9) | NAME libeth_xdp_xmit_init_bulk - internal helper to initialize bulk for XDP xmit
SYNOPSIS libeth_xdp_xmit_init_bulk (bq , dev , xdpsqs , num );
ARGUMENTS bq bulk to initialize
dev target net_device
xdpsqs array of driver-specific XDPSQ structs
num number of active... |
libeth_xdp_xmit_queue_bulk(9) | NAME libeth_xdp_xmit_queue_bulk - internal helper for queueing one XDP xmit frame
SYNOPSIS u32 libeth_xdp_xmit_queue_bulk (struct libeth_xdp_tx_bulk *bq , struct xdp_frame *xdpf , bool (*flush_bulk)(struct libeth_xdp_tx_bulk *bq, u32 flags) );
ARGUMENTS bq XDP Tx bulk to queue the frame to
xdpf ... |
libeth_xdp_xmit_queue_frag(9) | NAME libeth_xdp_xmit_queue_frag - internal helper for queueing one XDP xmit frag
SYNOPSIS bool libeth_xdp_xmit_queue_frag (struct libeth_xdp_tx_bulk *bq , const skb_frag_t *frag , struct device *dev );
ARGUMENTS bq XDP Tx bulk to queue the frag to
frag frag to queue
dev device ... |
libeth_xdp_xmit_queue_head(9) | NAME libeth_xdp_xmit_queue_head - internal helper for queueing one XDP xmit head
SYNOPSIS u32 libeth_xdp_xmit_queue_head (struct libeth_xdp_tx_bulk *bq , struct xdp_frame *xdpf , struct device *dev );
ARGUMENTS bq XDP Tx bulk to queue the head frag to
xdpf XDP frame with the head to queue
... |
libeth_xdpmo_rx_hash(9) | NAME libeth_xdpmo_rx_hash - convert &libeth_rx_pt to an XDP RSS hash metadata
SYNOPSIS int libeth_xdpmo_rx_hash (u32 *hash , enum xdp_rss_hash_type *rss_type , u32 val , struct libeth_rx_pt pt );
ARGUMENTS hash pointer to the variable to write the hash to
rss_type pointer to the variable to write th... |
libeth_xdpsq_deinit_timer(9) | NAME libeth_xdpsq_deinit_timer - deinitialize &libeth_xdpsq_timer
SYNOPSIS void libeth_xdpsq_deinit_timer (struct libeth_xdpsq_timer *timer );
ARGUMENTS timer timer to deinitialize
DESCRIPTION Flush and disable the underlying workqueue.
SEE ALSO Kernel file ./include/net/libeth/xdp.h struct libeth_xdp_buf... |
libeth_xdpsq_get(9) | NAME libeth_xdpsq_get - initialize &libeth_xdpsq_lock
SYNOPSIS void libeth_xdpsq_get (struct libeth_xdpsq_lock *lock , const struct net_device *dev , bool share );
ARGUMENTS lock lock to initialize
dev netdev which this lock belongs to
share whether XDPSQs can be shared
DESCRIPTI... |
libeth_xdpsq_id(9) | NAME libeth_xdpsq_id - get XDPSQ index corresponding to this CPU
SYNOPSIS u32 libeth_xdpsq_id (u32 num );
ARGUMENTS num number of active XDPSQs
DESCRIPTION Helper for libeth_xdp routines, do not use in drivers directly.
RETURN XDPSQ index needs to be used on this CPU.
SEE ALSO Kernel file ./include/net/l... |
libeth_xdpsq_init_timer(9) | NAME libeth_xdpsq_init_timer - initialize an XDPSQ clean-up timer
SYNOPSIS void libeth_xdpsq_init_timer (struct libeth_xdpsq_timer *timer , void *xdpsq , struct libeth_xdpsq_lock *lock , void (*poll)(struct work_struct *work) );
ARGUMENTS timer timer to initialize
xdpsq queue this timer belongs to... |
libeth_xdpsq_lock(9) | NAME libeth_xdpsq_lock - grab &libeth_xdpsq_lock if needed
SYNOPSIS void libeth_xdpsq_lock (struct libeth_xdpsq_lock *lock );
ARGUMENTS lock lock to take
DESCRIPTION Touches the underlying spinlock only if the static key is enabled and the queue itself is marked as shareable.
SEE ALSO Kernel file ./include... |
libeth_xdpsq_num(9) | NAME libeth_xdpsq_num - calculate optimal number of XDPSQs for this device + sys
SYNOPSIS u32 libeth_xdpsq_num (u32 rxq , u32 txq , u32 max );
ARGUMENTS rxq current number of active Rx queues
txq current number of active Tx queues
max maximum number of Tx queues
DESCRIPTION Ea... |
libeth_xdpsq_put(9) | NAME libeth_xdpsq_put - deinitialize &libeth_xdpsq_lock
SYNOPSIS void libeth_xdpsq_put (struct libeth_xdpsq_lock *lock , const struct net_device *dev );
ARGUMENTS lock lock to deinitialize
dev netdev which this lock belongs to
DESCRIPTION Tracks the current XDPSQ association and disables the s... |
libeth_xdpsq_queue_timer(9) | NAME libeth_xdpsq_queue_timer - run &libeth_xdpsq_timer
SYNOPSIS void libeth_xdpsq_queue_timer (struct libeth_xdpsq_timer *timer );
ARGUMENTS timer timer to queue
DESCRIPTION Should be called after the queue was filled and the transmission was run to complete the pending buffers if no further sending will b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.