7Linux Driver Setup
Configuration Scripts
Both
■TEAM_ID: this number uniquely identifies a team.
■
■
■
TEAM_TYPE: 0 = SLB, 1 = Generic Trunking/GEC/FEC
TEAM_NAME: ascii name of the team
TEAM_PAx_NAME: ASCII name of the physical interface x, where x can be 0 to 7.
■TEAM_PAx_ROLE: role of the physical interface x 0 = Primary, 1 =
■TEAM_VAx_NAME: ASCII name of the virtual interface x, where x can be 0 to 63
■TEAM_VAX_VLAN: 802.1p VLAN ID of the virtual interface x. For untagged virtual interface, i.e., without VLAN enable, set it to 0. The valid VLAN ID can be 0 to 4094.
NICE Patches
Also included in this distributions are network device drivers patched with NICE support. These drivers are originally taken from Linux 2.2.16 kernel distribution. To install patched drivers:
1Copy the NICE header file, “nicext.h”, to the Linux kernel include directory as follows:
where /usr/src is the temp directory you created when you installed the “Advanced Server Features” on page 67.
2Rename the original network device driver under the Linux kernel source tree /usr/src/ linux/drivers/net:
mv /usr/src/linux/drivers/net/3c59x.c /usr/src/linux/drivers/ net/3c9x.orig
3Copy the patched drivers to the Linux kernel network driver source directory /usr/src/ linux/drivers/net:
cp 3c59x.c /usr/src/linux/drivers/net/3c59x.c
4Follow the kernel rebuild instructions to configure kernel support of these drivers as follows:
CD /usr/src/linux make config
5If the patched drivers are configured into kernel, go to step 7. If the patched drivers are configured as module, go to step 6.
6In the case of supporting only a module version of these drivers, it is possible to run the following steps to compile the patched driver, then install them into the proper module directory:
make modules
make modules_install
There is no need to compile the complete kernel, go to step (8).
7Rebuild the kernel to compile these patched drivers, as follows: make dep
make clean make bzImage
8Either reboot the system or unload/load the patched modules. Then run configuration scripts to test the patch.
72