Hi,

I don't know the steps, I did not run stf_unconfig before doing any 
re-configuration, nor did I run
$ export DRIVER_SPEED=10G
I read the config.vars file which says users can change some sections of the 
file, so I directly modify some settings in config.vars and then, run 
#stf_configure, hoping NICDrv can find and use what I changed. I actually 
saw the test server talk to the new test client, so I thought this is OK, 
but the test did not run well soon.

Tom
----- Original Message ----- 
From: "UVR" <[email protected]>
To: "Tom Chen" <chentom60 at hotmail.com>
Cc: <testing-discuss at opensolaris.org>
Sent: Saturday, February 28, 2009 8:22 PM
Subject: Re: [testing-discuss] How to change NICDrv configuration correctly?


> Tom Chen wrote on Sat Feb 28 2009 08:40:12 GMT-0800 (PST):
>> Hello,
>>
>> I am using NICDrv to test nic drivers. I just installed auto NICDrv and 
>> did some tests. The default setup is to test 1G cards. I have several 
>> network cards (NIC)s to test, 1Gb and 10Gb. I am wondering  how to change 
>> client's IP address and other settings correctly.
>> I modified /opt/SUNWstc-nicdrv/config.vars fiel, changed client's IP 
>> address and DRIVER_SPEED=${DRIVER_SPEED:-10G}. Then I run #stf_configure 
>> After this is done. I started testing, but I encounter some issues. I am 
>> wondering if the way to reconfig NICDrv is ok or not? How can we change 
>> setting correctly? Should I reboot both  server & client after each 
>> re-configuration?
>>
>> Tom
>
>
> It will be helpful if you could describe what issues you
> encountered.  Did you run stf_unconfigure first before
> re-running stf_configure to redefine configure variable(s)?
> That is, did you do:
>
> $ stf_unconfigure
> $ export DRIVER_SPEED=10G
> $ stf_configure
>
> or did you skip the stf_unconfigure?
>
> Please note that config.vars variables that are not marked
> STF_NOT_SAFE can also be reconfigured by either stf_configure
> or stf_execute.  The syntax is:
>
> $ stf_configure -c "var=value"
> $ stf_execute -c "var=value"
>
> For example, stf_configure -c "DRIVER_SPEED=10G".  Invoking
> stf_unconfigure is not necessary if the '-c' option is used.
>
>
> -UVR.
>
> 


Reply via email to