summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2018-04-17 14:39:49 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-05-28 03:05:03 +0200
commit006bb2cc209f6ba11230743c0402e6c29a29efc8 (patch)
tree466450c0a56484bfa03510d8fe5dae419d100c44
parent242b46b814725df6215c0df5f751e9d814f12af9 (diff)
downloaddpdk-006bb2cc209f6ba11230743c0402e6c29a29efc8.zip
dpdk-006bb2cc209f6ba11230743c0402e6c29a29efc8.tar.gz
dpdk-006bb2cc209f6ba11230743c0402e6c29a29efc8.tar.xz
doc: announce ethdev CRC strip flag deprecation
Make CRC stripping default behavior, deprecate flag DEV_RX_OFFLOAD_CRC_STRIP. Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: Shahaf Shuler <shahafs@mellanox.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
-rw-r--r--doc/guides/rel_notes/deprecation.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index ff28f7d..103520c 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -68,6 +68,22 @@ Deprecation Notices
- removal of ``txq_flags`` field from ``rte_eth_txconf`` struct.
- removal of the offloads bit-field from ``rte_eth_rxmode`` struct.
+* ethdev: A new offloading flag ``DEV_RX_OFFLOAD_KEEP_CRC`` will be added in v18.08,
+ This will replace the usage of not setting ``DEV_RX_OFFLOAD_CRC_STRIP`` flag
+ and will be implemented in PMDs accordingly.
+ In v18.08 both ``DEV_RX_OFFLOAD_KEEP_CRC`` and ``DEV_RX_OFFLOAD_CRC_STRIP`` flags
+ will be available, usage will be:
+ ``CRC_STRIP``: Strip CRC from packet
+ ``KEEP_CRC``: Keep CRC in packet
+ Both ``CRC_STRIP`` & ``KEEP_CRC``: Invalid
+ No flag: Keep CRC in packet
+
+* ethdev: In v18.11 ``DEV_RX_OFFLOAD_CRC_STRIP`` offload flag will be removed, default
+ behavior without any flag will be changed to CRC strip.
+ To keep CRC ``DEV_RX_OFFLOAD_KEEP_CRC`` flag is required.
+ ``KEEP_CRC``: Keep CRC in packet
+ No flag: Strip CRC from packet
+
* ethdev: the legacy filter API, including
``rte_eth_dev_filter_supported()``, ``rte_eth_dev_filter_ctrl()`` as well
as filter types MACVLAN, ETHERTYPE, FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR,