]> git.baikalelectronics.ru Git - kernel.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)
commit1756166fde3444e29186dece4269d454638ac1f6
tree5a153207975fea9d536cb604e5c076c8d2d6e9f0
parent522551f90c6abe83a5351a772dc143194ce6ad7a
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