Re: Display hardmtu with ifconfig hwfeatures

2012-11-24 Thread Brad Smith
On Fri, Nov 23, 2012 at 06:19:44PM +, Stuart Henderson wrote: In some cases (especially 100Mb chips which support baby jumbos) I know that they don't reflect the capability of the chip. That wasn't the original intent when hardmtu was added, but it makes sense to allow for it. Although most

Re: Display hardmtu with ifconfig hwfeatures

2012-11-23 Thread Reyk Floeter
On Fri, Nov 23, 2012 at 04:04:20PM +, Stuart Henderson wrote: This adds an ioctl to retrieve if_hardmtu, and adds code to display it via ifconfig hwfeatures. $ ifconfig em0 hwfeatures em0: flags=8b43UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST mtu 1500

Re: Display hardmtu with ifconfig hwfeatures

2012-11-23 Thread Christian Weisgerber
Stuart Henderson s...@spacehopper.org wrote: This adds an ioctl to retrieve if_hardmtu, and adds code to display it via ifconfig hwfeatures. I'm worried that our drivers don't set this or that the value doesn't accurately reflect the capabilities of chip/driver. -- Christian naddy Weisgerber

Re: Display hardmtu with ifconfig hwfeatures

2012-11-23 Thread Reyk Floeter
On Fri, Nov 23, 2012 at 05:46:27PM +, Christian Weisgerber wrote: Stuart Henderson s...@spacehopper.org wrote: This adds an ioctl to retrieve if_hardmtu, and adds code to display it via ifconfig hwfeatures. I'm worried that our drivers don't set this or that the value doesn't

Re: Display hardmtu with ifconfig hwfeatures

2012-11-23 Thread Stuart Henderson
On 2012/11/23 17:46, Christian Weisgerber wrote: Stuart Henderson s...@spacehopper.org wrote: This adds an ioctl to retrieve if_hardmtu, and adds code to display it via ifconfig hwfeatures. I'm worried that our drivers don't set this or that the value doesn't accurately reflect the

Re: Display hardmtu with ifconfig hwfeatures

2012-11-23 Thread Mike Belopuhov
On Fri, Nov 23, 2012 at 5:16 PM, Reyk Floeter r...@openbsd.org wrote: On Fri, Nov 23, 2012 at 04:04:20PM +, Stuart Henderson wrote: This adds an ioctl to retrieve if_hardmtu, and adds code to display it via ifconfig hwfeatures. $ ifconfig em0 hwfeatures em0: