Home
last modified time | relevance | path

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

12

/dpdk/examples/ip_pipeline/
H A Dtap.c34 struct tap *
37 struct tap *tap; in tap_find() local
44 return tap; in tap_find()
51 struct tap *
59 struct tap *
62 struct tap *tap; in tap_create() local
87 tap = calloc(1, sizeof(struct tap)); in tap_create()
88 if (tap == NULL) { in tap_create()
93 strlcpy(tap->name, name, sizeof(tap->name)); in tap_create()
94 tap->fd = fd; in tap_create()
[all …]
H A Dtap.h12 struct tap { struct
13 TAILQ_ENTRY(tap) node;
18 TAILQ_HEAD(tap_list, tap); argument
23 struct tap *
26 struct tap *
H A Dpipeline.c250 struct tap *tap; in pipeline_port_in_create() local
253 tap = tap_find(params->dev_name); in pipeline_port_in_create()
254 mempool = mempool_find(params->tap.mempool_name); in pipeline_port_in_create()
255 if ((tap == NULL) || (mempool == NULL)) in pipeline_port_in_create()
258 pp.fd.fd = tap->fd; in pipeline_port_in_create()
260 pp.fd.mtu = params->tap.mtu; in pipeline_port_in_create()
517 struct tap *tap; in pipeline_port_out_create() local
519 tap = tap_find(params->dev_name); in pipeline_port_out_create()
520 if (tap == NULL) in pipeline_port_out_create()
523 pp.fd.fd = tap->fd; in pipeline_port_out_create()
[all …]
H A Dmeson.build28 'tap.c',
H A DMakefile18 SRCS-y += tap.c
H A Dpipeline.h45 } tap; member
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_tap.c36 struct softnic_tap *tap; in softnic_tap_free() local
38 tap = TAILQ_FIRST(&p->tap_list); in softnic_tap_free()
39 if (tap == NULL) in softnic_tap_free()
43 free(tap); in softnic_tap_free()
51 struct softnic_tap *tap; in softnic_tap_find() local
58 return tap; in softnic_tap_find()
78 struct softnic_tap *tap; in softnic_tap_create() local
104 if (tap == NULL) { in softnic_tap_create()
109 strlcpy(tap->name, name, sizeof(tap->name)); in softnic_tap_create()
110 tap->fd = fd; in softnic_tap_create()
[all …]
H A Drte_eth_softnic_pipeline.c325 struct softnic_tap *tap; in softnic_pipeline_port_in_create() local
328 tap = softnic_tap_find(softnic, params->dev_name); in softnic_pipeline_port_in_create()
329 mempool = softnic_mempool_find(softnic, params->tap.mempool_name); in softnic_pipeline_port_in_create()
330 if (tap == NULL || mempool == NULL) in softnic_pipeline_port_in_create()
333 pp.fd.fd = tap->fd; in softnic_pipeline_port_in_create()
335 pp.fd.mtu = params->tap.mtu; in softnic_pipeline_port_in_create()
566 struct softnic_tap *tap; in softnic_pipeline_port_out_create() local
568 tap = softnic_tap_find(softnic, params->dev_name); in softnic_pipeline_port_out_create()
569 if (tap == NULL) in softnic_pipeline_port_out_create()
572 pp.fd.fd = tap->fd; in softnic_pipeline_port_out_create()
[all …]
H A Drte_eth_softnic_internals.h406 } tap; member
/dpdk/examples/pipeline/
H A Dobj.c439 struct tap *
442 struct tap *tap; in tap_find() local
449 return tap; in tap_find()
454 struct tap *
455 tap_next(struct obj *obj, struct tap *tap) in tap_next() argument
463 struct tap *
471 struct tap *
474 struct tap *tap; in tap_create() local
499 tap = calloc(1, sizeof(struct tap)); in tap_create()
505 strlcpy(tap->name, name, sizeof(tap->name)); in tap_create()
[all …]
H A Dobj.h131 struct tap { struct
132 TAILQ_ENTRY(tap) node;
137 struct tap * argument
140 struct tap *
141 tap_next(struct obj *obj, struct tap *tap);
143 struct tap *
H A Dcli.c505 struct tap *tap; in cmd_tap() local
514 tap = tap_create(obj, name); in cmd_tap()
515 if (tap == NULL) { in cmd_tap()
720 struct tap *tap; in cmd_pipeline_port_in() local
729 tap = tap_find(obj, tokens[t0 + 1]); in cmd_pipeline_port_in()
730 if (!tap) { in cmd_pipeline_port_in()
735 params.fd = tap->fd; in cmd_pipeline_port_in()
937 struct tap *tap; in cmd_pipeline_port_out() local
945 tap = tap_find(obj, tokens[t0 + 1]); in cmd_pipeline_port_out()
946 if (!tap) { in cmd_pipeline_port_out()
[all …]
/dpdk/examples/ip_pipeline/examples/
H A Dtap.cli34 tap TAP0
35 tap TAP1
42 pipeline PIPELINE0 port in bsz 32 tap TAP1 mempool MEMPOOL0 mtu 1500
44 pipeline PIPELINE0 port in bsz 32 tap TAP0 mempool MEMPOOL0 mtu 1500
46 pipeline PIPELINE0 port out bsz 32 tap TAP0
48 pipeline PIPELINE0 port out bsz 32 tap TAP1
/dpdk/doc/guides/nics/
H A De1000em.rst107 -net tap,vlan=1,ifname=tapvm01,script=no,downscript=no
109 -net tap,vlan=2,ifname=tapvm02,script=no,downscript=no
125 tapvm01: tap
126 tapvm02: tap
H A Dindex.rst60 tap
H A Dtap.rst14 create a number of tap devices in the host accessed via ``ifconfig -a`` or
51 If a ``remote`` is set, the tap MAC address will be set to match the remote one
53 will be redirected to the tap. If the tap is in promiscuous mode, then all
59 rte_flow rules on the tap PMD to capture specific traffic (see next section for
100 The tap PMD supports major flow API pattern items and actions, when running on
H A Dvdev_netvsc.rst50 | tap PMD | : | any PMD | :
H A Daf_packet.rst56 * A Kernel bound interface to attach to (e.g. a tap interface).
H A Dvirtio.rst144 -netdev tap, fd=$fd,id=mynet_kni, script=no,vhost=on \
192 -netdev tap,id=vm1_p1,ifname=tap0,script=no,vhost=on
205 port 0 Tx burst-> tap -> Linux Bridge->82599 PF-> IXIA packet generator
/dpdk/drivers/net/
H A Dmeson.build55 'tap',
/dpdk/doc/guides/howto/
H A Dvirtio_user_as_exceptional_path.rst102 #. Configure IP address and start tap:
110 The tap device will be named tap0, tap1, etc, by kernel.
H A Dlm_bond_virtio_sriov.rst23 A bridge must be set up on the Host connecting the tap device, which is the
428 -netdev type=tap,id=net1,script=no,downscript=no,ifname=tap1 \
531 -netdev type=tap,id=net1,script=no,downscript=no,ifname=tap1 \
/dpdk/doc/guides/nics/features/
H A Dtap.ini2 ; Supported features of the 'tap' driver.
/dpdk/doc/guides/sample_app_ug/
H A Dip_pipeline.rst295 Create tap port ::
297 tap <name>
368 | tap <tap_name> mempool <mempool_name> mtu <mtu>
381 | tap <tap_name>
/dpdk/doc/guides/prog_guide/
H A Dbuild-sdk-meson.rst96 meson -Ddisable_drivers=event/*,net/tap # disable tap driver and all

12