[ovs-dev] 答复: [PATCH openvswitch v3] netlink: Implement & enable memory mapped netlink i/o

Thomas Graf tgraf at redhat.com
Wed Dec 4 09:08:59 UTC 2013


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.




More information about the dev mailing list