Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 16:05:33 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r293993 - stable/10/sys/dev/sfxge/common
Message-ID:  <201601141605.u0EG5XRw056569@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601141605.u0EG5XRw056569>