net/cxgbe: add API to program hardware MPS table
authorShagun Agrawal <shaguna@chelsio.com>
Mon, 27 Aug 2018 12:52:31 +0000 (18:22 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Sep 2018 18:08:41 +0000 (20:08 +0200)
commit6fda3f0ddda9127c8562e724e3abc0f808c0bfd5
tree8f887a57621c1fbfc0048492234b9aa7889d377b
parent1decc62b1cbecc53cb9962366f1f12cb660ac499
net/cxgbe: add API to program hardware MPS table

Add API to program and manage hardware Multi Port Switch table. MPS
holds destination MAC addresses to be matched against incoming packets
for further rule processing. Packets not matching any entry in MPS table
will be dropped by default, unless the underlying port is in promiscuous
mode.

Signed-off-by: Shagun Agrawal <shaguna@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
drivers/net/cxgbe/Makefile
drivers/net/cxgbe/base/adapter.h
drivers/net/cxgbe/base/common.h
drivers/net/cxgbe/base/t4_hw.c
drivers/net/cxgbe/base/t4_regs.h
drivers/net/cxgbe/base/t4fw_interface.h
drivers/net/cxgbe/cxgbe_main.c
drivers/net/cxgbe/meson.build
drivers/net/cxgbe/mps_tcam.c [new file with mode: 0644]
drivers/net/cxgbe/mps_tcam.h [new file with mode: 0644]