diff options
author | Nathan Binkert <binkertn@umich.edu> | 2006-03-03 14:17:48 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2006-03-03 14:17:48 -0500 |
commit | 7546fabe68a1dc6ec9b9e020f5e2b1cc0aa31c21 (patch) | |
tree | cd25b9096d5dd90617c5fdf414e255d074748c42 /dev/sinicreg.hh | |
parent | 0fed64a6a47a62a94a53c5f41ac89b34a2fd6786 (diff) | |
download | gem5-7546fabe68a1dc6ec9b9e020f5e2b1cc0aa31c21.tar.xz |
Ethernet devices have an RSS option to tell the driver to
use Receive side scaling
dev/ns_gige.cc:
dev/ns_gige.hh:
dev/ns_gige_reg.h:
dev/sinic.cc:
dev/sinic.hh:
dev/sinicreg.hh:
add support for setting the RSS flag to notify the driver
to use RSS
--HG--
extra : convert_revision : 5f0c11668ae976634b3bf0caad669a9464a4c041
Diffstat (limited to 'dev/sinicreg.hh')
-rw-r--r-- | dev/sinicreg.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/sinicreg.hh b/dev/sinicreg.hh index fc1f4c06b..f90432398 100644 --- a/dev/sinicreg.hh +++ b/dev/sinicreg.hh @@ -81,6 +81,7 @@ __SINIC_REG32(HwAddr, 0x60); // 64: mac address __SINIC_REG32(Size, 0x68); // register addres space size // Config register bits +__SINIC_VAL32(Config_RSS, 10, 1); // enable receive side scaling __SINIC_VAL32(Config_RxThread, 9, 1); // enable receive threads __SINIC_VAL32(Config_TxThread, 8, 1); // enable transmit thread __SINIC_VAL32(Config_Filter, 7, 1); // enable receive filter |