numam-dpdk/doc/guides/prog_guide
Viacheslav Ovsiienko 14fc81aed7 ethdev: update modify field flow action
The generic modify field flow action introduced in [1] has
some issues related to the immediate source operand:

  - immediate source can be presented either as an unsigned
    64-bit integer or pointer to data pattern in memory.
    There was no explicit pointer field defined in the union.

  - the byte ordering for 64-bit integer was not specified.
    Many fields have shorter lengths and byte ordering
    is crucial.

  - how the bit offset is applied to the immediate source
    field was not defined and documented.

  - 64-bit integer size is not enough to provide IPv6
    addresses.

In order to cover the issues and exclude any ambiguities
the following is done:

  - introduce the explicit pointer field
    in rte_flow_action_modify_data structure

  - replace the 64-bit unsigned integer with 16-byte array

  - update the modify field flow action documentation

Appropriate deprecation notice has been removed.

[1] commit 73b68f4c54 ("ethdev: introduce generic modify flow action")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2021-10-14 14:34:31 +02:00
..
img dmadev: introduce DMA device library 2021-10-17 20:49:57 +02:00
bbdev.rst doc: clarify usage of HARQ in bbdev 2021-10-08 21:31:07 +02:00
bpf_lib.rst bpf: support packet data load instructions 2020-06-24 23:42:04 +02:00
build_app.rst build: remove makefiles 2020-09-08 00:09:50 +02:00
build-sdk-meson.rst doc: add links for build requirements per OS 2021-04-17 12:37:38 +02:00
compressdev.rst eal: replace blacklist/whitelist options 2020-11-16 00:11:22 +01:00
cryptodev_lib.rst cryptodev: add enqueue and dequeue callbacks 2021-01-19 18:05:44 +01:00
dmadev.rst dmadev: add data plane API 2021-10-17 20:49:58 +02:00
efd_lib.rst
env_abstraction_layer.rst doc: fix spelling 2021-07-31 20:03:47 +02:00
event_crypto_adapter.rst eventdev: introduce crypto adapter enqueue API 2021-04-17 18:49:52 +02:00
event_ethernet_rx_adapter.rst eventdev: support Rx adapter event vector 2021-04-12 09:23:34 +02:00
event_ethernet_tx_adapter.rst eventdev: introduce event vector Tx capability 2021-04-12 09:23:34 +02:00
event_timer_adapter.rst lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eventdev.rst doc: fix spelling 2021-07-31 20:03:47 +02:00
flow_classify_lib.rst
generic_receive_offload_lib.rst gro: support VXLAN UDP/IPv4 2020-10-06 21:51:03 +02:00
generic_segmentation_offload_lib.rst gso: support VXLAN UDP/IPv4 2021-01-15 11:31:28 +01:00
glossary.rst eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
graph_lib.rst doc: fix figure numbering in graph guide 2021-01-15 12:28:19 +01:00
hash_lib.rst hash: implement RCU resources reclamation 2020-10-24 09:25:13 +02:00
index.rst dmadev: introduce DMA device library 2021-10-17 20:49:57 +02:00
intro.rst build: remove makefiles 2020-09-08 00:09:50 +02:00
ip_fragment_reassembly_lib.rst doc: remove references to make from prog guide 2020-10-01 16:51:24 +02:00
ipsec_lib.rst ipsec: support SA telemetry 2021-10-17 14:08:03 +02:00
kernel_nic_interface.rst doc: fix typo in KNI guide 2020-11-04 21:08:30 +01:00
link_bonding_poll_mode_drv_lib.rst doc: fix bonding driver name 2021-09-07 19:50:10 +02:00
lpm6_lib.rst doc: fix numbers power of 2 in LPM6 guide 2021-09-23 12:49:23 +02:00
lpm_lib.rst lpm: implement RCU rule reclamation 2020-07-10 13:41:29 +02:00
lto.rst doc: remove references to make from prog guide 2020-10-01 16:51:24 +02:00
mbuf_lib.rst doc: remove references to make from prog guide 2020-10-01 16:51:24 +02:00
member_lib.rst
mempool_lib.rst mempool: add namespace to driver register macro 2021-10-20 10:00:18 +02:00
meson_ut.rst
metrics_lib.rst
multi_proc_support.rst doc: fix spelling 2021-07-31 20:03:47 +02:00
overview.rst build: remove makefiles 2020-09-08 00:09:50 +02:00
packet_classif_access_ctrl.rst acl: check max SIMD bitwidth 2020-10-19 16:45:02 +02:00
packet_distrib_lib.rst
packet_framework.rst doc: describe the SWX pipeline type 2020-11-13 13:55:07 +01:00
pdump_lib.rst doc: clarify multi-process roles for pdump 2020-11-26 16:32:11 +01:00
perf_opt_guidelines.rst
poll_mode_drv.rst ethdev: support PF index in representor 2021-03-16 20:15:29 +01:00
power_man.rst power: support monitoring multiple Rx queues 2021-07-09 21:13:13 +02:00
profile_app.rst doc: add Arm PMU build option in profiling guide 2021-07-31 20:03:47 +02:00
qos_framework.rst doc: fix spelling 2021-07-31 20:03:47 +02:00
rawdev.rst lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rcu_lib.rst doc: remove references to make from prog guide 2020-10-01 16:51:24 +02:00
regexdev.rst doc: fix spelling 2021-07-31 20:03:47 +02:00
reorder_lib.rst
ring_lib.rst ring: add zero copy API 2020-10-29 14:13:31 +01:00
rte_flow.rst ethdev: update modify field flow action 2021-10-14 14:34:31 +02:00
rte_security.rst security: support PDCP short MAC-I 2021-09-08 16:54:37 +02:00
service_cores.rst
source_org.rst doc: fix driver names 2020-11-03 16:23:03 +01:00
stack_lib.rst doc: add stack mempool guide 2020-10-08 09:34:58 +02:00
switch_representation.rst ethdev: support sub-function representor 2021-03-16 20:15:29 +01:00
telemetry_lib.rst doc: remove web references to internal guides 2021-10-13 09:56:53 +02:00
thread_safety_dpdk_functions.rst doc: fix reference to master process 2020-08-07 13:02:04 +02:00
timer_lib.rst
toeplitz_hash_lib.rst doc: fix spelling 2021-07-31 20:03:47 +02:00
trace_lib.rst doc: remove references to make from prog guide 2020-10-01 16:51:24 +02:00
traffic_management.rst
traffic_metering_and_policing.rst ethdev: add pre-defined meter policy API 2021-04-21 12:22:17 +02:00
vhost_lib.rst vhost: remove copy threshold for async path 2021-09-14 13:21:55 +02:00
writing_efficient_code.rst doc: fix default burst size in testpmd 2021-06-17 09:47:25 +02:00