Author: arybchik
Date: Thu Jan 14 16:05:33 2016
New Revision: 293993
URL: https://svnweb.freebsd.org/changeset/base/293993

Log:
  MFC r293761
  
  sfxge: remove unnecessary pulling out of soft bits from RX events
  
  These bits are changed on Medford.
  
  Submitted by:   Mark Spender <mspender at solarflare.com>
  Reviewed by:    gnn
  Sponsored by:   Solarflare Communications, Inc.

Modified:
  stable/10/sys/dev/sfxge/common/hunt_ev.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/hunt_ev.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/hunt_ev.c    Thu Jan 14 16:04:50 2016        
(r293992)
+++ stable/10/sys/dev/sfxge/common/hunt_ev.c    Thu Jan 14 16:05:33 2016        
(r293993)
@@ -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;
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to