Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Add IXGBE_TIPG_IPGT_MASK and IXGBE_PAP_PAC...



details:   https://anonhg.NetBSD.org/src/rev/d368fb5339c2
branches:  trunk
changeset: 825054:d368fb5339c2
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Jun 28 03:57:36 2017 +0000

description:
Add IXGBE_TIPG_IPGT_MASK and IXGBE_PAP_PACE_MASK for packet pacing.

diffstat:

 sys/dev/pci/ixgbe/ixgbe_type.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 8d70c32511c1 -r d368fb5339c2 sys/dev/pci/ixgbe/ixgbe_type.h
--- a/sys/dev/pci/ixgbe/ixgbe_type.h    Wed Jun 28 02:46:30 2017 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_type.h    Wed Jun 28 03:57:36 2017 +0000
@@ -31,7 +31,7 @@
 
 ******************************************************************************/
 /*$FreeBSD: head/sys/dev/ixgbe/ixgbe_type.h 299200 2016-05-06 22:54:56Z pfg $*/
-/*$NetBSD: ixgbe_type.h,v 1.24 2017/06/27 08:03:55 msaitoh Exp $*/
+/*$NetBSD: ixgbe_type.h,v 1.25 2017/06/28 03:57:36 msaitoh Exp $*/
 
 #ifndef _IXGBE_TYPE_H_
 #define _IXGBE_TYPE_H_
@@ -510,6 +510,7 @@
 /* Tx DCA Control register : 128 of these (0-127) */
 #define IXGBE_DCA_TXCTRL_82599(_i)     (0x0600C + ((_i) * 0x40))
 #define IXGBE_TIPG                     0x0CB00
+#define IXGBE_TIPG_IPGT_MASK           0x000000FF
 #define IXGBE_TXPBSIZE(_i)             (0x0CC00 + ((_i) * 4)) /* 8 of these */
 #define IXGBE_MNGTXMAP                 0x0CD10
 #define IXGBE_TIPG_FIBER_DEFAULT       3
@@ -1759,6 +1760,7 @@
 
 /* PAP bit masks*/
 #define IXGBE_PAP_TXPAUSECNT_MASK      0x0000FFFF /* Pause counter mask */
+#define IXGBE_PAP_PACE_MASK            0x000F0000 /* Pace bit mask */
 
 /* RMCS Bit Masks */
 #define IXGBE_RMCS_RRM                 0x00000002 /* Rx Recycle Mode enable */



Home | Main Index | Thread Index | Old Index