Accton AS5812-54X (ONIE/ONL/OFDPA) bcm_field_qualify_SrcMac failed with

47 views
Skip to first unread message

Georg Glas

unread,
Oct 15, 2020, 8:12:25 AM10/15/20
to CORD Developers
I failed to setup an L2 legacy forwarding (no VLANs) with ONOS using org.onosproject.fwd 

Topology:
h1 192.168.170.37/00:10:86:80:0D:B4 port 2
h2 192.168.170.38/64:9D:99:B1:3F:2A port 3  

expected result:
pinging from 192.168.170.37 -> 192.168.170.38 works

actual result:
arp request are forwarded, ping request are not received on h2 interface (or only short when restarting onos or ofdpad)
Issue: Flow (for L2 Forwarding) generates an error

ONOS LOG:
11:21:39.398 ERROR [ONOSLLDP] Cannot find the port description tlv type.
11:21:39.400 WARN  [LinkDiscovery] source device not found. srcChassisId value: 00:00:00:00:01:00
11:21:48.316 WARN  [Ofdpa3Pipeline] Only allowed treatments in versatile forwarding objectives are punts to the controller
11:21:48.347 ERROR [OFChannelHandler] OFFlowModFailedErrorMsgVer13(xid=5242901, code=UNKNOWN, data=OFFlowAddVer13(xid=5242901, cookie=0x009100003335305d, cookieMask=0x0000000000000000, tableId=0x3c, idleTimeout=0, hardTimeout=0, priority=10, bufferId=4294967295, outPort=any, outGroup=any, flags=[SEND_FLOW_REM], match=OFMatchV3Ver13(in_port=2, eth_dst=64:9d:99:b1:3f:2a, eth_src=00:10:86:80:0d:b4, eth_type=0x86dd), instructions=[])) from switch Ofdpa3SwitchHandshaker{session=127.0.0.1:59324, dpid=00:00:04:f8:f8:66:b9:36} in state ACTIVE
11:21:48.351 WARN  [OpenFlowRuleProvider] Received error message OFFlowModFailedErrorMsgVer13(xid=5242901, code=UNKNOWN, data=OFFlowAddVer13(xid=5242901, cookie=0x009100003335305d, cookieMask=0x0000000000000000, tableId=0x3c, idleTimeout=0, hardTimeout=0, priority=10, bufferId=4294967295, outPort=any, outGroup=any, flags=[SEND_FLOW_REM], match=OFMatchV3Ver13(in_port=2, eth_dst=64:9d:99:b1:3f:2a, eth_src=00:10:86:80:0d:b4, eth_type=0x86dd), instructions=[])) from 00:00:04:f8:f8:66:b9:36
11:21:48.364 WARN  [Ofdpa3Pipeline] Flow rule operations onError FlowRuleOperations{stages=[[FlowRuleOperation{rule=DefaultFlowEntry{rule=DefaultFlowEntry{id=9100003335305d, deviceId=of:000004f8f866b936, priority=10, selector=[IN_PORT:2, ETH_DST:64:9D:99:B1:3F:2A, ETH_SRC:00:10:86:80:0D:B4, ETH_TYPE:ipv6], treatment=DefaultTrafficTreatment{immediate=[NOACTION], deferred=[], transition=None, meter=[], cleared=false, StatTrigger=null, metadata=null}, tableId=60, created=1602760908358}, state=FAILED, life=0, liveType=UNKNOWN, packets=0, bytes=0, errCode=-1, errType=-1, lastSeen=1602760908358}, type=ADD}]]}. Reason = FLOWINSTALLATIONFAILED
11:21:48.368 WARN  [InOrderFlowObjectiveManager] Flow objective onError DefaultForwardingObjective{id=48827347, op=ADD, priority=10, selector=DefaultTrafficSelector{criteria=[IN_PORT:2, ETH_DST:64:9D:99:B1:3F:2A, ETH_SRC:00:10:86:80:0D:B4]}, treatment=DefaultTrafficTreatment{immediate=[OUTPUT:3], deferred=[], transition=None, meter=[], cleared=false, StatTrigger=null, metadata=null}, nextId=null, meta=null, flag=VERSATILE, appId=DefaultApplicationId{id=145, name=org.onosproject.fwd}, permanent=false, timeout=10}. Reason = FLOWINSTALLATIONFAILED

OFDPA LOG ofdpa_3.0.5.5+accton1.7: 
10-15 11:27:08.802783 [ofconnectionmanager] Soc 66 ready, cxn 0x3a7d240. rd 1. wr 1. er 0
10-15 11:27:08.802819 [ofconnectionmanager] cxn 127.0.0.1:6653: Received of_flow_add message xid 0
10-15 11:27:08.802843 [ofstatemanager] Received of_flow_add message from cxn 0
10-15 11:27:08.802875 [ofstatemanager] Adding new flow
10-15 11:27:08.802895 [ofstatemanager] Adding flow 0x16ab
10-15 11:27:08.802923 [indigo_ofdpa_driver] Flow create called
10-15 11:27:08.802947 [indigo_ofdpa_driver] match_fields_bitmask is 0x1E
driverFlowEntryAdd: flowId = 5474, table = ACL Policy.
driverPolicyAclEntryAddToUnit: bcm_field_qualify_SrcMac failed, unit = 0, rc = -7 (Entry not found).
driverFlowEntryAdd: rc from driverFlowEntryAdd is -30.
ofdpaFlowAdd: Table ID 60 error adding flow entry to driver. rc = -30
10-15 11:27:08.803015 [indigo_ofdpa_driver] Failed to add flow. (ofdpa_rv = -27)
10-15 11:27:08.803038 [ofstatemanager] Error from Forwarding while inserting flow: Unknown error
10-15 11:27:08.803066 [ofconnectionmanager] Sending error msg to 127.0.0.1:6653. type 5. code 0.
10-15 11:27:08.803105 [ofconnectionmanager] cxn 127.0.0.1:6653: Sending of_hello_failed_error_msg message xid 0
10-15 11:27:08.803131 [ofconnectionmanager] cxn 127.0.0.1:6653: Enqueuing 100 bytes
10-15 11:27:08.803154 [ofconnectionmanager] cxn 127.0.0.1:6653: Cur len 100 bytes, 1 pkts
10-15 11:27:08.803178 [ofstatemanager] Delete flow 0x16ab
10-15 11:27:08.803258 [ofconnectionmanager] cxn 127.0.0.1:6653: No more data to write

OFDPA LOG 3.0.4.0+accton1.8~5-1:
10-15 11:33:41.860515 [ofconnectionmanager] Soc 64 ready, cxn 0x3939e80. rd 1. wr 0. er 0
10-15 11:33:41.860558 [ofconnectionmanager] cxn 127.0.0.1:6653: Received of_packet_out message xid 0
10-15 11:33:41.860594 [ofstatemanager] Received of_packet_out message from cxn 0
10-15 11:33:41.860664 [indigo_ofdpa_driver] Unsupported output port 0xfffffffb
10-15 11:33:41.860700 [indigo_ofdpa_driver] Failed to get packet out actions. (err = -1

Software
* ONL swi_0.ONL-2.0.0-2020-10-09.1424-04257be_amd64
rebuild from https://github.com/opencomputeproject/OpenNetworkLinux commit id 54197c317c085eb94a3d65e0664263e3b8c94b0f (Tue Oct 10 15:21:47 2017 -0700) AFAIK the last commit with 3.16.39-OpenNetworkLinux kernel  
* ofdpa_3.0.5.5+accton1.7-1 / 3.0.4.0+accton1.8~5
* onos-2.4.0


Reply all
Reply to author
Forward
0 new messages