diff options
author | Kumar Sanghvi <kumaras@chelsio.com> | 2013-12-18 16:38:23 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-22 18:09:08 -0500 |
commit | dcf7b6f5bdeaa13d5e465d8795d2e7d6d1e27b65 (patch) | |
tree | c69718d17abdd96beb0f4ed70729d0466c1a949e /drivers/infiniband | |
parent | 15f63b74c25797f9246b1738f0cfabd5febe226e (diff) | |
download | op-kernel-dev-dcf7b6f5bdeaa13d5e465d8795d2e7d6d1e27b65.zip op-kernel-dev-dcf7b6f5bdeaa13d5e465d8795d2e7d6d1e27b65.tar.gz |
cxgb4: Add API to correctly calculate tuple fields
Adds API cxgb4_select_ntuple so as to enable Upper Level Drivers to correctly
calculate the tuple fields.
Adds constant definitions for TP_VLAN_PRI_MAP for the Compressed
Filter Tuple field widths and structures and uses them.
Also, the CPL Parameters field for T5 is 40 bits so we need to prototype
cxgb4_select_ntuple() to calculate and return u64 values.
Based on original work by Casey Leedom <leedom@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions