#include #include "common.h" void main(void) { pthread_mutex_t a, b, c; pthread_mutex_init(&a, NULL); pthread_mutex_init(&b, NULL); pthread_mutex_init(&c, NULL); LOCK_UNLOCK_2(a, b); LOCK_UNLOCK_2(b, c); LOCK_UNLOCK_2(c, a); } 'https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2013-11-07 15:25:16 +0200
committerRoland Dreier <roland@purestorage.com>2014-01-14 14:06:50 -0800
commita37a1a428431d3e7e9f53530b5c56ff7867bd487 (patch)
tree1c50f676da6b7dcf021b64135f37d6fc150ad30b
parent0a9b7d59d5a8e2b97406a29a8a807bbc5ce7092e (diff)
IB/mlx4: Add mechanism to support flow steering over IB links
The mlx4 device requires adding IB flow spec to rules that apply over infiniband link layer. This patch adds a mechanism to add such a rule. If higher levels e.g. IP/UDP/TCP flow specs are provided, the device requires us to add an empty wild-carded IB rule. Furthermore, the device requires the QPN to be put in the rule. Add here specific parsing support for IB empty rules and the ability to self-generate missing specs based on existing ones. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>