fmadio / public

fmadio issue tracking
MIT License
8 stars 3 forks source link

40G native RUNT packet throtteling #196

Closed fmadio closed 5 years ago

fmadio commented 7 years ago

some kind of bandwidth calculation bug for dropping RUNT packets. appears each new ingress runt packet restarts the throttle timer.

bug is visible using 100Gbps target speed @ 32B packets. only the 1st packet is captured, with all remaining (line rate) packets being dropped due to PPS limits. Bug is in the sanitizer HDL code somewhere

fmadio commented 7 years ago

still some problem with 32B runt packets. even with the santizer somthing is getting messed up and fifo is overflowing.

[20170920_172234] rtrace64 : 94 | Exit : REG_CAP0_CROSS_STATUS0 : 2a3a59e400438101 [187/26921] [20170920_172234] ftrace : 118 | Exit : state : 1 [20170920_172234] ftrace : 118 | Exit : pktmeta_bram_empty_r : 1 [20170920_172234] ftrace : 118 | Exit : pktmeta_bram_aempty_r : 0 [20170920_172234] ftrace : 118 | Exit : pktmeta_bram_afull_r : 0 [20170920_172234] ftrace : 118 | Exit : pktmeta_bram_overflow_r : 0 [20170920_172234] ftrace : 118 | Exit : pktmeta_pre_empty : 1 [20170920_172234] ftrace : 118 | Exit : pktmeta_pre_aempty : 1 [20170920_172234] ftrace : 118 | Exit : pktmeta_pre_afull : 0 [20170920_172234] ftrace : 118 | Exit : pktmeta_pre_over : 0 [20170920_172234] ftrace : 118 | Exit : pktfifo_bram_empty_s : 0 [20170920_172234] ftrace : 118 | Exit : pktfifo_bram_aempty_s : 0 [20170920_172234] ftrace : 118 | Exit : pktfifo_bram_afull : 0 [20170920_172234] ftrace : 118 | Exit : pktfifo_bram_overflow_s : 1 WARNING [20170920_172234] ftrace : 118 | Exit : pktfifo_pre_empty : 0 [20170920_172234] ftrace : 118 | Exit : pktfifo_pre_aempty : 0 [20170920_172234] ftrace : 118 | Exit : pktfifo_pre_afull : 1 [20170920_172234] ftrace : 118 | Exit : pktfifo_pre_over : 0

fmadio commented 7 years ago

currently good from pktsize of 45B and up

fmadio commented 5 years ago

closing