All of lore.kernel.org
 help / color / mirror / Atom feed
From: pravin shelar <pshelar@ovn.org>
To: Rick Jones <rick.jones2@hpe.com>
Cc: William Tu <u9012063@gmail.com>,
	Linux Kernel Network Developers <netdev@vger.kernel.org>
Subject: Re: [PATCH] openvswitch: Add packet truncation support.
Date: Thu, 9 Jun 2016 11:17:55 -0700	[thread overview]
Message-ID: <CAOrHB_BUYhZxOMrs4EJyCA1Z8UTYKCNLv3G1rEX5LHP_yamxDw@mail.gmail.com> (raw)
In-Reply-To: <575991E1.9020906@hpe.com>

On Thu, Jun 9, 2016 at 8:57 AM, Rick Jones <rick.jones2@hpe.com> wrote:
> On 06/08/2016 09:30 PM, pravin shelar wrote:
>>
>> On Wed, Jun 8, 2016 at 6:18 PM, William Tu <u9012063@gmail.com> wrote:
>>>
>>> +struct ovs_action_trunc {
>>> +       uint32_t max_len; /* Max packet size in bytes. */
>>
>> This could uint16_t. as it is related to packet len.
>>
>
> Is there something limiting MTUs to 65535 bytes?
>
I was thinking of typical traffic, ip, ip6. But since linux skb can
have handle larger packet lets keep this field 32bit.
So now we also needs cutlen to be 32 bit.

  reply	other threads:[~2016-06-09 18:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09  1:18 [PATCH] openvswitch: Add packet truncation support William Tu
2016-06-09  4:30 ` pravin shelar
2016-06-09 15:57   ` Rick Jones
2016-06-09 18:17     ` pravin shelar [this message]
     [not found]   ` <CALDO+SZ-Zzc96VQPHsKoDaSsQg6ZFmQWDaXhGLwny4FD2bqcSg@mail.gmail.com>
2016-06-09 22:04     ` pravin shelar

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=CAOrHB_BUYhZxOMrs4EJyCA1Z8UTYKCNLv3G1rEX5LHP_yamxDw@mail.gmail.com \
    --to=pshelar@ovn.org \
    --cc=netdev@vger.kernel.org \
    --cc=rick.jones2@hpe.com \
    --cc=u9012063@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.