git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2af3849
)
app/testpmd: warn if outer ip cksum is requested but not supported
author
Olivier Matz
<olivier.matz@6wind.com>
Fri, 13 Feb 2015 09:22:48 +0000
(10:22 +0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Mon, 16 Feb 2015 18:21:18 +0000
(19:21 +0100)
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
app/test-pmd/cmdline.c
patch
|
blob
|
history
diff --git
a/app/test-pmd/cmdline.c
b/app/test-pmd/cmdline.c
index
6a49309
..
4753bb4
100644
(file)
--- a/
app/test-pmd/cmdline.c
+++ b/
app/test-pmd/cmdline.c
@@
-2939,7
+2939,11
@@
csum_show(int port_id)
printf("Warning: hardware SCTP checksum enabled but not "
"supported by port %d\n", port_id);
}
-
+ if ((ol_flags & TESTPMD_TX_OFFLOAD_OUTER_IP_CKSUM) &&
+ (dev_info.tx_offload_capa & DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM) == 0) {
+ printf("Warning: hardware outer IP checksum enabled but not "
+ "supported by port %d\n", port_id);
+ }
}
static void