DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] Request for comments on ixgbe TSO support
@ 2013-10-04 17:06 Qinglai Xiao
  2013-10-04 17:06 ` [dpdk-dev] [PATCH] ixgbe: TCP/UDP segment offload support on 82599 Qinglai Xiao
  2013-10-04 17:40 ` [dpdk-dev] [PATCH] Request for comments on ixgbe TSO support Stephen Hemminger
  0 siblings, 2 replies; 10+ messages in thread
From: Qinglai Xiao @ 2013-10-04 17:06 UTC (permalink / raw)
  To: dev

This patch is a draft of TSO on 82599. That is, it is not expected to be
accepted as is.
The problem is where to put the mss field. In this patch, the mss is put in
the union of hash in rte_pktmbuf. It is not the best place, but it is quite
convenient, since hash is not used in TX procedure.
The idea is to avoid increasing sizeof(struct rte_pktmbuf), while keeping mss
easy to access.

However, the hash is also misleading, coz mss has nothing to do with Rx hash.
A more formal way could be rename hash as below:

	union {
		uint32_t data;
		struct rx_hash hash;
		uint32_t tx_mss;
	} misc;	

It is gonna be a major change coz it affects the core data structure.

Any comments will be appreciated.

Qinglai Xiao (1):
  ixgbe: TCP/UDP segment offload support on 82599.

 lib/librte_mbuf/rte_mbuf.h        |    6 +++++-
 lib/librte_pmd_ixgbe/ixgbe_rxtx.c |   32 +++++++++++++++++++++++++++++---
 2 files changed, 34 insertions(+), 4 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2013-10-08  7:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-04 17:06 [dpdk-dev] [PATCH] Request for comments on ixgbe TSO support Qinglai Xiao
2013-10-04 17:06 ` [dpdk-dev] [PATCH] ixgbe: TCP/UDP segment offload support on 82599 Qinglai Xiao
2013-10-04 17:40 ` [dpdk-dev] [PATCH] Request for comments on ixgbe TSO support Stephen Hemminger
2013-10-04 17:54   ` jigsaw
2013-10-04 18:23     ` Stephen Hemminger
2013-10-04 18:38       ` Venkatesan, Venky
2013-10-04 19:10         ` jigsaw
2013-10-04 21:19           ` Stephen Hemminger
2013-10-08  6:59           ` Zhu, Heqing
2013-10-08  7:56             ` jigsaw

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).