net/cxgbe: add flow operations to offload VLAN actions
authorShagun Agrawal <shaguna@chelsio.com>
Mon, 27 Aug 2018 12:52:30 +0000 (18:22 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Sep 2018 18:08:41 +0000 (20:08 +0200)
commit1decc62b1cbecc53cb9962366f1f12cb660ac499
tree0e26d9bd2ffc8506ad49889ef70433c8b802f689
parent23af667f1507e5c46f474ef3dea8978286097048
net/cxgbe: add flow operations to offload VLAN actions

Add flow API operations to offload vlan push, pop, and rewrite actions.
For vlan push or rewrite actions, allocate and program an entry from
L2T table. Use the L2T index to program vlan actions for LETCAM
(maskfull) and HASH (maskless) filters.

Signed-off-by: Shagun Agrawal <shaguna@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
doc/guides/rel_notes/release_18_11.rst
drivers/net/cxgbe/base/t4_msg.h
drivers/net/cxgbe/base/t4_tcb.h
drivers/net/cxgbe/cxgbe_filter.c
drivers/net/cxgbe/cxgbe_filter.h
drivers/net/cxgbe/cxgbe_flow.c