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/efx_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/efx_impl.h')
-rw-r--r-- | sys/dev/sfxge/common/efx_impl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/sfxge/common/efx_impl.h b/sys/dev/sfxge/common/efx_impl.h index 7d659cc..a8c17f5 100644 --- a/sys/dev/sfxge/common/efx_impl.h +++ b/sys/dev/sfxge/common/efx_impl.h @@ -166,7 +166,11 @@ typedef struct efx_rx_ops_s { efx_rc_t (*erxo_scale_key_set)(efx_nic_t *, uint8_t *, size_t); efx_rc_t (*erxo_scale_tbl_set)(efx_nic_t *, unsigned int *, size_t); -#endif + uint32_t (*erxo_prefix_hash)(efx_nic_t *, efx_rx_hash_alg_t, + uint8_t *); +#endif /* EFSYS_OPT_RX_SCALE */ + efx_rc_t (*erxo_prefix_pktlen)(efx_nic_t *, uint8_t *, + uint16_t *); void (*erxo_qpost)(efx_rxq_t *, efsys_dma_addr_t *, size_t, unsigned int, unsigned int, unsigned int); |