linux/drivers/net/ethernet/chelsio
Tom Seewald 659fbdcf2f cxgb4: Fix build failure when CONFIG_TLS=m
After commit 9d2e5e9eeb ("cxgb4/ch_ktls: decrypted bit is not enough")
whenever CONFIG_TLS=m and CONFIG_CHELSIO_T4=y, the following build
failure occurs:

ld: drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.o: in function
`cxgb_select_queue':
cxgb4_main.c:(.text+0x2dac): undefined reference to `tls_validate_xmit_skb'

Fix this by ensuring that if TLS is set to be a module, CHELSIO_T4 will
also be compiled as a module. As otherwise the cxgb4 driver will not be
able to access TLS' symbols.

Fixes: 9d2e5e9eeb ("cxgb4/ch_ktls: decrypted bit is not enough")
Signed-off-by: Tom Seewald <tseewald@gmail.com>
Link: https://lore.kernel.org/r/20201120192528.615-1-tseewald@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-21 13:10:18 -08:00
..
cxgb chelsio: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
cxgb3 net: cxgb3: Cleanup in_interrupt() usage 2020-09-29 14:02:53 -07:00
cxgb4 cxgb4: fix the panic caused by non smac rewrite 2020-11-20 11:03:37 -08:00
cxgb4vf cxgb4vf: convert to use DEFINE_SEQ_ATTRIBUTE macro 2020-09-16 17:39:00 -07:00
inline_crypto ch_ktls: stop the txq if reaches threshold 2020-11-11 16:30:38 -08:00
libcxgb
Kconfig cxgb4: Fix build failure when CONFIG_TLS=m 2020-11-21 13:10:18 -08:00
Makefile chelsio/chtls: separate chelsio tls driver from crypto driver 2020-08-21 14:15:15 -07:00