cxgb4: save additional filter tuple field shifts in tp_params
authorKumar Sanghvi <kumaras@chelsio.com>
Wed, 1 Nov 2017 03:22:59 +0000 (08:52 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 13:06:03 +0000 (22:06 +0900)
commit0ba9a3b65c794982f4dc7fcdc8110c327359916b
tree4303b3b35f1ffe2308a271e1427106108174d51d
parent1f2c897cb1ceb97cd6060eac353754fe926cb3be
cxgb4: save additional filter tuple field shifts in tp_params

Save additional filter tuple field shifts in tp_params based on
configured filter tuple fields.

Also, save the combined filter tuple mask based on configured
filter tuple fields.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h