diff options
author | Anirban Chakraborty <anirban.chakraborty@qlogic.com> | 2010-06-01 11:28:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-02 02:24:03 -0700 |
commit | 2e9d722db6617ed10204bfa9cd60552620592a43 (patch) | |
tree | da905f18459e55a8cb534d757f5b14a3e9da73d5 /block/noop-iosched.c | |
parent | dd8f61d7ff92eb8a4626565ca37b209b3a8a9ce2 (diff) |
qlcnic: NIC Partitioning - Add basic infrastructure support
Following changes have been added to enable the adapter to work in
NIC partitioning mode where multiple PCI functions of an adapter port can
be configured to work as NIC functions. The first function that is enumerated on
the PCI bus assumes the role of management function which, besides being able
to do all the NIC functionality, can configure other NIC partitions. Other NIC
functions can be configured as privileged or non privileged functions.
Privileged function can not configure other NIC functions but can do all the
NIC functionality including any firmware initialization, chip reset etc. Non
privileged functions can do only basic IO. For chip reset etc, it depends on the
privilege or management function.
1. Added code to determine PCI function number independent of kernel API.
2. Added Driver - FW version 2.0 support.
3. Changed producer and consumer register offset calculation.
4. Added management and privileged operation modes for npar functions. A module
parameter has been added to control it.
5. Added support for configuring the eswitch in the adapter.
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions