Code Monkey home page Code Monkey logo

nicdrv's Introduction

NIC-Driver-Test-Suite install Guide

  1. Install zfstest https://github.com/delphix/zfstest
  2. Prepare two servers Client and Server with two network interfaces.
  3. Build
  • Add C compiler and STF path to environment.

PATH=/opt/SUNWspro/bin:/opt/SUNWstc-stf/bin/isainfo -n:$PATH;

export PATH

  • Define the environment variable CODEMGR_WS.

CODEMGR_WS=<local_ws>

export CODEMGR_WS

  • Change to nicdrv source directory.

cd ${CODEMGR_WS}/src/suites/net/nicdrv

  • Build the nicdrv test suite.

stf_build

  • Change to <SUITE_ROOT> directory.

cd <local_ws>/proto/suites/net/nicdrv

  1. Add PATH to run tests

PATH=/opt/SUNWspro/bin:/opt/SUNWstc-stf/bin/isainfo -n:$PATH; export PATH

  1. Following files should be changed.

Please set the appropriate values for the mandatory variables specified in <SUITE_ROOT>/config.vars using 'stf_configure -c' or 'stf_configure -f'

The following options need to be changed:

TST_INT= TST_NUM= RMT_INT= RMT_NUM= LOCAL_HST= RMT_HST= TST_PASS= NETPERF_HOME= RUN_MODE=

For details on the options listed above, please refer to comments of the config.vars file. Note TST_INT should be network card of LOCAL_HST IP or hostname

In the <SUITE_ROOT> directory, run:

stf_configure

  1. Run stf tests.

Execute the test suites still in the <SUITE_ROOT> directory

stf_execute -m isainfo -n

  1. Examples and results

While the test is being executed, you can view the journal file at: /var/tmp/SUNstc-nicdrv/results, for example "tail -f /var/tmp/nicdrv/results/journal.hostname1.20070821185114.execute.i386"

nicdrv's People

Contributors

scyber avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.