summaryrefslogtreecommitdiffstats
path: root/include/misc
diff options
context:
space:
mode:
authorRahul Lakkireddy2016-09-20 13:43:07 +0200
committerDavid S. Miller2016-09-22 07:40:01 +0200
commit578b46b9383c3619cc0a6002ff867e732b08b67a (patch)
tree772db542f13be6c648613233534e9c287caa9871 /include/misc
parentcxgb4: move common filter code to separate file (diff)
downloadkernel-qcow2-linux-578b46b9383c3619cc0a6002ff867e732b08b67a.tar.gz
kernel-qcow2-linux-578b46b9383c3619cc0a6002ff867e732b08b67a.tar.xz
kernel-qcow2-linux-578b46b9383c3619cc0a6002ff867e732b08b67a.zip
cxgb4: add common api support for configuring filters
Enable filters for non-offload configuration and add common api support for setting and deleting filters in LE-TCAM region of the hardware. IPv4 filters occupy one slot. IPv6 filters occupy 4 slots and must be on a 4-slot boundary. IPv4 filters can not occupy a slot belonging to IPv6 and the vice-versa is also true. Filters are set and deleted asynchronously. Use completion to wait for reply from firmware in order to allow for synchronization if needed. Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions