diff options
author | Matias Elo <matias.elo@nokia.com> | 2022-01-12 17:46:57 +0200 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2022-02-04 15:00:11 +0200 |
commit | 4074942b2961d92f525e4f3ada63daccb05f9b6c (patch) | |
tree | 4c931a0b0da1bfe82966777cc6cb9d8191e8f16f /platform | |
parent | 321f334ebdcfd666af781fd9d2651b44349b79b7 (diff) |
linux-gen: packet: remove unnecessary fields from _odp_packet_copy_cls_md()
Flow hash and timestamp fields are not set by classifier, so there is no
need to copy the metadata in _odp_packet_copy_cls_md().
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/linux-generic/include/odp_packet_internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h index de7d62738..cc786c0fe 100644 --- a/platform/linux-generic/include/odp_packet_internal.h +++ b/platform/linux-generic/include/odp_packet_internal.h @@ -254,8 +254,6 @@ static inline void _odp_packet_copy_cls_md(odp_packet_hdr_t *dst_hdr, dst_hdr->p = src_hdr->p; dst_hdr->dst_queue = src_hdr->dst_queue; dst_hdr->cos = src_hdr->cos; - dst_hdr->flow_hash = src_hdr->flow_hash; - dst_hdr->timestamp = src_hdr->timestamp; dst_hdr->cls_mark = src_hdr->cls_mark; } |