Home
last modified time | relevance | path

Searched refs:rte_kni (Results 1 – 25 of 25) sorted by relevance

/f-stack/dpdk/lib/librte_kni/
H A Drte_kni.h31 struct rte_kni;
120 struct rte_kni *rte_kni_alloc(struct rte_mempool *pktmbuf_pool,
137 int rte_kni_release(struct rte_kni *kni);
151 int rte_kni_handle_request(struct rte_kni *kni);
169 unsigned rte_kni_rx_burst(struct rte_kni *kni, struct rte_mbuf **mbufs,
188 unsigned rte_kni_tx_burst(struct rte_kni *kni, struct rte_mbuf **mbufs,
201 struct rte_kni *rte_kni_get(const char *name);
211 const char *rte_kni_get_name(const struct rte_kni *kni);
226 int rte_kni_register_handlers(struct rte_kni *kni, struct rte_kni_ops *ops);
238 int rte_kni_unregister_handlers(struct rte_kni *kni);
[all …]
H A Drte_kni.c58 struct rte_kni { struct
121 static struct rte_kni *
124 struct rte_kni *kni; in __rte_kni_get()
143 kni_reserve_mz(struct rte_kni *kni) in kni_reserve_mz()
201 kni_release_mz(struct rte_kni *kni) in kni_release_mz()
212 struct rte_kni *
219 struct rte_kni *kni; in rte_kni_alloc()
404 rte_kni_release(struct rte_kni *kni) in rte_kni_release()
636 kni_free_mbufs(struct rte_kni *kni) in kni_free_mbufs()
704 struct rte_kni *
[all …]
H A Dmeson.build8 sources = files('rte_kni.c')
9 headers = files('rte_kni.h', 'rte_kni_common.h')
/f-stack/dpdk/lib/librte_port/
H A Drte_port_kni.h31 struct rte_kni *kni;
41 struct rte_kni *kni;
52 struct rte_kni *kni;
H A Drte_port_kni.c33 struct rte_kni *kni;
127 struct rte_kni *kni;
304 struct rte_kni *kni;
/f-stack/dpdk/doc/guides/prog_guide/
H A Dkernel_nic_interface.rst32 The KNI kernel loadable module ``rte_kni`` provides the kernel interface
35 When the ``rte_kni`` module is loaded, it will create a device ``/dev/kni``
39 The ``rte_kni`` kernel module contains several optional parameters which
44 # modinfo rte_kni.ko
60 Loading the ``rte_kni`` kernel module without any optional parameters is
68 # insmod <build_dir>/kernel/linux/kni/rte_kni.ko
99 To provide flexibility of performance, the ``rte_kni`` KNI kernel module
143 The default carrier state of KNI interfaces created by the ``rte_kni``
166 # insmod <build_dir>/kernel/linux/kni/rte_kni.ko carrier=on
172 # insmod <build_dir>/kernel/linux/kni/rte_kni.ko carrier=off
[all …]
/f-stack/dpdk/kernel/linux/kni/
H A DKbuild5 obj-m := rte_kni.o
6 rte_kni-y := $(patsubst $(src)/%.c,%.o,$(wildcard $(src)/*.c))
H A Dmeson.build13 custom_target('rte_kni', custom
15 output: 'rte_kni.ko',
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dkernel_nic_interface.rst35 KNI kernel module ``rte_kni`` be loaded into the kernel. See
37 the ``rte_kni`` kernel module.
74 If link monitoring is not enabled, the ``rte_kni`` kernel module should be
135 cores are used to pin the kernel threads in the ``rte_kni`` kernel module.
150 ``port``. If the ``rte_kni`` kernel module is loaded in :ref:`multiple
160 The following commands will first load the ``rte_kni`` kernel module in
170 # rmmod rte_kni
188 # rmmod rte_kni
193 test application and the ``rte_kni`` kernel module. In this example,
194 the ``rte_kni`` kernel module is loaded in :ref:`single kernel thread
[all …]
/f-stack/dpdk/examples/ip_pipeline/
H A Dkni.h21 struct rte_kni *k;
H A Dkni.c109 struct rte_kni *k; in kni_create()
/f-stack/dpdk/app/test/
H A Dtest_kni.c89 static struct rte_kni *test_kni_ctx;
312 struct rte_kni *kni = rte_kni_get(TEST_KNI_PORT); in test_kni_register_handler_mp()
425 struct rte_kni *kni; in test_kni_processing()
543 struct rte_kni *kni; in test_kni()
/f-stack/dpdk/drivers/net/kni/
H A Drte_eth_kni.c49 struct rte_kni *kni;
80 struct rte_kni *kni = kni_q->internals->kni; in eth_kni_rx()
97 struct rte_kni *kni = kni_q->internals->kni; in eth_kni_tx()
/f-stack/doc/
H A DLaunch_F-Stack_on_AWS_EC2_in_one_minute.md29 insmod build/kernel/linux/kni/rte_kni.ko carrier=on
94 echo 1 > /sys/class/net/veth0/carrier # if `carrier=on` not set while `insmod rte_kni.ko`.
H A DF-Stack_Quick_Start_Guide.md48 insmod /data/f-stack/dpdk/build/kernel/linux/kni/rte_kni.ko carrier=on
H A DF-Stack_Binary_Release_Quick_Start.md48 | | | | | +-- rte_kni.ko
/f-stack/dpdk/doc/guides/nics/
H A Dkni.rst86 If KNI kernel module (rte_kni.ko) not inserted, following error log printed::
100 insmod <build_dir>/kernel/linux/kni/rte_kni.ko lo_mode=lo_mode_fifo_skb
H A Dvirtio.rst104 insmod rte_kni.ko
/f-stack/dpdk/examples/ip_pipeline/examples/
H A Dkni.cli18 ; [Linux]$ insmod rte_kni.ko
/f-stack/dpdk/examples/kni/
H A Dmain.c89 struct rte_kni *kni[KNI_MAX_KTHREAD]; /* KNI context pointers */
715 log_link_state(struct rte_kni *kni, int prev, struct rte_eth_link *link) in log_link_state()
944 struct rte_kni *kni; in kni_alloc()
/f-stack/
H A DREADME.md69 …insmod /data/f-stack/dpdk/build/kernel/linux/kni/rte_kni.ko carrier=on # carrier=on is necessary, …
129 echo 1 > /sys/class/net/veth0/carrier # if `carrier=on` not set while `insmod rte_kni.ko`
/f-stack/dpdk/doc/api/
H A Ddoxy-api-index.md43 [KNI] (@ref rte_kni.h),
/f-stack/lib/
H A Dff_dpdk_kni.c66 struct rte_kni *kni;
/f-stack/dpdk/doc/guides/linux_gsg/
H A Denable_func.rst162 insmod <build_dir>/kernel/linux/kni/rte_kni.ko
/f-stack/dpdk/doc/guides/rel_notes/
H A Drelease_18_11.rst306 * **Updated KNI kernel module, rte_kni library, and KNI sample application.**