Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2018 06:38:43 +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-11@freebsd.org
Subject:   svn commit: r342406 - stable/11/sys/dev/sfxge
Message-ID:  <201812250638.wBP6chKg017580@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Tue Dec 25 06:38:42 2018
New Revision: 342406
URL: https://svnweb.freebsd.org/changeset/base/342406

Log:
  MFC r312885
  
  sfxge(4): compact the first hot part of RxQ control
  
  buf_base_id is used on RxQ control operations only and not used on
  datapath.
  
  Sponsored by:   Solarflare Communications, Inc.

Modified:
  stable/11/sys/dev/sfxge/sfxge_rx.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/sfxge/sfxge_rx.h
==============================================================================
--- stable/11/sys/dev/sfxge/sfxge_rx.h	Tue Dec 25 06:37:22 2018	(r342405)
+++ stable/11/sys/dev/sfxge/sfxge_rx.h	Tue Dec 25 06:38:42 2018	(r342406)
@@ -155,7 +155,6 @@ struct sfxge_rxq {
 	struct sfxge_softc		*sc __aligned(CACHE_LINE_SIZE);
 	unsigned int			index;
 	efsys_mem_t			mem;
-	unsigned int			buf_base_id;
 	enum sfxge_rxq_state		init_state;
 	unsigned int			entries;
 	unsigned int			ptr_mask;
@@ -175,6 +174,7 @@ struct sfxge_rxq {
 	unsigned int			refill_delay;
 
 	volatile enum sfxge_flush_state	flush_state __aligned(CACHE_LINE_SIZE);
+	unsigned int			buf_base_id;
 };
 
 /*



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