From: Ariel Elior Date: Tue, 1 Jan 2013 05:22:31 +0000 (+0000) Subject: bnx2x: Allocate VF database in PF when VFs are present X-Git-Tag: v3.9-rc1~139^2~500 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=290ca2bb456d4214f00ba0b83fcb9793963fe007;p=pandora-kernel.git bnx2x: Allocate VF database in PF when VFs are present When A PF determines that it may have to manage SRIOV VFs it allocates a database for this purpose. The database is intended to keep track of the VF state, the resources allocated for each VF (queues, interrupt vectors, etc), the state of the VF's queues. When the VF loads the database is updated accordingly. When A VF closes the database is consulted to determine which resources need to be released (close queues against device, reclaim interrupt vectors, etc). Signed-off-by: Ariel Elior Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed