Home
last modified time | relevance | path

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

12345

/dpdk/drivers/net/i40e/
H A Di40e_vf_representor.c18 i40e_vf_representor_link_update(struct rte_eth_dev *ethdev, in i40e_vf_representor_link_update() argument
36 dev_info->device = ethdev->device; in i40e_vf_representor_dev_infos_get()
40 dev_info->max_rx_queues = ethdev->data->nb_rx_queues; in i40e_vf_representor_dev_infos_get()
41 dev_info->max_tx_queues = ethdev->data->nb_tx_queues; in i40e_vf_representor_dev_infos_get()
392 if (ethdev->data->dev_conf.rxmode.offloads & in i40e_vf_representor_vlan_offload_set()
401 if (ethdev->data->dev_conf.rxmode.offloads & in i40e_vf_representor_vlan_offload_set()
501 ethdev->dev_ops = &i40e_representor_dev_ops; in i40e_vf_representor_init()
521 ethdev->data->nb_rx_queues = vf->vsi->nb_qps; in i40e_vf_representor_init()
522 ethdev->data->nb_tx_queues = vf->vsi->nb_qps; in i40e_vf_representor_init()
524 ethdev->data->mac_addrs = &vf->mac_addr; in i40e_vf_representor_init()
[all …]
/dpdk/drivers/net/ixgbe/
H A Dixgbe_vf_representor.c18 ixgbe_vf_representor_link_update(struct rte_eth_dev *ethdev, in ixgbe_vf_representor_link_update() argument
198 ethdev->data->dev_flags |= RTE_ETH_DEV_REPRESENTOR; in ixgbe_vf_representor_init()
199 ethdev->data->representor_id = representor->vf_id; in ixgbe_vf_representor_init()
203 ethdev->dev_ops = &ixgbe_vf_representor_dev_ops; in ixgbe_vf_representor_init()
208 ethdev->rx_pkt_burst = ixgbe_vf_representor_rx_burst; in ixgbe_vf_representor_init()
209 ethdev->tx_pkt_burst = ixgbe_vf_representor_tx_burst; in ixgbe_vf_representor_init()
212 ethdev->data->nb_rx_queues = IXGBE_VF_MAX_RX_QUEUES; in ixgbe_vf_representor_init()
213 ethdev->data->nb_tx_queues = IXGBE_VF_MAX_RX_QUEUES; in ixgbe_vf_representor_init()
219 ethdev->data->mac_addrs = (struct rte_ether_addr *) in ixgbe_vf_representor_init()
225 ethdev->data->dev_link.link_speed = link->link_speed; in ixgbe_vf_representor_init()
[all …]
/dpdk/lib/ethdev/
H A Dethdev_trace_points.c10 lib.ethdev.configure)
13 lib.ethdev.rxq.setup)
16 lib.ethdev.txq.setup)
19 lib.ethdev.start)
22 lib.ethdev.stop)
25 lib.ethdev.close)
28 lib.ethdev.rx.burst)
31 lib.ethdev.tx.burst)
H A Dethdev_driver.c122 struct rte_eth_dev *ethdev; in rte_eth_dev_allocated() local
128 ethdev = eth_dev_allocated(name); in rte_eth_dev_allocated()
132 return ethdev; in rte_eth_dev_allocated()
264 struct rte_eth_dev *ethdev; in rte_eth_dev_create() local
271 if (!ethdev) in rte_eth_dev_create()
288 if (!ethdev) { in rte_eth_dev_create()
295 ethdev->device = device; in rte_eth_dev_create()
317 rte_eth_dev_release_port(ethdev); in rte_eth_dev_create()
327 ethdev = rte_eth_dev_allocated(ethdev->data->name); in rte_eth_dev_destroy()
328 if (!ethdev) in rte_eth_dev_destroy()
[all …]
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_representor.c2056 if (!ethdev) { in ipn3ke_rpst_stats_reset()
2074 ch = ethdev->data->name; in ipn3ke_rpst_stats_reset()
2120 if (!ethdev) { in ipn3ke_rpst_stats_get()
2142 ch = ethdev->data->name; in ipn3ke_rpst_stats_get()
2224 if (!ethdev) { in ipn3ke_rpst_xstats_get()
2242 ch = ethdev->data->name; in ipn3ke_rpst_xstats_get()
2805 if (ethdev == NULL) in ipn3ke_afu_flow_ops_get()
2885 rpst->ethdev = ethdev; in ipn3ke_rpst_init()
2893 rpst->ethdev); in ipn3ke_rpst_init()
2896 if (!ethdev->data->mac_addrs) { in ipn3ke_rpst_init()
[all …]
H A Dipn3ke_ethdev.h233 struct rte_eth_dev *ethdev; member
533 ipn3ke_rpst_link_update(struct rte_eth_dev *ethdev,
536 ipn3ke_rpst_promiscuous_enable(struct rte_eth_dev *ethdev);
538 ipn3ke_rpst_promiscuous_disable(struct rte_eth_dev *ethdev);
540 ipn3ke_rpst_allmulticast_enable(struct rte_eth_dev *ethdev);
542 ipn3ke_rpst_allmulticast_disable(struct rte_eth_dev *ethdev);
544 ipn3ke_rpst_mac_addr_set(struct rte_eth_dev *ethdev,
547 ipn3ke_rpst_mtu_set(struct rte_eth_dev *ethdev, uint16_t mtu);
550 ipn3ke_rpst_init(struct rte_eth_dev *ethdev, void *init_params);
552 ipn3ke_rpst_uninit(struct rte_eth_dev *ethdev);
[all …]
/dpdk/doc/guides/howto/
H A Dtelemetry.rst9 telemetry information, currently including information such as ethdev stats,
10 ethdev port list, and eal parameters.
63 {"/": ["/", "/eal/app_params", "/eal/params", "/ethdev/list",
64 "/ethdev/link_status", "/ethdev/xstats", "/help", "/info"]}
66 * Get the list of ethdev ports::
68 --> /ethdev/list
69 {"/ethdev/list": [0, 1]}
76 * Get extended statistics for an ethdev port::
78 --> /ethdev/xstats,0
79 {"/ethdev/xstats": {"rx_good_packets": 0, "tx_good_packets": 0,
[all …]
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_pipeline.c236 struct rte_port_ethdev_reader_params ethdev; in softnic_pipeline_port_in_create() member
285 pp.ethdev.port_id = link->port_id; in softnic_pipeline_port_in_create()
286 pp.ethdev.queue_id = params->rxq.queue_id; in softnic_pipeline_port_in_create()
289 p.arg_create = &pp.ethdev; in softnic_pipeline_port_in_create()
457 struct rte_port_ethdev_writer_params ethdev; in softnic_pipeline_port_out_create() member
504 pp.ethdev.port_id = link->port_id; in softnic_pipeline_port_out_create()
505 pp.ethdev.queue_id = params->txq.queue_id; in softnic_pipeline_port_out_create()
506 pp.ethdev.tx_burst_sz = params->burst_size; in softnic_pipeline_port_out_create()
508 pp_nodrop.ethdev.port_id = link->port_id; in softnic_pipeline_port_out_create()
515 p.arg_create = &pp.ethdev; in softnic_pipeline_port_out_create()
[all …]
/dpdk/examples/ip_pipeline/
H A Dpipeline.c159 struct rte_port_ethdev_reader_params ethdev; in pipeline_port_in_create() member
210 pp.ethdev.port_id = link->port_id; in pipeline_port_in_create()
211 pp.ethdev.queue_id = params->rxq.queue_id; in pipeline_port_in_create()
214 p.arg_create = &pp.ethdev; in pipeline_port_in_create()
403 struct rte_port_ethdev_writer_params ethdev; in pipeline_port_out_create() member
455 pp.ethdev.port_id = link->port_id; in pipeline_port_out_create()
456 pp.ethdev.queue_id = params->txq.queue_id; in pipeline_port_out_create()
457 pp.ethdev.tx_burst_sz = params->burst_size; in pipeline_port_out_create()
459 pp_nodrop.ethdev.port_id = link->port_id; in pipeline_port_out_create()
466 p.arg_create = &pp.ethdev; in pipeline_port_out_create()
[all …]
/dpdk/drivers/regex/
H A Dmeson.build8 std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc
/dpdk/doc/guides/rel_notes/
H A Ddeprecation.rst65 * ethdev: The flow director API, including ``rte_eth_conf.fdir_conf`` field,
69 * ethdev: Announce moving from dedicated modify function for each field,
72 * ethdev: The flow API matching pattern structures, ``struct rte_flow_item_*``,
82 * ethdev: Queue specific stats fields will be removed from ``struct rte_eth_stats``.
89 * ethdev: Items and actions ``PF``, ``VF``, ``PHY_PORT``, ``PORT_ID`` are
92 * ethdev: The use of attributes ``ingress`` / ``egress`` in "transfer" flows
96 * ethdev: Actions ``OF_SET_MPLS_TTL``, ``OF_DEC_MPLS_TTL``, ``OF_SET_NW_TTL``,
100 * ethdev: Actions ``OF_DEC_NW_TTL``, ``SET_IPV4_SRC``, ``SET_IPV4_DST``,
/dpdk/doc/guides/nics/
H A Docteontx.rst7 The OCTEON TX ETHDEV PMD (**librte_net_octeontx**) provides poll mode ethdev
30 - HW offloaded `ethdev Rx queue` to `eventdev event queue` packet injection
93 PMD: octeontx_probe(): created ethdev eth_octeontx for port 0
94 PMD: octeontx_probe(): created ethdev eth_octeontx for port 1
111 The OCTEON TX ethdev PMD is exposed as a vdev device which consists of a set
124 Each ethdev port is mapped to a physical port(LMAC), Application can specify
H A Doverview.rst16 The ethdev layer exposes an API to use the networking functions
18 The bottom half part of ethdev is implemented by the drivers.
/dpdk/drivers/net/
H A Dmeson.build63 std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc
/dpdk/doc/guides/prog_guide/
H A Devent_ethernet_rx_adapter.rst10 queues of ethdev ports. Packet transfer between ethdev and the event device can
12 the ethdev port using ethdev poll mode APIs and enqueue these as events to the
14 the same platform depending on the particular combination of the ethdev and
19 the eventdev PMD to advertise features supported for a given ethdev and allows
31 For SW based packet transfers from ethdev to eventdev, the adapter uses a
107 the application to query the adapter capabilities for an eventdev and ethdev
143 eventdev-ethdev connections and ``rte_service_run_state_set()`` to enable the
/dpdk/doc/guides/mempool/
H A Dcnxk.rst83 mempool device prior to use ethdev and/or eventdev device, the respective
84 driver configures an NPA LF and attach to the first probed ethdev or eventdev
86 (without ethdev or eventdev), end user needs to bind a mempool device using
/dpdk/app/test-gpudev/
H A Dmeson.build5 deps = ['gpudev', 'ethdev']
/dpdk/lib/bitratestats/
H A Dmeson.build6 deps += ['ethdev', 'metrics']
/dpdk/lib/latencystats/
H A Dmeson.build6 deps += ['metrics', 'ethdev']
/dpdk/lib/gro/
H A Dmeson.build12 deps += ['ethdev']
/dpdk/app/pdump/
H A Dmeson.build11 deps += ['ethdev', 'kvargs', 'pdump']
/dpdk/lib/gso/
H A Dmeson.build13 deps += ['ethdev']
/dpdk/lib/pcapng/
H A Dmeson.build13 deps += ['ethdev']
/dpdk/lib/metrics/
H A Dmeson.build11 deps += ['ethdev', 'telemetry']
/dpdk/lib/pdump/
H A Dmeson.build12 deps += ['ethdev', 'bpf', 'pcapng']

12345