DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] ixgbe tcp cksum offload
@ 2015-05-25 10:15 Tim Deng
  2015-05-25 10:28 ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Deng @ 2015-05-25 10:15 UTC (permalink / raw)
  To: dev

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=GBK, Size: 687 bytes --]

Hi,


I am trying to use ixgbe tcp cksum h/w offload by following steps:
- populate pseudo cksum
- set l2_len, l3_len, l4_len
- set ol_flags


But I found the pkt doesn't get right h/w checksum by sniffing on recv side, and TCP cksum still leave with the original pseudo cksum. 
And I verified those meta are correctly set, e.g. a TCP syn pkt:
l2_len = 14, l3_len = 20, l4_len = 40 (with some tcp options),
and ol_flags = 0x90000000000000 which means PKT_TX_IPV4 | PKT_TX_TCP_CKSUM


Did I miss any step?


Thanks in advance,
Tim

\x16º&u©š®*'r+\x1c¡Ê&2‰Ìk-¹×m´ç´×”^¶êç=«au©š®*'r+\x1c¡Ê&Eç\x1eŠ÷~º&iê⦊íÕȬr‡(™§«Šš+·W"±Ê\x1c¢m{ß\x7f6Ó~uo'ivJ+€ú,µø±Â+a\x11#\x13>'x\vÞ}\x13­Ÿ¢·^½Ú]’Šà2‰öäƲÛMy×m´çŸ´ÛM\x02\x11$Ã(ƒ\x12Š	Ú¶êÞ

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-25 10:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 10:15 [dpdk-dev] ixgbe tcp cksum offload Tim Deng
2015-05-25 10:28 ` Bruce Richardson
2015-05-25 10:50   ` Tim Deng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).