svn commit: r319269 - in stable/11/sys: conf dev/cxgbe/firmware modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware modules/cxgbe/t6_firmware

Mike Tancsa mike at sentex.net
Tue Jun 6 13:24:35 UTC 2017


On 6/5/2017 4:06 PM, Navdeep Parhar wrote:
> On 06/02/2017 14:16, Mike Tancsa wrote:
>>
>> Hi,
>>     Not sure if its the firmware for sure, but a number of DAC cables I
>> have been using without issue all of a sudden are failing.  On the
>> switch port side, the link does not go down, but on the NIC side, the
>> link is bouncing up and down once a bit of traffic is place on it.  I
> 
> The firmware handles all transceiver setup and link so it must be the
> firmware, but passing traffic should not affect the link.  Does the link
> really stay up steadily as long as there's no traffic?

On my test box, it doesnt stay up actually.  Whats strange is that the
other end on the HP does not show the link bouncing.

> 
> Once the link has bounced at least once (with or without traffic), run
> this and provide its output:
> # sysctl -n dev.t5nex.0.misc.devlog


Here is the interface up with the other end plugged into the HP

cxl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:07:43:28:95:28
        hwaddr 00:07:43:28:95:28
        inet 3.3.3.1 netmask 0xffffff00 broadcast 3.3.3.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet 10Gbase-SR <full-duplex>
        status: active
        plugged: SFP/SFP+/SFP28 10G Base-SR (LC)
        vendor: SOURCEPHOTONICS PN: SPP10ESRCDFB SN: G0611090002 DATE:
2010-09-19
Class: 10G Base-SR
Length: (null)
Tech: (null)
Media: (null)
Speed: (null)
        module temperature: 19.31 C Voltage: 3.37 Volts
        RX: 0.00 mW (-40.00 dBm) TX: 6.55 mW (8.16 dBm)

        SFF8472 DUMP (0xA0 0..127 range):
        03 04 07 10 00 00 00 00 00 00 00 06 67 00 00 00
        08 03 00 1E 53 4F 55 52 43 45 50 48 4F 54 4F 4E
        49 43 53 20 00 00 1F 22 53 50 50 31 30 45 53 52
        43 44 46 42 20 20 20 20 31 30 20 20 03 52 00 60
        00 1A 00 00 47 30 36 31 31 30 39 30 30 30 32 20
        20 20 20 20 31 30 30 39 31 39 20 20 68 F0 03 C3
        48 50 A0 00 80 50 20 20 4A 39 31 35 30 41 20 31
        39 39 30 2D 34 30 36 35 20 20 00 32 00 00 00 00
0(intels12004u)# sysctl -n dev.t5nex.0.misc.devlog

      Seq#           Tstamp     Level  Facility  Message
      5005      15852442561      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5006      15852442563      INFO      PORT  port[1] link down (816)
(lstatus 0xe)
      5007      15852442575      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5008      15852642562      INFO      PORT  port[1] link up (818)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5009      15852642564      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5010      15852642567      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5011      15860042586      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5012      15860042588      INFO      PORT  port[1] link down (817)
(lstatus 0xe)
      5013      15860042601      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5014      15860242587      INFO      PORT  port[1] link up (819)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5015      15860242589      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5016      15860242592      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5017      15885542670      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5018      15885542672      INFO      PORT  port[1] link down (818)
(lstatus 0xe)
      5019      15885542685      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5020      15885742671      INFO      PORT  port[1] link up (820)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5021      15885742673      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5022      15885742676      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5023      15903442729      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5024      15903442731      INFO      PORT  port[1] link down (819)
(lstatus 0xe)
      5025      15903442744      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5026      15903642730      INFO      PORT  port[1] link up (821)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5027      15903642732      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5028      15903642735      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5029      15909642749      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5030      15909642751      INFO      PORT  port[1] link down (820)
(lstatus 0xe)
      5031      15909642765      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5032      15909842750      INFO      PORT  port[1] link up (822)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5033      15909842753      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5034      15909842755      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5035      15927642809      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5036      15927642810      INFO      PORT  port[1] link down (821)
(lstatus 0xe)
      5037      15927642823      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5038      15927842810      INFO      PORT  port[1] link up (823)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5039      15927842812      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5040      15927842815      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5041      15930242817      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5042      15930242819      INFO      PORT  port[1] link down (822)
(lstatus 0xe)
      5043      15930242832      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5044      15930442819      INFO      PORT  port[1] link up (824)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5045      15930442821      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5046      15930442823      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5047      15948142876      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5048      15948142878      INFO      PORT  port[1] link down (823)
(lstatus 0xe)
      5049      15948142891      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5050      15948342878      INFO      PORT  port[1] link up (825)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5051      15948342880      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5052      15948342883      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5053      15952442891      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5054      15952442893      INFO      PORT  port[1] link down (824)
(lstatus 0xe)
      5055      15952442906      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5056      15952642892      INFO      PORT  port[1] link up (826)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5057      15952642894      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5058      15952642897      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5059      15962442924      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5060      15962442926      INFO      PORT  port[1] link down (825)
(lstatus 0xe)
      5061      15962442939      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5062      15962642925      INFO      PORT  port[1] link up (827)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5063      15962642927      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5064      15962642930      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5065      15994243028      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5066      15994243030      INFO      PORT  port[1] link down (826)
(lstatus 0xe)
      5067      15994243043      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5068      15994443030      INFO      PORT  port[1] link up (828)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5069      15994443032      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5070      15994443034      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5071      16070243277      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5072      16070243279      INFO      PORT  port[1] link down (827)
(lstatus 0xe)
      5073      16070243292      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5074      16070443279      INFO      PORT  port[1] link up (829)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5075      16070443281      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5076      16070443283      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5077      16070743279      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5078      16070743281      INFO      PORT  port[1] link down (828)
(lstatus 0xe)
      5079      16070743294      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5080      16070943281      INFO      PORT  port[1] link up (830)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5081      16070943283      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5082      16070943286      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5083      16075643296      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5084      16075643298      INFO      PORT  port[1] link down (829)
(lstatus 0xe)
      5085      16075643311      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5086      16075843297      INFO      PORT  port[1] link up (831)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5087      16075843300      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5088      16075843302      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5089      16102143383      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5090      16102143385      INFO      PORT  port[1] link down (830)
(lstatus 0xe)
      5091      16102143398      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5092      16102343384      INFO      PORT  port[1] link up (832)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5093      16102343386      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5094      16102343389      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5095      16117043432      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5096      16117043434      INFO      PORT  port[1] link down (831)
(lstatus 0xe)
      5097      16117043447      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5098      16117243433      INFO      PORT  port[1] link up (833)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5099      16117243436      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5100      16117243438      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5101      16173743618      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5102      16173743620      INFO      PORT  port[1] link down (832)
(lstatus 0xe)
      5103      16173743633      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5104      16173943619      INFO      PORT  port[1] link up (834)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5105      16173943621      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5106      16173943624      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5107      16179843638      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5108      16179843640      INFO      PORT  port[1] link down (833)
(lstatus 0xe)
      5109      16179843653      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5110      16180043640      INFO      PORT  port[1] link up (835)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5111      16180043642      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5112      16180043644      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5113      16195743691      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5114      16195743693      INFO      PORT  port[1] link down (834)
(lstatus 0xe)
      5115      16195743706      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5116      16195943692      INFO      PORT  port[1] link up (836)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5117      16195943694      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5118      16195943697      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5119      16228443797      INFO      PORT  port[1] link down (835)
(lstatus 0)
      5120      16228443812      INFO      PORT
port_link_state_handler[1] powering down
      5121     321883244122      INFO      PORT
port_link_state_handler[1] powering up
      5122     321883244126      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5123     321883644123      INFO      PORT  hw_mac_link_status[1]
int_cause 0x1c70, link_status 0x12
      5124     321883844124      INFO      PORT  port[1] link up (837)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5125     321883844127      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5126     321883844131      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5127     321885244128      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5128     321885244130      INFO      PORT  port[1] link down (836)
(lstatus 0xe)
      5129     321885244143      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5130     321885444130      INFO      PORT  port[1] link up (838)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5131     321885444132      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5132     321885444134      INFO      PORT  port[1] update (flowcid
1352 rc 0)


And now plugged into the quanta


0(intels12004u)# sysctl -n dev.t5nex.0.misc.devlog
      Seq#           Tstamp     Level  Facility  Message
      5187     322069744736      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5188     322069744738      INFO      PORT  port[1] link down (846)
(lstatus 0xe)
      5189     322069744751      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5190     322069944737      INFO      PORT  port[1] link up (848)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5191     322069944740      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5192     322069944742      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5193     322085244787      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5194     322085244789      INFO      PORT  port[1] link down (847)
(lstatus 0xe)
      5195     322085244802      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5196     322085444788      INFO      PORT  port[1] link up (849)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5197     322085444791      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5198     322085444793      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5199     322119244899      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5200     322119244901      INFO      PORT  port[1] link down (848)
(lstatus 0xe)
      5201     322119244915      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5202     322119444900      INFO      PORT  port[1] link up (850)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5203     322119444903      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5204     322119444906      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5205     322124144915      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5206     322124144917      INFO      PORT  port[1] link down (849)
(lstatus 0xe)
      5207     322124144930      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5208     322124344917      INFO      PORT  port[1] link up (851)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5209     322124344919      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5210     322124344922      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5211     322142244975      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5212     322142244977      INFO      PORT  port[1] link down (850)
(lstatus 0xe)
      5213     322142244990      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5214     322142444976      INFO      PORT  port[1] link up (852)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5215     322142444979      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5216     322142444981      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5217     322145644986      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5218     322145644988      INFO      PORT  port[1] link down (851)
(lstatus 0xe)
      5219     322145645002      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5220     322145844988      INFO      PORT  port[1] link up (853)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5221     322145844990      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5222     322145844993      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5223     322162645042      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5224     322162645044      INFO      PORT  port[1] link down (852)
(lstatus 0xe)
      5225     322162645058      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5226     322162845044      INFO      PORT  port[1] link up (854)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5227     322162845046      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5228     322162845048      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5229     322167445059      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5230     322167445060      INFO      PORT  port[1] link down (853)
(lstatus 0xe)
      5231     322167445073      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5232     322167645060      INFO      PORT  port[1] link up (855)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5233     322167645062      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5234     322167645065      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5235     322176645089      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5236     322176645091      INFO      PORT  port[1] link down (854)
(lstatus 0xe)
      5237     322176645104      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5238     322176845090      INFO      PORT  port[1] link up (856)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5239     322176845092      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5240     322176845095      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5241     322192045140      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5242     322192045142      INFO      PORT  port[1] link down (855)
(lstatus 0xe)
      5243     322192045155      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5244     322192245141      INFO      PORT  port[1] link up (857)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5245     322192245143      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5246     322192245146      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5247     322216845221      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5248     322216845223      INFO      PORT  port[1] link down (856)
(lstatus 0xe)
      5249     322216845236      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5250     322217045222      INFO      PORT  port[1] link up (858)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5251     322217045225      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5252     322217045227      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5253     322227745257      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5254     322227745259      INFO      PORT  port[1] link down (857)
(lstatus 0xe)
      5255     322227745273      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5256     322227845258      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5257     322228045259      INFO      PORT  port[1] link up (859)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5258     322228045261      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5259     322228045264      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5260     322239245295      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5261     322239245297      INFO      PORT  port[1] link down (858)
(lstatus 0xe)
      5262     322239245310      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5263     322239445297      INFO      PORT  port[1] link up (860)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5264     322239445299      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5265     322239445302      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5266     322249645330      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5267     322249645332      INFO      PORT  port[1] link down (859)
(lstatus 0xe)
      5268     322249645345      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5269     322249845331      INFO      PORT  port[1] link up (861)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5270     322249845333      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5271     322249845336      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5272     322257945357      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5273     322257945359      INFO      PORT  port[1] link down (860)
(lstatus 0xe)
      5274     322257945372      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5275     322258145359      INFO      PORT  port[1] link up (862)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5276     322258145361      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5277     322258145364      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5278     322308645524      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5279     322308645526      INFO      PORT  port[1] link down (861)
(lstatus 0xe)
      5280     322308645539      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5281     322308845525      INFO      PORT  port[1] link up (863)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5282     322308845527      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5283     322308845530      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5284     322329345592      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5285     322329345594      INFO      PORT  port[1] link down (862)
(lstatus 0xe)
      5286     322329345607      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5287     322329545593      INFO      PORT  port[1] link up (864)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5288     322329545595      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5289     322329545598      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5290     322356145680      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5291     322356145682      INFO      PORT  port[1] link down (863)
(lstatus 0xe)
      5292     322356145695      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5293     322356345681      INFO      PORT  port[1] link up (865)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5294     322356345683      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5295     322356345686      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5296     322363345704      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5297     322363345706      INFO      PORT  port[1] link down (864)
(lstatus 0xe)
      5298     322363345719      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5299     322363545705      INFO      PORT  port[1] link up (866)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5300     322363545707      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5301     322363545710      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5302     322364245707      INFO      PORT  hw_mac_link_status[1]
int_cause 0x4b0, link_status 0x12
      5303     322364245709      INFO      PORT  port[1] link down (865)
(lstatus 0xe)
      5304     322364245722      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5305     322364445708      INFO      PORT  port[1] link up (867)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5306     322364445711      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5307     322364445713      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5308     322385845778      INFO      PORT  port[1] link down (866)
(lstatus 0xe)
      5309     322385845791      INFO      PORT  port[1] update (flowcid
1352 rc 0)
      5310     322400745827      INFO      PORT  hw_mac_link_status[1]
int_cause 0x1001cf0, link_status 0x12
      5311     322400845828      INFO      PORT  hw_mac_link_status[1]
int_cause 0x1001cf0, link_status 0x12
      5312     322401045829      INFO      PORT  port[1] link up (868)
(speed 0x8 acaps 0xc0c8 lpcaps 0xc0c0)
      5313     322401045831      INFO      PORT  port[1] set PAUSE
PARAMS: pppen 0 txpe 0x1 rxpe 0x1
      5314     322401045834      INFO      PORT  port[1] update (flowcid
1352 rc 0)

0(intels12004u)# ifconfig -vvvvv cxl1
cxl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:07:43:28:95:28
        hwaddr 00:07:43:28:95:28
        inet 3.3.3.1 netmask 0xffffff00 broadcast 3.3.3.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet 10Gbase-SR <full-duplex>
        status: active
        plugged: SFP/SFP+/SFP28 10G Base-SR (LC)
        vendor: SOURCEPHOTONICS PN: SPP10ESRCDFB SN: G0611090002 DATE:
2010-09-19
Class: 10G Base-SR
Length: (null)
Tech: (null)
Media: (null)
Speed: (null)
        module temperature: 19.73 C Voltage: 3.37 Volts
        RX: 0.00 mW (-40.00 dBm) TX: 6.55 mW (8.16 dBm)

        SFF8472 DUMP (0xA0 0..127 range):
        03 04 07 10 00 00 00 00 00 00 00 06 67 00 00 00
        08 03 00 1E 53 4F 55 52 43 45 50 48 4F 54 4F 4E
        49 43 53 20 00 00 1F 22 53 50 50 31 30 45 53 52
        43 44 46 42 20 20 20 20 31 30 20 20 03 52 00 60
        00 1A 00 00 47 30 36 31 31 30 39 30 30 30 32 20
        20 20 20 20 31 30 30 39 31 39 20 20 68 F0 03 C3
        48 50 A0 00 80 50 20 20 4A 39 31 35 30 41 20 31
        39 39 30 2D 34 30 36 35 20 20 00 32 00 00 00 00
0(intels12004u)#




> 
>> swapped out the DAC cable for a plain old fiber SFP+ and its OK.  The
>> same DAC cable works fine prior to this update
>>
>> Jun  2 17:07:26 intels12004u kernel: cxl1: link state changed to DOWN
>> Jun  2 17:07:27 intels12004u kernel: cxl1: link state changed to UP
>> Jun  2 17:08:50 intels12004u kernel: cxl1: link state changed to DOWN
>> Jun  2 17:08:50 intels12004u kernel: cxl1: link state changed to UP
>> Jun  2 17:09:08 intels12004u kernel: cxl1: link state changed to DOWN
>> Jun  2 17:09:08 intels12004u kernel: cxl1: link state changed to UP
>> Jun  2 17:10:52 intels12004u kernel: cxl1: link state changed to DOWN
>> Jun  2 17:10:53 intels12004u kernel: cxl1: link state changed to UP
>> Jun  2 17:12:15 intels12004u kernel: cxl1: link state changed to DOWN
>> Jun  2 17:12:15 intels12004u kernel: cxl1: link state changed to UP
>> 0(intels12004u)# ifconfig cxl1
>> cxl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>> 1500
>>
>> options=ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
>>
>>          ether 00:07:43:28:95:28
>>          hwaddr 00:07:43:28:95:28
>>          inet 3.3.3.1 netmask 0xffffff00 broadcast 3.3.3.255
>>          nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>>          media: Ethernet 10Gbase-SR <full-duplex>
>>          status: active
>>          plugged: SFP/SFP+/SFP28 10G Base-SR (LC)
>>          vendor: SOURCEPHOTONICS PN: SPP10ESRCDFB SN: G0611090002 DATE:
>> 2010-09-19
>>          module temperature: 20.35 C Voltage: 3.37 Volts
>>          RX: 0.00 mW (-40.00 dBm) TX: 6.55 mW (8.16 dBm)
>> 0(intels12004u)#
>>
>> it for whatever reason shows it as fibre, but its twinax
> 
> Please provide the full dump of the module's eeprom?
> # ifconfig -vvv cxl0/1
> 
> It is possible that the transceiver misidentifies itself and the
> firmware sets it up incorrectly as a result.  It may have worked by
> accident in the past.
> 
> Regards,
> Navdeep
> 
> 


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the svn-src-stable-11 mailing list