Home
last modified time | relevance | path

Searched refs:carrier (Results 1 – 5 of 5) sorted by relevance

/dpdk/doc/guides/prog_guide/
H A Dkernel_nic_interface.rst55 parm: carrier: Default carrier state for KNI interface (default=off):
153 The default carrier state of KNI interfaces created by the ``rte_kni``
154 kernel module is controlled via the ``carrier`` option when the module
157 If ``carrier=off`` is specified, the kernel module will leave the carrier
161 which require that the carrier state of the KNI interface reflect the
164 If ``carrier=on`` is specified, the kernel module will automatically set
172 To set the default carrier state to *on*:
176 # insmod <build_dir>/kernel/linux/kni/rte_kni.ko carrier=on
178 To set the default carrier state to *off*:
182 # insmod <build_dir>/kernel/linux/kni/rte_kni.ko carrier=off
[all …]
/dpdk/kernel/linux/kni/
H A Dkni_misc.c41 static char *carrier; variable
559 if (!carrier) { in kni_parse_carrier_state()
564 if (strcmp(carrier, "off") == 0) in kni_parse_carrier_state()
566 else if (strcmp(carrier, "on") == 0) in kni_parse_carrier_state()
689 module_param(carrier, charp, 0644);
690 MODULE_PARM_DESC(carrier,
/dpdk/doc/guides/sample_app_ug/
H A Dkernel_nic_interface.rst64 physical NIC port and will update the carrier status of the corresponding
70 such that the :ref:`default carrier state <kni_default_carrier_state>` is
75 loaded with the :ref:`default carrier state <kni_default_carrier_state>`
76 set to *on*. This sets the carrier state of the KNI interfaces to *on*
122 carrier state. With this option set, a thread will be started which
124 Ethernet ports and set the carrier state of the corresponding KNI
196 enabled, and the :ref:`default carrier state <kni_default_carrier_state>`
209 # insmod <build_dir>/kernel/linux/kni/rte_kni.ko lo_mode=lo_mode_fifo carrier=on
/dpdk/doc/guides/rel_notes/
H A Drelease_18_11.rst262 ``carrier=[on|off]`` to allow the user to control the default carrier
263 state of the KNI kernel network interfaces. The default carrier state
265 carrier state is set to ``on`` via ``rte_kni_update_link`` or
266 by writing ``1`` to ``/sys/devices/virtual/net/<iface>/carrier``.
267 In previous versions the default carrier state was left undefined.
271 to set the carrier state of the KNI kernel network interface.
274 monitor and automatically reflect the physical NIC carrier state to the
376 * kni: By default, interface carrier status is ``off`` which means there won't
378 via ``sysfs`` interface: ``echo 1 > /sys/class/net/vEth0/carrier``.
382 automatically update the carrier status for the interface.
/dpdk/doc/guides/nics/
H A Dkni.rst133 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
140 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0