net/cxgbe: query firmware for filter resources
authorShagun Agrawal <shaguna@chelsio.com>
Fri, 8 Jun 2018 17:58:11 +0000 (23:28 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commit6f2a064bef93057f508c5e81bcfeb8d637ae0baa
tree6470ca85376b5dc41add177fc73262e9fee78cbc
parent8c7cd2fa4e3d5441d725d8f1a888dad1633d3b52
net/cxgbe: query firmware for filter resources

Fetch available filter resources from firmware and allocate table for
book-keeping and managing filters in hardware. Also define the hardware
filter specification (ch_filter_specification) used to describe each
filter rule.

Signed-off-by: Shagun Agrawal <shaguna@chelsio.com>
Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
drivers/net/cxgbe/base/adapter.h
drivers/net/cxgbe/base/t4fw_interface.h
drivers/net/cxgbe/cxgbe_filter.h [new file with mode: 0644]
drivers/net/cxgbe/cxgbe_main.c
drivers/net/cxgbe/cxgbe_ofld.h [new file with mode: 0644]