diff options
author | arybchik <arybchik@FreeBSD.org> | 2016-01-13 06:40:00 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2016-01-13 06:40:00 +0000 |
commit | df5200f7e40cc0dd901460ca7e4f9c648f950e5d (patch) | |
tree | 9360b19f076568beb6a4a1ed1903b75f0559d279 /sys/dev/sfxge/common/hunt_impl.h | |
parent | 59a6268d11eb2887334f36647da12fe28f236ce6 (diff) | |
download | FreeBSD-src-df5200f7e40cc0dd901460ca7e4f9c648f950e5d.zip FreeBSD-src-df5200f7e40cc0dd901460ca7e4f9c648f950e5d.tar.gz |
sfxge: rework RX prefix handling in the common code
Submitted by: Andy Moreton <amoreton at solarflare.com>
Reviewed by: gnn
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
Differential Revision: https://reviews.freebsd.org/D4889
Diffstat (limited to 'sys/dev/sfxge/common/hunt_impl.h')
-rw-r--r-- | sys/dev/sfxge/common/hunt_impl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/sfxge/common/hunt_impl.h b/sys/dev/sfxge/common/hunt_impl.h index c476c49..6d65bc0 100644 --- a/sys/dev/sfxge/common/hunt_impl.h +++ b/sys/dev/sfxge/common/hunt_impl.h @@ -874,6 +874,18 @@ ef10_rx_scale_tbl_set( __in_ecount(n) unsigned int *table, __in size_t n); +extern __checkReturn uint32_t +ef10_rx_prefix_hash( + __in efx_nic_t *enp, + __in efx_rx_hash_alg_t func, + __in uint8_t *buffer); + +extern __checkReturn efx_rc_t +ef10_rx_prefix_pktlen( + __in efx_nic_t *enp, + __in uint8_t *buffer, + __out uint16_t *lengthp); + #endif /* EFSYS_OPT_RX_SCALE */ extern void |