]> asedeno.scripts.mit.edu Git - linux.git/commit
cxgb4: Enable hash filter with offload
authorVishal Kulkarni <vishal@chelsio.com>
Wed, 22 May 2019 16:16:12 +0000 (21:46 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2019 00:35:14 +0000 (17:35 -0700)
commit74dd5aa1ed94a8099a57bb7f91300668d0600ade
tree5a153207975fea9d536cb604e5c076c8d2d6e9f0
parent2bb0f3b4341b0120d50ec11939fcbccdf6511fe6
cxgb4: Enable hash filter with offload

Hash (exact-match) filters used for offloading flows share the
same active region resources on the chip with upper layer drivers,
like iw_cxgb4, chcr, etc. Currently, only either Hash filters
or ULDs can use the active region resources, but not both. Hence,
use the new firmware configuration parameters (when available)
to allow both the Hash filters and ULDs to share the
active region simultaneously.

Signed-off-by: Vishal Kulkarni <vishal@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_filter.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h