veth_pool_store(9)
πΈ veth_pool_store(9) β sysfs store handler for pool attributes π
okay so bestie, this page is straight out of the Kernel API Manual, and itβs lowkey all about storing values in pool attributes without breaking the vibe. iykyk. β¨
β¨ NAME β¨
veth_pool_storeβ sysfs store handler for pool attributes π«Ά
π¦ SYNOPSIS π¦
ssize_t veth_pool_store (struct kobject *kobj , struct attribute *attr ,
const char *buf , size_t count );
π ARGUMENTS π
kobjβ kobject embedded in pool πattrβ attribute being changed π«bufβ value being stored πcountβ length ofbufin bytes πΈ
π DESCRIPTION π
okay so this handler stores a new value in a pool attribute. it verifies the range of the new value for size and buff_size β like, make sure the numbers are actually behaving. it also verifies that at least one pool remains available to receive MTU-sized packets. no cap, that last check is the whole vibe check for your buffer pools. π
π₯
π§ CONTEXT π§
Process context, bestie. it takes and releases rtnl_mutex to ensure correct ordering of close and open calls. literally locking the group chat so the open/close gossip doesnβt get scrambled. π«Ά
π₯ RETURN π₯
-EPERMβ Not allowed to disabled all MTU-sized buffer pools π-EINVALβ New pool size or buffer size is out of range π«countβ Returncountfor success β- other β Return value from a failed
ibmveth_opencall π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/ibm/ibmveth.c β thatβs the main character file, fr fr. π
ibmveth_remove_buffer_from_pool(9), ibmveth_rxq_harvest_buffer(9), ibmveth_reset(9), ibmveth_get_desired_dma(9), ibmveth_reset_kunit(9), ibmveth_remove_buffer_from_pool_test(9), ibmveth_rxq_get_buffer_test(9) β¨
π source/version: ./drivers/net/ethernet/ibm Β· date: October 2026 β thatβs the cute little footer sign-off, bestie. periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms