summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJerin Jacob <jerin.jacob@caviumnetworks.com>2018-10-02 16:21:41 +0530
committerFerruh Yigit <ferruh.yigit@intel.com>2018-10-11 18:53:49 +0200
commit28f6a3b88d23a348eeffd2bac79b2e0819d3b4e9 (patch)
tree2ec5e450b975c6eb7a4e19661cb7c4f31c21b27f /app
parent45398036529028b3b05d6233b75d9b8949faf65c (diff)
downloaddpdk-28f6a3b88d23a348eeffd2bac79b2e0819d3b4e9.zip
dpdk-28f6a3b88d23a348eeffd2bac79b2e0819d3b4e9.tar.gz
dpdk-28f6a3b88d23a348eeffd2bac79b2e0819d3b4e9.tar.xz
ethdev: support SCTP Rx checksum offload
Added SCTP Rx checksum offload support Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test-pmd/config.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 1d23a25..d9a6cfd 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -576,6 +576,15 @@ port_offload_cap_display(portid_t port_id)
printf("off\n");
}
+ if (dev_info.rx_offload_capa & DEV_RX_OFFLOAD_SCTP_CKSUM) {
+ printf("RX SCTP checksum: ");
+ if (ports[port_id].dev_conf.rxmode.offloads &
+ DEV_RX_OFFLOAD_SCTP_CKSUM)
+ printf("on\n");
+ else
+ printf("off\n");
+ }
+
if (dev_info.rx_offload_capa & DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM) {
printf("RX Outer IPv4 checksum: ");
if (ports[port_id].dev_conf.rxmode.offloads &