summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2011-12-13 04:13:05 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-13 13:56:06 -0500
commit3ec65b2be5bed241a0d7c01a54a5d64dcbaf1f2b (patch)
treea532efd476a90b57c6b977e711b63ae19b2eaebe /net
parent5cc914f10851d2dc17005c7d26cdd70adcbecbcd (diff)
downloadlinux-3ec65b2be5bed241a0d7c01a54a5d64dcbaf1f2b.tar.bz2
mlx4_core: srq modifications for SRIOV
SRQs are resources which are allocated and tracked by the PF driver. In multifunction mode, the allocation and icm mapping is done in the resource tracker (later patch in this sequence). To accomplish this, we have "work" functions whose names start with "__", and "request" functions (same name, no __). If we are operating in multifunction mode, the request function actually results in comm-channel commands being sent (ALLOC_RES or FREE_RES). The PF-driver comm-channel handler will ultimately invoke the "work" (__) function and return the result. If we are not in multifunction mode, the "work" handler is invoked immediately. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions