summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_hw.h
diff options
context:
space:
mode:
authorSarveshwar Bandi <sarveshwarb@serverengines.com>2010-03-31 02:56:12 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-01 19:53:14 -0700
commitba343c7736b36d62d276e20383588bcf9403d6c6 (patch)
tree3b157ff000be3ef3ead1a07d038e5afd23d03e53 /drivers/net/benet/be_hw.h
parentf64e96973a1fa885ce6e4f7e3fdbae83de98fcab (diff)
downloadblackbird-op-linux-ba343c7736b36d62d276e20383588bcf9403d6c6.tar.gz
blackbird-op-linux-ba343c7736b36d62d276e20383588bcf9403d6c6.zip
be2net: Adding PCI SRIOV support
- Patch adds support to enable PCI SRIOV in the driver and changes to handle initialization of PCI virtual functions. - Function handler to change mac addresses for VF from its corresponding PF. Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_hw.h')
-rw-r--r--drivers/net/benet/be_hw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/benet/be_hw.h b/drivers/net/benet/be_hw.h
index 2d4a4b827637..063026de4957 100644
--- a/drivers/net/benet/be_hw.h
+++ b/drivers/net/benet/be_hw.h
@@ -99,6 +99,9 @@
/* Number of entries posted */
#define DB_MCCQ_NUM_POSTED_SHIFT (16) /* bits 16 - 29 */
+/********** SRIOV VF PCICFG OFFSET ********/
+#define SRIOV_VF_PCICFG_OFFSET (4096)
+
/* Flashrom related descriptors */
#define IMAGE_TYPE_FIRMWARE 160
#define IMAGE_TYPE_BOOTCODE 224
OpenPOWER on IntegriCloud