diff options
author | Jiawen Wu <jiawenwu@trustnetic.com> | 2024-11-15 15:35:08 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-18 18:45:18 -0800 |
commit | 2160428bcb20f2f70a72ee84aba91a1264dc4ff3 (patch) | |
tree | fd0111a8cb5e1759bc4c7007d279af728254bf18 /tools/testing/selftests/bpf/prog_tests/tcpbpf_user.c | |
parent | 62e9c00ea868ceb71156c517747dc69316c25bf1 (diff) |
net: txgbe: fix null pointer to pcs
For 1000BASE-X or SGMII interface mode, the PCS also need to be selected.
Only return null pointer when there is a copper NIC with external PHY.
Fixes: 02b2a6f91b90 ("net: txgbe: support copper NIC with external PHY")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20241115073508.1130046-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcpbpf_user.c')
0 files changed, 0 insertions, 0 deletions