From: Thomas Graf <tgraf-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Zhuangyuxin <zhuangyuxin-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>,
"jesse-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org"
<jesse-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org>,
"blp-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org"
<blp-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org>
Cc: "dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org"
<dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org>,
"netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"fleitner-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org"
<fleitner-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: 答复: [PATCH openvswitch v3] netlink: Implement & enable memory mapped netlink i/o
Date: Wed, 04 Dec 2013 10:08:59 +0100 [thread overview]
Message-ID: <529EF12B.5050205@redhat.com> (raw)
In-Reply-To: <9C2DE4B8FE85984BA1B0581235F6B2ED0F5D440A-tJwL4pWccCZdGU6diIvhbAK1hpo4iccwjNknBlVQO8k@public.gmane.org>
On 12/04/2013 02:54 AM, Zhuangyuxin wrote:
> In this patch, each frame takes 16k mem. For sockets used for upcall, does it make more sense to calculate frame size based on MTU of the netdev on the port?
I assume you mean max(MTU) over all ports? We would have to replace the
ring after each MTU change. Doing so in use is non trivial and
expensive. The
current frame size of 16K covers jumbo frames and is a sane default but can
certainly be optimized further on, f.e. as we possibly extend OVS user space
to handle GSO frames.
next prev parent reply other threads:[~2013-12-04 9:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-03 11:19 [PATCH openvswitch v3] netlink: Implement & enable memory mapped netlink i/o Thomas Graf
[not found] ` <1d9af26b2798901c68ae9aef704d6313b71d3287.1386069453.git.tgraf-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-12-04 1:54 ` 答复: " Zhuangyuxin
[not found] ` <9C2DE4B8FE85984BA1B0581235F6B2ED0F5D440A-tJwL4pWccCZdGU6diIvhbAK1hpo4iccwjNknBlVQO8k@public.gmane.org>
2013-12-04 9:08 ` Thomas Graf [this message]
2013-12-04 16:33 ` Ben Pfaff
2013-12-04 17:20 ` Thomas Graf
[not found] ` <529F6475.3090903-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-12-04 17:56 ` Kais Belgaied
2013-12-04 18:08 ` Ben Pfaff
2013-12-04 21:48 ` Thomas Graf
2013-12-04 22:20 ` Jesse Gross
2013-12-05 22:08 ` Thomas Graf
2013-12-05 22:54 ` Ben Pfaff
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=529EF12B.5050205@redhat.com \
--to=tgraf-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=blp-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org \
--cc=dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org \
--cc=fleitner-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=jesse-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=zhuangyuxin-hv44wF8Li93QT0dZR+AlfA@public.gmane.org \
/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).