From mancini@torrentnet.com Wed Jul  7 13:48:23 1999
Return-Path: <mancini@torrentnet.com>
Received: from bacardi.torrentnet.com (bacardi.torrentnet.com [198.78.51.104])
	by hub.freebsd.org (Postfix) with ESMTP id B407114E45
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  7 Jul 1999 13:48:06 -0700 (PDT)
	(envelope-from mancini@torrentnet.com)
Received: from cognac-e.torrentnet.com (cognac.torrentnet.com [198.78.51.126])
	by bacardi.torrentnet.com (8.9.2/8.9.2) with ESMTP id QAA04568
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 7 Jul 1999 16:48:02 -0400 (EDT)
Received: (from mancini@localhost)
	by cognac-e.torrentnet.com (8.9.1/8.9.2) id QAA12104;
	Wed, 7 Jul 1999 16:48:22 -0400 (EDT)
Message-Id: <199907072048.QAA12104@cognac-e.torrentnet.com>
Date: Wed, 7 Jul 1999 16:48:22 -0400 (EDT)
From: Jerry Mancini <mancini@torrentnet.com>
Reply-To: mancini@torrentnet.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: ASIC output is shifted following a short cell
X-Send-Pr-Version: 3.2

>Number:         12551
>Category:       kern
>Synopsis:       ASIC output is shifted following a short cell
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    harti
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul  7 13:50:00 PDT 1999
>Closed-Date:    Fri Jul 18 06:40:07 PDT 2003
>Last-Modified:  Fri Jul 18 06:40:07 PDT 2003
>Originator:     Jerry Mancini
>Release:        FreeBSD 2.2.7-RELEASE i386
>Organization:
>Environment:

	

>Description:

When the output port is configured for 53 or 54 byte mode, there
is a problem in the output data following a short cell.

For example, a cell with inserted ATM header of ef01ffff and a bltin of:

13886 13887 00104fa c601064e31c00422 bltin 0x42, 28, reg1, reg2, 0x1064e
     13890    042 29a02fba
     13891    042 97234f56 0015001 29a02fba
     13892    042 5cbd4a33 0015002 97234f56
     13893    042 6020de06 0015003 5cbd4a33
     13894    042 d6b7394d 0015004 6020de06
     13895    042 b953e015 0015005 d6b7394d
     13896    042 03f79862 0015006 b953e015
     13897    042 93b0f0f9 0015007 03f79862
     13898    042 f9f272b0 0015008 93b0f0f9
     13899    042 1a79271a 0015009 f9f272b0
     13900    042 f31e73a9 001500a 1a79271a
     13901    042 0000004e 001500b f31e73a9
     13902                 001500c 0000004e
     13903      2 0001500d reg write

is output as:

131698 0x00000000
139233 0xabcd0001
lastword 32
139419 0xeeef01ff
139652 0x2229a02f
139838 0xba97234f
140024 0x565cbd4a
140210 0x336020de
140396 0x06d6b739
140582 0x4db953e0
140768 0x1593b0f0
140954 0xf9f9f272
141140 0xb01a7927
141326 0x1af31e73
141512 0xa9000000
141698 0x4e000000

Notice that the header is shifted right by two bytes. Each word that
follows is shifted right by 2 bytes.

This example was run in 53-byte mode.

>How-To-Repeat:

run atmout3_port.pl test with port cell size set to either 53 or 54 byte
mode.

>Fix:
	
	






>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Fri Jul 9 09:27:28 PDT 1999 
Responsible-Changed-Why:  
Misfiled PR. 
Responsible-Changed-From-To: freebsd-bugs->mks 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Fri Jul 9 09:28:36 PDT 1999 
Responsible-Changed-Why:  
Poul-Henning says that Mike is Mr. ATM. 
Responsible-Changed-From-To: mks->freebsd-bugs 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Fri Mar 14 22:09:41 PST 2003 
Responsible-Changed-Why:  

mks is no longer with us 

http://www.freebsd.org/cgi/query-pr.cgi?pr=12551 
Responsible-Changed-From-To: freebsd-bugs->harti 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jul 17 17:21:49 PDT 2003 
Responsible-Changed-Why:  
Assign to atm maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=12551 
State-Changed-From-To: open->feedback 
State-Changed-By: harti 
State-Changed-When: Fri Jul 18 00:41:56 PDT 2003 
State-Changed-Why:  
Submitter asked whether the problem still exists and what ASIC he 
is refering to. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=12551 
State-Changed-From-To: feedback->closed 
State-Changed-By: harti 
State-Changed-When: Fri Jul 18 06:39:03 PDT 2003 
State-Changed-Why:  
This was a misfiled PR that does not relate to FreeBSD as 
Jerry told me. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=12551 
>Unformatted:
