Re: PATCH: Virtio memory balooning

2012-11-07 Thread Janne Johansson
Any reason for this being i386 or just not tested on virtual amd64s? 2012/11/6 Dinar Talypov t.dina...@gmail.com: Hi, This patch adds virtio memory ballooning device support. Actually code was taken from NetBSD and I rewrote some OpenBSD specific parts. +static const struct

Re: em(4): enable TCP/UDP checksum offload

2012-11-07 Thread Tomas Bodzar
Hi, somewhat strange results here $ ifconfig em0 hwfeatures em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 hwfeatures=36CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING lladdr XX:XX:XX:XX:XX:XX priority: 0 groups: egress media: Ethernet

Re: em(4): enable TCP/UDP checksum offload

2012-11-07 Thread Tomas Bodzar
On Wed, Nov 7, 2012 at 12:32 PM, Tomas Bodzar tomas.bod...@gmail.com wrote: Hi, somewhat strange results here $ ifconfig em0 hwfeatures em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 hwfeatures=36CSUM_TCPv4,CSUM_UDPv4,VLAN_MTU,VLAN_HWTAGGING lladdr

Re: em(4): enable TCP/UDP checksum offload

2012-11-07 Thread Hrvoje Popovski
On 5.11.2012 23:45, Hrvoje Popovski wrote: On 5.11.2012. 14:38, Hrvoje Popovski wrote: Hello, it's working here. Please ignore working here part. It is enabled here. Will play with combination of 82546GB and 82541GI interfaces. 82546GB pf (with henning's patch) + ipforward and with or

Re: em(4): enable TCP/UDP checksum offload

2012-11-07 Thread Christopher Zimmermann
On Sun, 4 Nov 2012 16:06:31 +0100 Christopher Zimmermann madro...@gmerlin.de wrote: On Sun, 4 Nov 2012 14:46:34 +0100 Stefan Sperling s...@openbsd.org wrote: On Sun, Nov 04, 2012 at 01:21:38PM +, Christian Weisgerber wrote: Christian Weisgerber na...@mips.inka.de wrote: Like

ix: IFCAP_CSUM flags are pointless for the rx checksums

2012-11-07 Thread Mike Belopuhov
Remove code that is confusing and wrong: we don't want to disable rx checksumming if IFCAP_CSUM_IPv4 is set. Whatever this code used to mean in FreeBSD it doesn't do any good here. IXGBE_RXCSUM_PCSD is set when you do RSS (and is correctly handled in the visible RSS chunk below). OK? Index:

Re: [PATCH 1/1] Window class and name both come from WM_CLASS property.

2012-11-07 Thread Okan Demirmen
On Mon 2012.11.05 at 13:33 -0600, kspill...@acm.org wrote: Explicitly mention that the values of class and name for use with autogroup can both be obtained from the WM_CLASS property of existing windows. applied this one - thank you.

Calling all softdep lovers: This turns down the suck on softdep.

2012-11-07 Thread Bob Beck
Hello tech@. I just committed some significant fixes to the buffer cache in -current. (you want to look for version 1.139 of vfs_bio.c) If you have such a current kernel, you may wish to try the following diff - it is a backout of a previous commit that emasculated softdep in order to make is

Re: Calling all softdep lovers: This turns down the suck on softdep.

2012-11-07 Thread Mike Larkin
On Wed, Nov 07, 2012 at 11:25:55AM -0700, Bob Beck wrote: Hello tech@. I just committed some significant fixes to the buffer cache in -current. (you want to look for version 1.139 of vfs_bio.c) If you have such a current kernel, you may wish to try the following diff - it is a backout

Re: upstream vendors and why they can be really harmful

2012-11-07 Thread Kevin Chadwick
and if you come with proper arguments (and code) they will be more than happy to include it or change the way they do things to accomodate to standards. Lennart is a different matter, he made it clear he doesn't care about the rest of the ecosystem. But he is just one guy and his lobbying

Re: Calling all softdep lovers: This turns down the suck on softdep.

2012-11-07 Thread Bob Beck
Just a followon for tech people - if you do use this and hit a problem, I would very much appreciate your dmesg, as well as from ddb, ps trace show bcstats and show uvm. -Bob On Wed, Nov 07, 2012 at 10:35:03AM -0800, Mike Larkin wrote: On Wed, Nov 07, 2012 at 11:25:55AM -0700, Bob Beck

Re: em(4): enable TCP/UDP checksum offload

2012-11-07 Thread Andreas Bartelt
looks good: # dmesg |grep ^em em0 at pci9 dev 0 function 0 Intel PRO/1000 PT (82571EB) rev 0x06: apic 0 int 8, address X:X:X:X:X:X em1 at pci9 dev 0 function 1 Intel PRO/1000 PT (82571EB) rev 0x06: apic 0 int 18, address X:X:X:X:X:X # ifconfig em hwfeatures em0:

Re: [cwm 1/1] Add a menu to search and call internal functions.

2012-11-07 Thread Thomas Pfaff
Why not for (iter = 0; iter nitems(name_to_kbfunc); iter++) { func = name_to_kbfunc[iter]; /* if you want to use func */ then you don't need the last NULL entry in the array or add code to not break existing code. See: http://c-faq.com/decl/extarraysize.html The

Re: em(4): enable TCP/UDP checksum offload

2012-11-07 Thread Andreas Bartelt
and these also look good: dmesg|grep ^em em0 at pci3 dev 0 function 0 Intel PRO/1000 PT (82572EI) rev 0x06: apic 2 int 17, address X:X:X:X:X:X ifconfig em hwfeatures em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500

Re: upstream vendors and why they can be really harmful

2012-11-07 Thread William Ahern
On Tue, Nov 06, 2012 at 06:24:58PM -0200, Daniel Bolgheroni wrote: On Tue, Nov 06, 2012 at 01:38:32PM +0100, Marc Espie wrote: It's also quickly turning Posix and Unix into a travesty: either you have the linux goodies, or you don't. And if you don't, you can forget anything modern...

Re: upstream vendors and why they can be really harmful

2012-11-07 Thread Tomas Bodzar
On Wed, Nov 7, 2012 at 9:40 PM, William Ahern will...@25thandclement.com wrote: On Tue, Nov 06, 2012 at 06:24:58PM -0200, Daniel Bolgheroni wrote: On Tue, Nov 06, 2012 at 01:38:32PM +0100, Marc Espie wrote: It's also quickly turning Posix and Unix into a travesty: either you have the linux

Re: upstream vendors and why they can be really harmful

2012-11-07 Thread Chris Cappuccio
Tomas Bodzar [tomas.bod...@gmail.com] wrote: Here you can read what Linux devs think about Dfly for example https://plus.google.com/101384639386588513837/posts/Dkb8iixE4eP Yes, let's all work on Linux!!! Let's all move to Texas. And, what's with this water? Like in the toilets? What about

Re: upstream vendors and why they can be really harmful

2012-11-07 Thread Kevin Chadwick
On Wed, 7 Nov 2012 22:52:19 +0100 Lars von den Driesch larsvondendrie...@gmail.com wrote: The only distros with a fair few users who have switched and still have far less users are Fedora, Mageia and OpenSUSE. Let's have an eye on Arch-Linux. And they have lost users over it. I left

Re: PATCH: Virtio memory balooning

2012-11-07 Thread Dinar Talypov
Hi, Here is a updated version: - fixes panic when host requests more memory to deflate than guest has - some cleanup Index: files.pci === RCS file: /cvs/src/sys/dev/pci/files.pci,v retrieving revision 1.289 diff -u -r1.289 files.pci