@@ -319,14 +319,6 @@ struct ff_config {
319319 } kni ;
320320
321321 struct {
322- /* Kernel-stack coexistence capability switch (per process):
323- * 0 = disabled (default): pure F-Stack, every socket uses the
324- * F-Stack user-space stack.
325- * 1 = enabled: a socket created with an explicit SOCK_KERNEL marker
326- * (and without SOCK_FSTACK) additionally uses the host Linux
327- * kernel stack, coexisting with F-Stack in the same process.
328- * The default per-fd semantics stay F-Stack; this switch never makes
329- * the whole process default to the kernel stack. */
330322 int kernel_coexist ;
331323 } stack ;
332324
@@ -362,18 +354,6 @@ int ff_load_config(int argc, char * const argv[]);
362354 * (config.ini [stack] kernel_coexist=1). */
363355int ff_kernel_coexist_enabled (void );
364356
365- /*
366- * Free every heap-allocated field referenced by ff_global_cfg (port_cfgs,
367- * vlan_cfgs, vdev_cfgs, bond_cfgs, rss_check_cfgs, freebsd.boot/sysctl
368- * linked lists, dpdk_argv[], filename, etc.) and zero the structure so a
369- * subsequent ff_load_config() call starts from a clean slate.
370- *
371- * Registered via atexit() at the end of the first successful
372- * ff_load_config(), and also invoked at the start of any later
373- * ff_load_config() to make the loader idempotent (FU-S2-2-CFG-UNLOAD).
374- *
375- * Safe to call multiple times; calling on an already-zeroed cfg is a no-op.
376- */
377357void ff_unload_config (void );
378358
379359#ifdef __cplusplus
0 commit comments