2 Copyright(c) 2017 Intel Corporation. All rights reserved.
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions
9 * Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
11 * Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in
13 the documentation and/or other materials provided with the
15 * Neither the name of Intel Corporation nor the names of its
16 contributors may be used to endorse or promote products derived
17 from this software without specific prior written permission.
19 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 This section explains the supported features that are listed in the
37 As a guide to implementers it also shows the structs where the features are
38 defined and the APIs that can be use to get/set the values.
40 Following tags used for feature details, these are from driver point of view:
42 ``[uses]`` : Driver uses some kind of input from the application.
44 ``[implements]`` : Driver implements a functionality.
46 ``[provides]`` : Driver provides some kind of data to the application. It is possible
47 to provide data by implementing some function, but "provides" is used
48 for cases where provided data can't be represented simply by a function.
50 ``[related]`` : Related API with that feature.
53 .. _nic_features_speed_capabilities:
58 Supports getting the speed capabilities that the current device is capable of.
60 * **[provides] rte_eth_dev_info**: ``speed_capa:ETH_LINK_SPEED_*``.
61 * **[related] API**: ``rte_eth_dev_info_get()``.
64 .. _nic_features_link_status:
69 Supports getting the link speed, duplex mode and link state (up/down).
71 * **[implements] eth_dev_ops**: ``link_update``.
72 * **[implements] rte_eth_dev_data**: ``dev_link``.
73 * **[related] API**: ``rte_eth_link_get()``, ``rte_eth_link_get_nowait()``.
76 .. _nic_features_link_status_event:
81 Supports Link Status Change interrupts.
83 * **[uses] user config**: ``dev_conf.intr_conf.lsc``.
84 * **[uses] rte_eth_dev_data**: ``dev_flags:RTE_ETH_DEV_INTR_LSC``.
85 * **[uses] rte_eth_event_type**: ``RTE_ETH_EVENT_INTR_LSC``.
86 * **[implements] rte_eth_dev_data**: ``dev_link``.
87 * **[provides] rte_pci_driver.drv_flags**: ``RTE_PCI_DRV_INTR_LSC``.
88 * **[related] API**: ``rte_eth_link_get()``, ``rte_eth_link_get_nowait()``.
91 .. _nic_features_removal_event:
96 Supports device removal interrupts.
98 * **[uses] user config**: ``dev_conf.intr_conf.rmv``.
99 * **[uses] rte_eth_dev_data**: ``dev_flags:RTE_ETH_DEV_INTR_RMV``.
100 * **[uses] rte_eth_event_type**: ``RTE_ETH_EVENT_INTR_RMV``.
101 * **[provides] rte_pci_driver.drv_flags**: ``RTE_PCI_DRV_INTR_RMV``.
104 .. _nic_features_queue_status_event:
109 Supports queue enable/disable events.
111 * **[uses] rte_eth_event_type**: ``RTE_ETH_EVENT_QUEUE_STATE``.
114 .. _nic_features_rx_interrupt:
119 Supports Rx interrupts.
121 * **[uses] user config**: ``dev_conf.intr_conf.rxq``.
122 * **[implements] eth_dev_ops**: ``rx_queue_intr_enable``, ``rx_queue_intr_disable``.
123 * **[related] API**: ``rte_eth_dev_rx_intr_enable()``, ``rte_eth_dev_rx_intr_disable()``.
126 .. _nic_features_lock-free_tx_queue:
131 If a PMD advertises DEV_TX_OFFLOAD_MT_LOCKFREE capable, multiple threads can
132 invoke rte_eth_tx_burst() concurrently on the same Tx queue without SW lock.
134 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_MT_LOCKFREE``.
135 * **[provides] rte_eth_dev_info**: ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_MT_LOCKFREE``.
136 * **[related] API**: ``rte_eth_tx_burst()``.
139 .. _nic_features_fast_mbuf_free:
144 Supports optimization for fast release of mbufs following successful Tx.
145 Requires that per queue, all mbufs come from the same mempool and has refcnt = 1.
147 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_MBUF_FAST_FREE``.
148 * **[provides] rte_eth_dev_info**: ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_MBUF_FAST_FREE``.
151 .. _nic_features_free_tx_mbuf_on_demand:
153 Free Tx mbuf on demand
154 ----------------------
156 Supports freeing consumed buffers on a Tx ring.
158 * **[implements] eth_dev_ops**: ``tx_done_cleanup``.
159 * **[related] API**: ``rte_eth_tx_done_cleanup()``.
162 .. _nic_features_queue_start_stop:
167 Supports starting/stopping a specific Rx/Tx queue of a port.
169 * **[implements] eth_dev_ops**: ``rx_queue_start``, ``rx_queue_stop``, ``tx_queue_start``,
171 * **[related] API**: ``rte_eth_dev_rx_queue_start()``, ``rte_eth_dev_rx_queue_stop()``,
172 ``rte_eth_dev_tx_queue_start()``, ``rte_eth_dev_tx_queue_stop()``.
175 .. _nic_features_mtu_update:
180 Supports updating port MTU.
182 * **[implements] eth_dev_ops**: ``mtu_set``.
183 * **[implements] rte_eth_dev_data**: ``mtu``.
184 * **[provides] rte_eth_dev_info**: ``max_rx_pktlen``.
185 * **[related] API**: ``rte_eth_dev_set_mtu()``, ``rte_eth_dev_get_mtu()``.
188 .. _nic_features_jumbo_frame:
193 Supports Rx jumbo frames.
195 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_JUMBO_FRAME``.
196 ``dev_conf.rxmode.max_rx_pkt_len``.
197 * **[related] rte_eth_dev_info**: ``max_rx_pktlen``.
198 * **[related] API**: ``rte_eth_dev_set_mtu()``.
201 .. _nic_features_scattered_rx:
206 Supports receiving segmented mbufs.
208 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_SCATTER``.
209 * **[implements] datapath**: ``Scattered Rx function``.
210 * **[implements] rte_eth_dev_data**: ``scattered_rx``.
211 * **[provides] eth_dev_ops**: ``rxq_info_get:scattered_rx``.
212 * **[related] eth_dev_ops**: ``rx_pkt_burst``.
215 .. _nic_features_lro:
220 Supports Large Receive Offload.
222 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_TCP_LRO``.
223 * **[implements] datapath**: ``LRO functionality``.
224 * **[implements] rte_eth_dev_data**: ``lro``.
225 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_LRO``, ``mbuf.tso_segsz``.
226 * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_TCP_LRO``.
229 .. _nic_features_tso:
234 Supports TCP Segmentation Offloading.
236 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_TCP_TSO``.
237 * **[uses] rte_eth_desc_lim**: ``nb_seg_max``, ``nb_mtu_seg_max``.
238 * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_TCP_SEG``.
239 * **[uses] mbuf**: ``mbuf.tso_segsz``, ``mbuf.l2_len``, ``mbuf.l3_len``, ``mbuf.l4_len``.
240 * **[implements] datapath**: ``TSO functionality``.
241 * **[provides] rte_eth_dev_info**: ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_TCP_TSO,DEV_TX_OFFLOAD_UDP_TSO``.
244 .. _nic_features_promiscuous_mode:
249 Supports enabling/disabling promiscuous mode for a port.
251 * **[implements] eth_dev_ops**: ``promiscuous_enable``, ``promiscuous_disable``.
252 * **[implements] rte_eth_dev_data**: ``promiscuous``.
253 * **[related] API**: ``rte_eth_promiscuous_enable()``, ``rte_eth_promiscuous_disable()``,
254 ``rte_eth_promiscuous_get()``.
257 .. _nic_features_allmulticast_mode:
262 Supports enabling/disabling receiving multicast frames.
264 * **[implements] eth_dev_ops**: ``allmulticast_enable``, ``allmulticast_disable``.
265 * **[implements] rte_eth_dev_data**: ``all_multicast``.
266 * **[related] API**: ``rte_eth_allmulticast_enable()``,
267 ``rte_eth_allmulticast_disable()``, ``rte_eth_allmulticast_get()``.
270 .. _nic_features_unicast_mac_filter:
275 Supports adding MAC addresses to enable whitelist filtering to accept packets.
277 * **[implements] eth_dev_ops**: ``mac_addr_set``, ``mac_addr_add``, ``mac_addr_remove``.
278 * **[implements] rte_eth_dev_data**: ``mac_addrs``.
279 * **[related] API**: ``rte_eth_dev_default_mac_addr_set()``,
280 ``rte_eth_dev_mac_addr_add()``, ``rte_eth_dev_mac_addr_remove()``,
281 ``rte_eth_macaddr_get()``.
284 .. _nic_features_multicast_mac_filter:
289 Supports setting multicast addresses to filter.
291 * **[implements] eth_dev_ops**: ``set_mc_addr_list``.
292 * **[related] API**: ``rte_eth_dev_set_mc_addr_list()``.
295 .. _nic_features_rss_hash:
300 Supports RSS hashing on RX.
302 * **[uses] user config**: ``dev_conf.rxmode.mq_mode`` = ``ETH_MQ_RX_RSS_FLAG``.
303 * **[uses] user config**: ``dev_conf.rx_adv_conf.rss_conf``.
304 * **[provides] rte_eth_dev_info**: ``flow_type_rss_offloads``.
305 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_RSS_HASH``, ``mbuf.rss``.
308 .. _nic_features_rss_key_update:
313 Supports configuration of Receive Side Scaling (RSS) hash computation. Updating
314 Receive Side Scaling (RSS) hash key.
316 * **[implements] eth_dev_ops**: ``rss_hash_update``, ``rss_hash_conf_get``.
317 * **[provides] rte_eth_dev_info**: ``hash_key_size``.
318 * **[related] API**: ``rte_eth_dev_rss_hash_update()``,
319 ``rte_eth_dev_rss_hash_conf_get()``.
322 .. _nic_features_rss_reta_update:
327 Supports updating Redirection Table of the Receive Side Scaling (RSS).
329 * **[implements] eth_dev_ops**: ``reta_update``, ``reta_query``.
330 * **[provides] rte_eth_dev_info**: ``reta_size``.
331 * **[related] API**: ``rte_eth_dev_rss_reta_update()``, ``rte_eth_dev_rss_reta_query()``.
334 .. _nic_features_vmdq:
339 Supports Virtual Machine Device Queues (VMDq).
341 * **[uses] user config**: ``dev_conf.rxmode.mq_mode`` = ``ETH_MQ_RX_VMDQ_FLAG``.
342 * **[uses] user config**: ``dev_conf.rx_adv_conf.vmdq_dcb_conf``.
343 * **[uses] user config**: ``dev_conf.rx_adv_conf.vmdq_rx_conf``.
344 * **[uses] user config**: ``dev_conf.tx_adv_conf.vmdq_dcb_tx_conf``.
345 * **[uses] user config**: ``dev_conf.tx_adv_conf.vmdq_tx_conf``.
348 .. _nic_features_sriov:
353 Driver supports creating Virtual Functions.
355 * **[implements] rte_eth_dev_data**: ``sriov``.
357 .. _nic_features_dcb:
362 Supports Data Center Bridging (DCB).
364 * **[uses] user config**: ``dev_conf.rxmode.mq_mode`` = ``ETH_MQ_RX_DCB_FLAG``.
365 * **[uses] user config**: ``dev_conf.rx_adv_conf.vmdq_dcb_conf``.
366 * **[uses] user config**: ``dev_conf.rx_adv_conf.dcb_rx_conf``.
367 * **[uses] user config**: ``dev_conf.tx_adv_conf.vmdq_dcb_tx_conf``.
368 * **[uses] user config**: ``dev_conf.tx_adv_conf.vmdq_tx_conf``.
369 * **[implements] eth_dev_ops**: ``get_dcb_info``.
370 * **[related] API**: ``rte_eth_dev_get_dcb_info()``.
373 .. _nic_features_vlan_filter:
378 Supports filtering of a VLAN Tag identifier.
380 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_VLAN_FILTER``.
381 * **[implements] eth_dev_ops**: ``vlan_filter_set``.
382 * **[related] API**: ``rte_eth_dev_vlan_filter()``.
385 .. _nic_features_ethertype_filter:
390 Supports filtering on Ethernet type.
392 * **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_ETHERTYPE``.
393 * **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``.
395 .. _nic_features_ntuple_filter:
400 Supports filtering on N-tuple values.
402 * **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_NTUPLE``.
403 * **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``.
406 .. _nic_features_syn_filter:
411 Supports TCP syn filtering.
413 * **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_SYN``.
414 * **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``.
417 .. _nic_features_tunnel_filter:
422 Supports tunnel filtering.
424 * **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_TUNNEL``.
425 * **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``.
428 .. _nic_features_flexible_filter:
433 Supports a flexible (non-tuple or Ethertype) filter.
435 * **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_FLEXIBLE``.
436 * **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``.
439 .. _nic_features_hash_filter:
444 Supports Hash filtering.
446 * **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_HASH``.
447 * **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``.
450 .. _nic_features_flow_director:
455 Supports Flow Director style filtering to queues.
457 * **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_FDIR``.
458 * **[provides] mbuf**: ``mbuf.ol_flags:`` ``PKT_RX_FDIR``, ``PKT_RX_FDIR_ID``,
460 * **[related] API**: ``rte_eth_dev_filter_ctrl()``, ``rte_eth_dev_filter_supported()``.
463 .. _nic_features_flow_control:
468 Supports configuring link flow control.
470 * **[implements] eth_dev_ops**: ``flow_ctrl_get``, ``flow_ctrl_set``,
471 ``priority_flow_ctrl_set``.
472 * **[related] API**: ``rte_eth_dev_flow_ctrl_get()``, ``rte_eth_dev_flow_ctrl_set()``,
473 ``rte_eth_dev_priority_flow_ctrl_set()``.
476 .. _nic_features_flow_api:
481 Supports the DPDK Flow API for generic filtering.
483 * **[implements] eth_dev_ops**: ``filter_ctrl:RTE_ETH_FILTER_GENERIC``.
484 * **[implements] rte_flow_ops**: ``All``.
487 .. _nic_features_rate_limitation:
492 Supports Tx rate limitation for a queue.
494 * **[implements] eth_dev_ops**: ``set_queue_rate_limit``.
495 * **[related] API**: ``rte_eth_set_queue_rate_limit()``.
498 .. _nic_features_traffic_mirroring:
503 Supports adding traffic mirroring rules.
505 * **[implements] eth_dev_ops**: ``mirror_rule_set``, ``mirror_rule_reset``.
506 * **[related] API**: ``rte_eth_mirror_rule_set()``, ``rte_eth_mirror_rule_reset()``.
509 .. _nic_features_inline_crypto_doc:
514 Supports inline crypto processing (eg. inline IPsec). See Security library and PMD documentation for more details.
516 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_SECURITY``,
517 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_SECURITY``.
518 * **[implements] rte_security_ops**: ``session_create``, ``session_update``,
519 ``session_stats_get``, ``session_destroy``, ``set_pkt_metadata``, ``capabilities_get``.
520 * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_SECURITY``,
521 ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_SECURITY``.
522 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD``,
523 ``mbuf.ol_flags:PKT_TX_SEC_OFFLOAD``, ``mbuf.ol_flags:PKT_RX_SEC_OFFLOAD_FAILED``.
526 .. _nic_features_crc_offload:
531 Supports CRC stripping by hardware.
533 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_CRC_STRIP``.
536 .. _nic_features_vlan_offload:
541 Supports VLAN offload to hardware.
543 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_VLAN_STRIP,DEV_RX_OFFLOAD_VLAN_FILTER,DEV_RX_OFFLOAD_VLAN_EXTEND``.
544 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_VLAN_INSERT``.
545 * **[implements] eth_dev_ops**: ``vlan_offload_set``.
546 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_VLAN_STRIPPED``, ``mbuf.vlan_tci``.
547 * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_VLAN_STRIP``,
548 ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_VLAN_INSERT``.
549 * **[related] API**: ``rte_eth_dev_set_vlan_offload()``,
550 ``rte_eth_dev_get_vlan_offload()``.
553 .. _nic_features_qinq_offload:
558 Supports QinQ (queue in queue) offload.
560 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_QINQ_STRIP``.
561 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_QINQ_INSERT``.
562 * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_QINQ_PKT``.
563 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_QINQ_STRIPPED``, ``mbuf.vlan_tci``,
564 ``mbuf.vlan_tci_outer``.
565 * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_QINQ_STRIP``,
566 ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_QINQ_INSERT``.
569 .. _nic_features_l3_checksum_offload:
574 Supports L3 checksum offload.
576 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_IPV4_CKSUM``.
577 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_IPV4_CKSUM``.
578 * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_IP_CKSUM``,
579 ``mbuf.ol_flags:PKT_TX_IPV4`` | ``PKT_TX_IPV6``.
580 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_IP_CKSUM_UNKNOWN`` |
581 ``PKT_RX_IP_CKSUM_BAD`` | ``PKT_RX_IP_CKSUM_GOOD`` |
582 ``PKT_RX_IP_CKSUM_NONE``.
583 * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_IPV4_CKSUM``,
584 ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_IPV4_CKSUM``.
587 .. _nic_features_l4_checksum_offload:
592 Supports L4 checksum offload.
594 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_UDP_CKSUM,DEV_RX_OFFLOAD_TCP_CKSUM``.
595 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_UDP_CKSUM,DEV_TX_OFFLOAD_TCP_CKSUM,DEV_TX_OFFLOAD_SCTP_CKSUM``.
596 * **[uses] user config**: ``dev_conf.rxmode.hw_ip_checksum``.
597 * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_IPV4`` | ``PKT_TX_IPV6``,
598 ``mbuf.ol_flags:PKT_TX_L4_NO_CKSUM`` | ``PKT_TX_TCP_CKSUM`` |
599 ``PKT_TX_SCTP_CKSUM`` | ``PKT_TX_UDP_CKSUM``.
600 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_L4_CKSUM_UNKNOWN`` |
601 ``PKT_RX_L4_CKSUM_BAD`` | ``PKT_RX_L4_CKSUM_GOOD`` |
602 ``PKT_RX_L4_CKSUM_NONE``.
603 * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_UDP_CKSUM,DEV_RX_OFFLOAD_TCP_CKSUM``,
604 ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_UDP_CKSUM,DEV_TX_OFFLOAD_TCP_CKSUM,DEV_TX_OFFLOAD_SCTP_CKSUM``.
606 .. _nic_features_hw_timestamp:
613 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_TIMESTAMP``.
614 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_TIMESTAMP``.
615 * **[provides] mbuf**: ``mbuf.timestamp``.
616 * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa: DEV_RX_OFFLOAD_TIMESTAMP``.
618 .. _nic_features_macsec_offload:
625 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_MACSEC_STRIP``.
626 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_MACSEC_INSERT``.
627 * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_MACSEC``.
628 * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_MACSEC_STRIP``,
629 ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_MACSEC_INSERT``.
632 .. _nic_features_inner_l3_checksum:
637 Supports inner packet L3 checksum.
639 * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM``.
640 * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM``.
641 * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_IP_CKSUM``,
642 ``mbuf.ol_flags:PKT_TX_IPV4`` | ``PKT_TX_IPV6``,
643 ``mbuf.ol_flags:PKT_TX_OUTER_IP_CKSUM``,
644 ``mbuf.ol_flags:PKT_TX_OUTER_IPV4`` | ``PKT_TX_OUTER_IPV6``.
645 * **[uses] mbuf**: ``mbuf.outer_l2_len``, ``mbuf.outer_l3_len``.
646 * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_EIP_CKSUM_BAD``.
647 * **[provides] rte_eth_dev_info**: ``rx_offload_capa,rx_queue_offload_capa:DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM``,
648 ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM``.
651 .. _nic_features_inner_l4_checksum:
656 Supports inner packet L4 checksum.
659 .. _nic_features_packet_type_parsing:
664 Supports packet type parsing and returns a list of supported types.
666 * **[implements] eth_dev_ops**: ``dev_supported_ptypes_get``.
667 * **[related] API**: ``rte_eth_dev_get_supported_ptypes()``.
670 .. _nic_features_timesync:
675 Supports IEEE1588/802.1AS timestamping.
677 * **[implements] eth_dev_ops**: ``timesync_enable``, ``timesync_disable``
678 ``timesync_read_rx_timestamp``, ``timesync_read_tx_timestamp``,
679 ``timesync_adjust_time``, ``timesync_read_time``, ``timesync_write_time``.
680 * **[related] API**: ``rte_eth_timesync_enable()``, ``rte_eth_timesync_disable()``,
681 ``rte_eth_timesync_read_rx_timestamp()``,
682 ``rte_eth_timesync_read_tx_timestamp``, ``rte_eth_timesync_adjust_time()``,
683 ``rte_eth_timesync_read_time()``, ``rte_eth_timesync_write_time()``.
686 .. _nic_features_rx_descriptor_status:
691 Supports check the status of a Rx descriptor. When ``rx_descriptor_status`` is
692 used, status can be "Available", "Done" or "Unavailable". When
693 ``rx_descriptor_done`` is used, status can be "DD bit is set" or "DD bit is
696 * **[implements] eth_dev_ops**: ``rx_descriptor_status``.
697 * **[related] API**: ``rte_eth_rx_descriptor_status()``.
698 * **[implements] eth_dev_ops**: ``rx_descriptor_done``.
699 * **[related] API**: ``rte_eth_rx_descriptor_done()``.
702 .. _nic_features_tx_descriptor_status:
707 Supports checking the status of a Tx descriptor. Status can be "Full", "Done"
710 * **[implements] eth_dev_ops**: ``tx_descriptor_status``.
711 * **[related] API**: ``rte_eth_tx_descriptor_status()``.
714 .. _nic_features_basic_stats:
719 Support basic statistics such as: ipackets, opackets, ibytes, obytes,
720 imissed, ierrors, oerrors, rx_nombuf.
722 And per queue stats: q_ipackets, q_opackets, q_ibytes, q_obytes, q_errors.
724 These apply to all drivers.
726 * **[implements] eth_dev_ops**: ``stats_get``, ``stats_reset``.
727 * **[related] API**: ``rte_eth_stats_get``, ``rte_eth_stats_reset()``.
730 .. _nic_features_extended_stats:
735 Supports Extended Statistics, changes from driver to driver.
737 * **[implements] eth_dev_ops**: ``xstats_get``, ``xstats_reset``, ``xstats_get_names``.
738 * **[implements] eth_dev_ops**: ``xstats_get_by_id``, ``xstats_get_names_by_id``.
739 * **[related] API**: ``rte_eth_xstats_get()``, ``rte_eth_xstats_reset()``,
740 ``rte_eth_xstats_get_names``, ``rte_eth_xstats_get_by_id()``,
741 ``rte_eth_xstats_get_names_by_id()``, ``rte_eth_xstats_get_id_by_name()``.
744 .. _nic_features_stats_per_queue:
749 Supports configuring per-queue stat counter mapping.
751 * **[implements] eth_dev_ops**: ``queue_stats_mapping_set``.
752 * **[related] API**: ``rte_eth_dev_set_rx_queue_stats_mapping()``,
753 ``rte_eth_dev_set_tx_queue_stats_mapping()``.
756 .. _nic_features_fw_version:
761 Supports getting device hardware firmware information.
763 * **[implements] eth_dev_ops**: ``fw_version_get``.
764 * **[related] API**: ``rte_eth_dev_fw_version_get()``.
767 .. _nic_features_eeprom_dump:
772 Supports getting/setting device eeprom data.
774 * **[implements] eth_dev_ops**: ``get_eeprom_length``, ``get_eeprom``, ``set_eeprom``.
775 * **[related] API**: ``rte_eth_dev_get_eeprom_length()``, ``rte_eth_dev_get_eeprom()``,
776 ``rte_eth_dev_set_eeprom()``.
779 .. _nic_features_register_dump:
784 Supports retrieving device registers and registering attributes (number of
785 registers and register size).
787 * **[implements] eth_dev_ops**: ``get_reg``.
788 * **[related] API**: ``rte_eth_dev_get_reg_info()``.
791 .. _nic_features_led:
796 Supports turning on/off a software controllable LED on a device.
798 * **[implements] eth_dev_ops**: ``dev_led_on``, ``dev_led_off``.
799 * **[related] API**: ``rte_eth_led_on()``, ``rte_eth_led_off()``.
802 .. _nic_features_multiprocess_aware:
807 Driver can be used for primary-secondary process model.
810 .. _nic_features_bsd_nic_uio:
815 BSD ``nic_uio`` module supported.
818 .. _nic_features_linux_uio:
823 Works with ``igb_uio`` kernel module.
825 * **[provides] RTE_PMD_REGISTER_KMOD_DEP**: ``igb_uio``.
827 .. _nic_features_linux_vfio:
832 Works with ``vfio-pci`` kernel module.
834 * **[provides] RTE_PMD_REGISTER_KMOD_DEP**: ``vfio-pci``.
836 .. _nic_features_other_kdrv:
841 Kernel module other than above ones supported.
844 .. _nic_features_armv7:
849 Support armv7 architecture.
851 Use ``defconfig_arm-armv7a-*-*``.
854 .. _nic_features_armv8:
859 Support armv8a (64bit) architecture.
861 Use ``defconfig_arm64-armv8a-*-*``
864 .. _nic_features_power8:
869 Support PowerPC architecture.
871 Use ``defconfig_ppc_64-power8-*-*``
873 .. _nic_features_x86-32:
878 Support 32bits x86 architecture.
880 Use ``defconfig_x86_x32-native-*-*`` and ``defconfig_i686-native-*-*``.
883 .. _nic_features_x86-64:
888 Support 64bits x86 architecture.
890 Use ``defconfig_x86_64-native-*-*``.
893 .. _nic_features_usage_doc:
898 Documentation describes usage.
900 See ``doc/guides/nics/*.rst``
903 .. _nic_features_design_doc:
908 Documentation describes design.
910 See ``doc/guides/nics/*.rst``.
913 .. _nic_features_perf_doc:
918 Documentation describes performance values.
920 See ``dpdk.org/doc/perf/*``.
924 .. _nic_features_other:
926 Other dev ops not represented by a Feature
927 ------------------------------------------
932 * ``vlan_strip_queue_set``
935 * ``l2_tunnel_offload_set``
936 * ``uc_hash_table_set``
937 * ``uc_all_hash_table_set``
938 * ``udp_tunnel_port_add``
939 * ``udp_tunnel_port_del``
940 * ``l2_tunnel_eth_type_conf``
941 * ``l2_tunnel_offload_set``