[tcpip] Do not fall back to using unoptimised TCP/IP checksumming

Require architecture-specific code to make a deliberate choice to use
the unoptimised generic_tcpip_continue_chksum() function, if there is
no optimised version available.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-05-04 13:30:37 +01:00
parent 9f91df422b
commit 1e066431a4
3 changed files with 8 additions and 15 deletions

View File

@@ -9,9 +9,7 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
extern uint16_t x86_tcpip_continue_chksum ( uint16_t partial,
const void *data, size_t len );
#define tcpip_continue_chksum x86_tcpip_continue_chksum
extern uint16_t tcpip_continue_chksum ( uint16_t partial, const void *data,
size_t len );
#endif /* _BITS_TCPIP_H */