aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas PLANEL <nplanel@cisco.com>2025-02-27 09:51:33 +0100
committerMohammed HAWARI <momohawari@gmail.com>2025-03-11 08:43:53 +0000
commite128af1690ae77e0232cf814fb6bddd5185fd340 (patch)
tree6a6e0df3ae3049f3ed440662873b6f64e0b5934f
parent067c66f80ea2173d605ecf741fe5caca82b23606 (diff)
dpdk: format UDP hw offload info consistently
Format the hardware offload info the same way than other protocol to avoid confusion when reading logs, like this : PKT_TX_SCTP_CKSUM (0x0000) SCTP cksum of TX pkt. computed by NIC PKT_TX_TCP_CKSUM (0x0000) TCP cksum of TX pkt. computed by NIC PKT_TX_UDP_CKSUM (0x0000) TX UDP cksum Type: improvement Change-Id: Icd16a484eabe36af4488352312245d638d7dff4b Signed-off-by: Nicolas PLANEL <nplanel@cisco.com> Signed-off-by: Nicolas PLANEL <nplanel@gmail.com>
-rw-r--r--src/plugins/dpdk/device/format.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c
index fd301da8ea5..f0199c929cc 100644
--- a/src/plugins/dpdk/device/format.c
+++ b/src/plugins/dpdk/device/format.c
@@ -117,8 +117,8 @@
_ (TX_MACSEC, "TX MACSEC") \
_ (TX_OUTER_IPV4, "TX outer IPV4") \
_ (TX_OUTER_IPV6, "TX outer IPV6") \
- _ (TX_OUTER_IP_CKSUM, "Outer IP cksum of Tx pkt. computed by NIC") \
- _ (TX_OUTER_UDP_CKSUM, "TX outer UDP cksum") \
+ _ (TX_OUTER_IP_CKSUM, "Outer IP cksum of TX pkt. computed by NIC") \
+ _ (TX_OUTER_UDP_CKSUM, "Outer UDP cksum of TX pkt. computed by NIC") \
_ (TX_QINQ, "TX QINQ") \
_ (TX_SCTP_CKSUM, "SCTP cksum of TX pkt. computed by NIC") \
_ (TX_SEC_OFFLOAD, "TX SEC OFFLOAD") \
@@ -133,7 +133,7 @@
_ (TX_TUNNEL_UDP, "TX tunnel UDP") \
_ (TX_TUNNEL_VXLAN, "TX packet is a VXLAN packet") \
_ (TX_TUNNEL_VXLAN_GPE, "TX tunnel VXLAN GPE") \
- _ (TX_UDP_CKSUM, "TX UDP cksum") \
+ _ (TX_UDP_CKSUM, "UDP cksum of TX pkt. computed by NIC") \
_ (TX_UDP_SEG, "TX UDP SEG") \
_ (TX_VLAN, "TX packet is a 802.1q VLAN packet")