aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.com>2013-03-21 05:55:55 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-21 12:05:08 -0400
commit2c473ae7e5826c108e52f4a9d75425fd4c6f9ed1 (patch)
tree51f14e32590bc9c3502df95240cf2a0cd58456f7 /net/sctp
parentnet/mlx4_core: Always use 64 bit resource ID when doing lookup (diff)
downloadlinux-dev-2c473ae7e5826c108e52f4a9d75425fd4c6f9ed1.tar.xz
linux-dev-2c473ae7e5826c108e52f4a9d75425fd4c6f9ed1.zip
net/mlx4_core: Disallow releasing VF QPs which have steering rules
VF QPs must not be released when they have steering rules attached to them. For that end, introduce a reference count field to the QP object in the SRIOV resource tracker which is incremented/decremented when steering rules are attached/detached to it. QPs can be released by VF only when their ref count is zero. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions