[OmniOS-discuss] Configuring Jumbo frames

2015-09-21 Thread steve

  Howdy!

   I have several bnx interfaces, bnx0 bnx1 bnx2 bnx3. I want to
directly connect bnx2 and bnx3 to another machine (ie. no
switch ), and configure jumbo frames on
these interfaces only. Is this possible and what do I need to do?

In bnx.conf I found this line


# mtu : Configures the hardware MTU size.  The valid range for this
#   parameter is 60 to 9000.  The default value is 1500.
#
#mtu=1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500;

 Should I put something like

mtu=1500,9000;

  in bnx.conf and can I control the mtu on the particular interface
with ifconfig and hostname.bnx files??

 thanx - steve




___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Configuring Jumbo frames

2015-09-21 Thread Doug Hughes
All 1gig interfaces are auto-mdix these days, which means they will
auto-negotiate and no special crossover cable is needed for host-to-host.

You can use ipadm to set the mtu like so:

ipadm set-ifprop -p mtu=9000 -m ipv4 bnx0

If the mtu updated in the driver.conf file is needed, you'll need to do
that first (I cannot confirm nor deny whether that is needed)


On Mon, Sep 21, 2015 at 4:11 PM,  wrote:

>
>   Howdy!
>
>I have several bnx interfaces, bnx0 bnx1 bnx2 bnx3. I want to
> directly connect bnx2 and bnx3 to another machine (ie. no
> switch ), and configure jumbo frames on
> these interfaces only. Is this possible and what do I need to do?
>
> In bnx.conf I found this line
>
>
> 
> # mtu : Configures the hardware MTU size.  The valid range for this
> #   parameter is 60 to 9000.  The default value is 1500.
> #
>
> #mtu=1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500;
>
>  Should I put something like
>
> mtu=1500,9000;
>
>   in bnx.conf and can I control the mtu on the particular interface
> with ifconfig and hostname.bnx files??
>
>  thanx - steve
>
>
>
>
> ___
> OmniOS-discuss mailing list
> OmniOS-discuss@lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Configuring Jumbo frames

2015-09-21 Thread Dan McDonald

> On Sep 21, 2015, at 4:11 PM, st...@linuxsuite.org wrote:
> 
>  in bnx.conf and can I control the mtu on the particular interface
> with ifconfig and hostname.bnx files??

bnx is an old, closed-source driver.  MAYBE it's up to date enough to interface 
with GLDv3 properly.

Try this:

dladm show-linkprop -p mtu bnx2

If you get an answer, you can use:

dladm set-linkprop -p mtu=9000 bnx2

to update on a per-link basis.

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Configuring Jumbo frames

2015-09-21 Thread Dan McDonald

> On Sep 21, 2015, at 4:28 PM, Volker A. Brandt  wrote:

> No.  The line you quoted defines the settings for 16 instances
> of the bnx driver.  To set jumbo frames for instances #2 and #3 only.
> you would need remove the comment sign and change it to
> 
> mtu=1500,1500,9000,9000,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500;
> 
>>  in bnx.conf and can I control the mtu on the particular
>> interface with ifconfig and hostname.bnx files??
> 
> Forget those.  This is OmniOS and the 21st century. :-)
> 
> Use dladm, as in:
> 
>  dladm set-linkprop -p mtu=9000 
> 
> where  is the name of your datalink, e.g. "bnx2" (if you have
> not renamed it to be something else).


It's not clear the stock bnx driver is in the 21st Century, however.  Glad you 
have the if-dladm-fails workaround, however.

Thanks Volker!
Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Configuring Jumbo frames

2015-09-21 Thread Volker A. Brandt
Hi Steve!


>I have several bnx interfaces, bnx0 bnx1 bnx2 bnx3. I
> want to directly connect bnx2 and bnx3 to another machine (ie. no
> switch ), and configure jumbo frames on these interfaces only. Is
> this possible

Yes.

> and what do I need to do?
>
> In bnx.conf I found this line
>
> 
> # mtu : Configures the hardware MTU size.  The valid range for this
> # parameter is 60 to 9000.  The default value is 1500.
> #
> #mtu=1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500;
>
>  Should I put something like
>
> mtu=1500,9000;

No.  The line you quoted defines the settings for 16 instances
of the bnx driver.  To set jumbo frames for instances #2 and #3 only.
you would need remove the comment sign and change it to

mtu=1500,1500,9000,9000,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500;

>   in bnx.conf and can I control the mtu on the particular
> interface with ifconfig and hostname.bnx files??

Forget those.  This is OmniOS and the 21st century. :-)

Use dladm, as in:

  dladm set-linkprop -p mtu=9000 

where  is the name of your datalink, e.g. "bnx2" (if you have
not renamed it to be something else).


Hope this helps -- Volker
-- 

Volker A. Brandt   Consulting and Support for Oracle Solaris
Brandt & Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANYEmail: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"
___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss


Re: [OmniOS-discuss] Configuring Jumbo frames

2015-09-21 Thread Dan McDonald

> On Sep 21, 2015, at 4:25 PM, Doug Hughes  wrote:
> 
> 
> You can use ipadm to set the mtu like so:
> 
> ipadm set-ifprop -p mtu=9000 -m ipv4 bnx0

But you also have to set the dladm property, Doug.  And since bnx is 
closed-source, I can't just confirm it works.

Dan

___
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss