cxgb4: introduce SMT ops to prepare for SMAC rewrite support
authorKumar Sanghvi <kumaras@chelsio.com>
Wed, 18 Oct 2017 15:19:11 +0000 (20:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Oct 2017 12:06:53 +0000 (13:06 +0100)
commit3bdb376e6944134d0f4d6d65497054a54ef273c9
tree5b932b9551c690062f85d2b5d5c1fbd50f257e1c
parent27ece1f357b71c63e6e35c645b9c344835d4a129
cxgb4: introduce SMT ops to prepare for SMAC rewrite support

Introduce SMT operations for allocating/removing entries from
SMAC table. Make TCAM filters use the SMT ops whenever SMAC rewrite
is required.

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/Makefile
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/smt.c [new file with mode: 0644]
drivers/net/ethernet/chelsio/cxgb4/smt.h [new file with mode: 0644]
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h
drivers/net/ethernet/chelsio/cxgb4/t4_tcb.h [new file with mode: 0644]