[f-nsp] Layer 2 packet forwarded in hardware(PP)

Franz Georg Köhler lists at openunix.de
Mon Aug 13 11:43:30 EDT 2018


Hello everyone,

I currently see increased CPU% one one of our MLXe line cards:

#sh cpu lp

15:48:40 GMT+01 Mon Aug 13 2018

SLOT  #:          LP CPU UTILIZATION in  %:
               in 1 second:  in 5 seconds:  in 60 seconds: in 300
seconds:
     1:        6             5              4               4  
     2:        37            30             30              30 
     3:        1             1              1               1  
     4:        1             1              1               1  

Traffic hitting the CPU with "Layer 2 packet forwarded in hardware(PP)".
Does anyone know what this means? If the packet is being forwarded in
hardware, why does it hit the LP cpu?

[ppcr_rx_packet]: Packet received
Time stamp : 23 day(s) 00h 42m 13s:,
TM Header: [ 00be 0113 0013 ]
Type: Fabric Unicast(0x00000000) Size: 190 Class: 0 Src sys port: 275
Dest Port: 0  Drop Prec: 0 Ing Q Sig: 1 Out mirr dis: 0x0 Excl src: 1
Sys mc: 1
**********************************************************************
Packet size: 182, XPP reason code: 0x00000000
00: a054 2003 3850 0e0b-0028 506e 0000 0000  FID     = 0xa054
10: 000c 2939 c197 000c-29f5 951b 0800 4500  Offset  = 0x10
20: 0212 ef53 4000 4011-2139 0a0a 0a1b 0a0a  VLAN    = 3595(0x0e0b)
30: 0a20 b1c5 08af 01fe-20a7 7b22 5365 7665  CAM     = 0x142837(R)
40: 7269 7479 2220 3a20-2274 7261 6365 222c  SFLOW   = 0
50: 2253 7263 2220 3a20-225c 7530 3034 355c  DBL TAG = 0
60: 7530 3036 455c 7530-3037 345c 7530 3036
70: 395c 7530 3037 345c-7530 3037 395c 7530
Pri CPU MON SRC   PType US BRD DAV SAV DPV SV ER TXA SAS Tag MVID
0   1   0   1/1   3     0  0   1   1   1   0  0  0   0   1   0

10.10.10.27 -> 10.10.10.32 UDP [45509 -> 2223] 
**********************************************************************
[ppcr_tx_packet] ACTION: Drop packet(reason: Layer 2 packet forwarded in
hardware(PP))


I also see arp packets hitting the LP CPU like below. Interesting that first packet is being
classified as "Fabric Unicast" while the second one is "Multicast" and
actually both are broadcast arp packets to ffff ffff ffff? Finally, ARP
packets should not hit the LP CPU as those are pure L2 VLANS?


[ppcr_rx_packet]: Packet received
Time stamp : 23 day(s) 00h 42m 13s:,
TM Header: [ 0052 6113 0010 ]
Type: Fabric Unicast(0x00000000) Size: 82 Class: 3 Src sys port: 275
Dest Port: 0  Drop Prec: 0 Ing Q Sig: 1 Out mirr dis: 0x0 Excl src: 0
Sys mc: 0
**********************************************************************
Packet size: 76, XPP reason code: 0x00000000
00: 05f2 c002 5050 6e11-0c55 6ea6 0600 0000  FID     = 0x05f2
10: ffff ffff ffff 000c-29da 8cf3 0806 0001  Offset  = 0x10
20: 0800 0604 0001 000c-29da 8cf3 ac10 0505  VLAN    = 3601(0x0e11)
30: 0000 0000 0000 ac10-0501 0000 0000 0000  CAM     = 0x0ab753(R)
40: 0000 0000 0000 0000-0000 0000 0000 7530  SFLOW   = 0
50: 3037 7530 3037 7530-3037 225c 7530 3035  DBL TAG = 0
60: 325c 7530 3036 355c-7530 3036 345c 7530
70: 3036 395c 7530 3037-335c 7530 3034 335c
Pri CPU MON SRC   PType US BRD DAV SAV DPV SV ER TXA SAS Tag MVID
3   0   0   2/2   2     0  1   0   1   0   0  0  0   0   1   0

000c.29da.8cf3 -> Broadcast      ARP Req 172.16.5.5 -> 172.16.5.1 
**********************************************************************
[ppcr_tx_packet] ACTION: Forward packet using fid 0xa057
[xpp10ge_cpu_forward_debug]: Forward LP packet
Time stamp : 23 day(s) 00h 42m 13s:,
TM Header: [ 1012 0057 a057 ]
Type: Multicast(0x00000000) Size: 18 Mcast ID: 0x7a0 Src Port: 1
Drp Pri: 1 Snp: 1 Exclude Src: 1 Cls: 0x00000003
**********************************************************************
00: a057 c002 5050 6e11-0000 0098 0600 0000  FID     = 0xa057
10: ffff ffff ffff 000c-29da 8cf3 0806 0001  Offset  = 0x10
20: 0800 0604 0001 000c-29da 8cf3 ac10 0505  VLAN    = 3601(0x0e11)
30: 0000 0000 0000 ac10-0501 0000 0000 0000  CAM     = 0x00004c 
40: 0000 0000 0000 0000-0000 0000 0000 60c0  SFLOW   = 0
50: 0000 0028 0601 2a03-2880 f21c 80c4 face  DBL TAG = 0
60: b00c 0000 43fe 2a01-07a0 0002 101f 0225
70: 90ff fee9 c3a4 01bb-bcd9 da6f 5abd 98d4
Pri CPU MON SRC   PType US BRD DAV SAV DPV SV ER TXA SAS Tag MVID
3   0   0   1/1   2     0  1   0   1   0   0  0  0   0   1   0

000c.29da.8cf3 -> Broadcast      ARP Req 172.16.5.5 -> 172.16.5.1 
**********************************************************************

There is a LAG on those ports:
Port  [Sys P] [Port P] [ Key ] [Act][Tio][Agg][Syn][Col][Dis][Def][Exp][Ope]
1/1        1        1     107   Yes   L   Agg  Syn  Col  Dis  No   No   Ope
1/2        1        1     107   Yes   L   Agg  Syn  Col  Dis  No   No   Ope
1/6        1        1     107   Yes   L   Agg  Syn  Col  Dis  No   No   Ope
1/15       1        1     107   Yes   L   Agg  Syn  Col  Dis  No   No   Ope
2/1        1        1     107   Yes   L   Agg  Syn  Col  Dis  No   No   Ope
2/2        1        1     107   Yes   L   Agg  Syn  Col  Dis  No   No   Ope
2/6        1        1     107   Yes   L   Agg  Syn  Col  Dis  No   No   Ope
2/15       1        1     107   Yes   L   Agg  Syn  Col  Dis  No   No   Ope



Any ideas about this one?



Best regards,

Franz Georg


More information about the foundry-nsp mailing list