cxgb4: add tc flower match support for tunnel VNI
authorKumar Sanghvi <kumaras@chelsio.com>
Mon, 14 May 2018 12:21:21 +0000 (17:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 May 2018 02:50:15 +0000 (22:50 -0400)
commit98f3697f8d4129366b5215e47719581db2d54df2
tree6944e7736dc982d985df85a3519664894e8d9c28
parent96faf246d07cb35e7cc2c926b4e32fefab0dd8a6
cxgb4: add tc flower match support for tunnel VNI

Adds support for matching flows based on tunnel VNI value.
Introduces fw APIs for allocating/removing MPS entries related
to encapsulation. And uses the same while adding/deleting filters
for offloading flows based on tunnel VNI match.

Signed-off-by: Kumar Sanghvi <kumaras@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/cxgb4_filter.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
drivers/net/ethernet/chelsio/cxgb4/l2t.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h