DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Qinglai Xiao <jigsaw@gmail.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] Request for comments on ixgbe TSO support
Date: Fri, 4 Oct 2013 10:40:30 -0700	[thread overview]
Message-ID: <20131004104030.206356dd@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <1380906413-3406-1-git-send-email-jigsaw@gmail.com>

On Fri,  4 Oct 2013 20:06:52 +0300
Qinglai Xiao <jigsaw@gmail.com> wrote:

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

This will work for local generated packets but overlapping existing
field won't work well for forwarding.

What we want to be able to do is to take offload (jumbo) packets in
with from virtio (need better driver support which I am doing), and then
send them through to network devices.

  parent reply	other threads:[~2013-10-04 17:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Stephen Hemminger [this message]
2013-10-04 17:54   ` [dpdk-dev] [PATCH] Request for comments on ixgbe TSO support 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131004104030.206356dd@nehalam.linuxnetplumber.net \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=jigsaw@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).