Oracle-audio-technologies Sun Oracle SunDual 10GbE XFP Instrukcja Użytkownika Strona 45

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 86
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 44
Chapter 5 Configuring the nxge Device Driver Parameters 35
To Specify Device Instances for the ndd Utility
Before you use the ndd utility to get or set a parameter for a nxge device, you must
specify the device instance for the utility.
1. Check the /etc/path_to_inst file to identify the instance associated with a
particular device.
To Specify Parameter Values Using the ndd
Utility
This section describes how to modify and display parameter values.
1. To modify a parameter value, use the -set option.
If you invoke the ndd utility with the -set option, the utility passes value, which
must be specified, down to the named /dev/nxgedriver_instance, and assigns the
value to the parameter:
Where X is the driver instance, for example /dev/nxge0, /dev/nxge1.
2. To display the value of a parameter, specify the parameter name and omit the
value.
When you omit the -set option, the utility queries the named driver instance,
retrieves the value associated with the specified parameter, and prints it:
To Use the ndd Utility in Interactive Mode
1. To modify a parameter value in interactive mode, specify ndd /dev/nxgeX:
# grep nxge /etc/path_to_inst
"/pci@7c0/pci@0/pci@9/network@0" 0 "nxge"
"/pci@7c0/pci@0/pci@9/network@0,1" 1 "nxge"
# ndd -set /dev/nxgeX parameter-value
# ndd /dev/nxgeX parameter
# ndd /dev/nxge0
name to get/set? (Enter the parameter name or ? to view all
parameters)
Przeglądanie stron 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 85 86

Komentarze do niniejszej Instrukcji

Brak uwag