| /dpdk/examples/ip_pipeline/ |
| H A D | tap.c | 34 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 D | tap.h | 12 struct tap { struct 13 TAILQ_ENTRY(tap) node; 18 TAILQ_HEAD(tap_list, tap); argument 23 struct tap * 26 struct tap *
|
| H A D | pipeline.c | 250 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 D | meson.build | 28 'tap.c',
|
| H A D | Makefile | 18 SRCS-y += tap.c
|
| H A D | pipeline.h | 45 } tap; member
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_tap.c | 36 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 D | rte_eth_softnic_pipeline.c | 325 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 D | rte_eth_softnic_internals.h | 406 } tap; member
|
| /dpdk/examples/pipeline/ |
| H A D | obj.c | 439 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 D | obj.h | 131 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 D | cli.c | 505 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 D | tap.cli | 34 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 D | e1000em.rst | 107 -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 D | index.rst | 60 tap
|
| H A D | tap.rst | 14 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 D | vdev_netvsc.rst | 50 | tap PMD | : | any PMD | :
|
| H A D | af_packet.rst | 56 * A Kernel bound interface to attach to (e.g. a tap interface).
|
| H A D | virtio.rst | 144 -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 D | meson.build | 55 'tap',
|
| /dpdk/doc/guides/howto/ |
| H A D | virtio_user_as_exceptional_path.rst | 102 #. Configure IP address and start tap: 110 The tap device will be named tap0, tap1, etc, by kernel.
|
| H A D | lm_bond_virtio_sriov.rst | 23 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 D | tap.ini | 2 ; Supported features of the 'tap' driver.
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | ip_pipeline.rst | 295 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 D | build-sdk-meson.rst | 96 meson -Ddisable_drivers=event/*,net/tap # disable tap driver and all
|