From: Matan Barak Date: Thu, 7 Nov 2013 13:25:16 +0000 (+0200) Subject: IB/mlx4: Add mechanism to support flow steering over IB links X-Git-Tag: v3.14-rc1~103^2~1^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a37a1a428431d3e7e9f53530b5c56ff7867bd487;p=pandora-kernel.git 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 Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed