When you initialize the RSS capabilities structure, set the structure's RSS callback members to register your implementations for these callbacks:.Initialize the capabilities structure by calling NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES_INIT.When starting your net adapter, tell the system about your hardware's RSS capabilities and constraints using the NET_ADAPTER_RECEIVE_SCALING_CAPABILITIES structure.To get started with RSS in NetAdapterCx, follow these steps: Since datapath queues are torn down as the first step during power-down, this means that clients don't have to handle possible RSS events at any other stage during power-down. Later, when the driver is unloading, NetAdapterCx won't call RSS callbacks after datapath queues have been destroyed during the power-down sequence. Clients don't have to manage indirection table move requests or handle other RSS events until everything they need is ready. The design of RSS in NetAdapterCx guarantees that the system won't call a client's RSS callbacks and enable RSS until the very end of the power-up sequence. The driver must be in the D0 power state.The driver's datapath queues must be created and ready to accept requests.This includes implementing four RSS callbacks and registering them in the RSS capabilities structure. The driver must set RSS capabilities when starting a net adapter, but before calling NetAdapterStart.A client driver for an RSS-capable NIC only needs to meet three criteria to support RSS in NetAdapterCx: RSS in NetAdapterCx focuses on ease of configuration, simplicity of enablement and disablement, and abstraction of processor-to-interrupt complexity. For more information about RSS in general, including diagrams illustrating RSS in different hardware scenarios, see Receive Side Scaling. This topic highlights RSS for NetAdapterCx client drivers and assumes knowledge of RSS concepts and terminology. RSS improves system performance and increases network scalability by harnessing all available processors in a system and dynamically rebalancing CPU workloads. Receive side scaling (RSS) is a network driver technology that enables the efficient distribution of network receive processing across multiple CPUs in multiprocessor systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |