cxgb4: update LE-TCAM collection for T6
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Wed, 16 May 2018 14:21:15 +0000 (19:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 19:01:30 +0000 (15:01 -0400)
commit8e725f7caafb8e820e05707fe9853023375438cf
tree75f41345441dc5a8d35a1f4f3a5e26f9cd1671ad
parent7e360d9d3149afdd54158b72cb92da271f6bd07f
cxgb4: update LE-TCAM collection for T6

For T6, clip table is separated from main TCAM. So, update LE-TCAM
collection logic to collect clip table TCAM as well. IPv6 takes
4 entries in clip table TCAM compared to 2 entries in main TCAM.

Also, in case of errors, keep LE-TCAM collected so far and set the
status to partial dump.

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/cudbg_entity.h
drivers/net/ethernet/chelsio/cxgb4/cudbg_if.h
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h