1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

sfxge: remove unnecessary pulling out of soft bits from RX events

These bigs are changed on Medford.

Submitted by:   Mark Spender <mspender at solarflare.com>
Reviewed by:    gnn
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D4876
This commit is contained in:
Andrew Rybchenko 2016-01-12 15:20:03 +00:00
parent dae248ee46
commit 5a2680acd4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293761

View File

@ -499,7 +499,6 @@ ef10_ev_rx(
uint32_t l3_class;
uint32_t l4_class;
uint32_t next_read_lbits;
boolean_t soft1, soft2;
uint16_t flags;
boolean_t should_abort;
efx_evq_rxq_state_t *eersp;
@ -561,10 +560,6 @@ ef10_ev_rx(
flags |= EFX_DISCARD;
}
/* FIXME: do we need soft bits from RXDP firmware ? */
soft1 = (EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_EV_SOFT1) != 0);
soft2 = (EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_EV_SOFT2) != 0);
mcast = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_MAC_CLASS);
if (mcast == ESE_DZ_MAC_CLASS_UCAST)
flags |= EFX_PKT_UNICAST;