sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
sandeepkr has quit [Ping timeout: 252 seconds]
fengling has joined #m-labs
sb0 has joined #m-labs
siruf has quit [Ping timeout: 276 seconds]
siruf has joined #m-labs
sb0 has quit [Quit: Leaving]
FabM has joined #m-labs
sb0 has joined #m-labs
<sb0> and vivado doesn't seem to complain either
<GitHub14> [misoc] sbourdeauducq pushed 1 new commit to master: https://git.io/vwPIa
<GitHub14> misoc/master a512d82 Sebastien Bourdeauducq: liteeth: use non power-of-two RAM depth
<bb-m-labs> build #97 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/97
<bb-m-labs> build #379 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/379
<bb-m-labs> build #151 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/151
<bb-m-labs> build #640 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/640
<GitHub165> [misoc] sbourdeauducq pushed 1 new commit to master: https://git.io/vwPql
<GitHub165> misoc/master 0f11a24 Sebastien Bourdeauducq: liteeth: increase MTU to support jumbo frames...
<bb-m-labs> build #98 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/98
<bb-m-labs> build #380 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/380
<bb-m-labs> build #152 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/152
<bb-m-labs> build #641 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/641
fengling has quit [Remote host closed the connection]
sandeepkr has joined #m-labs
sandeepkr has quit [Remote host closed the connection]
<GitHub2> [artiq] whitequark pushed 2 new commits to master: https://git.io/vwPuR
<GitHub2> artiq/master 79c7c2d whitequark: doc: explain RPC return type annotations....
<GitHub2> artiq/master f7d83e9 whitequark: compiler: make kernel_invariant an instance, not class, property....
<whitequark> only the pygit crash remaining... hrm
<whitequark> sb0: what did you do to win7-experimental that it's so extremely slow?
<whitequark> it wasn't that slow before.
<bb-m-labs> build #381 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/381
<bb-m-labs> build #642 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/642 blamelist: whitequark <whitequark@whitequark.org>
attie_ has joined #m-labs
attie has quit [Killed (sendak.freenode.net (Nickname regained by services))]
attie_ is now known as attie
cr1901_modern1 has quit [*.net *.split]
kuldeep has quit [*.net *.split]
kaalikahn has quit [*.net *.split]
_florent_ has quit [*.net *.split]
attie_ has joined #m-labs
attie_ has quit [Client Quit]
kuldeep has joined #m-labs
cr1901_modern1 has joined #m-labs
kaalikahn has joined #m-labs
fengling has joined #m-labs
_florent_ has joined #m-labs
<sb0> whitequark, nothing in particular. why do you think it's my fault?
<whitequark> because, contrary to popular beliefs, software does not spontaneously deteriorate
<sb0> pft
<sb0> whitequark, was python built with stdcall or cdecl?
<sb0> the conda python
<whitequark> no idea
<whitequark> wait
<whitequark> it's amd64
<whitequark> it was built with fastcall. both stdcall and cdecl are no-ops on 64-bit
<sb0> whitequark, could there be some calling convention mismatch with libgit2?
<whitequark> very doubtful.
<whitequark> can you call any other function successfully?
<sb0> _florent_, why did you set the mtu to 1514 in lietethif.c?
<sb0> I don't see what this corresponds to in an ethernet frame
<sb0> other drivers use 1500
<GitHub145> [artiq] sbourdeauducq pushed 3 new commits to master: https://git.io/vwXTo
<GitHub145> artiq/master 9707981 Sebastien Bourdeauducq: targets/kc705: fix default -H option
<GitHub145> artiq/master dbbd11d Sebastien Bourdeauducq: lwip: set MTU to 9000 to support jumbo frames
<GitHub145> artiq/master fc4effb Sebastien Bourdeauducq: update logo
<_florent_> 14 comes from MAC src(6) + MAC dst(6) + ethertype
<GitHub179> [artiq] sbourdeauducq pushed 3 new commits to release-1: https://git.io/vwXT7
<GitHub179> artiq/release-1 e835ae2 whitequark: doc: explain RPC return type annotations....
<GitHub179> artiq/release-1 b05e3f4 Sebastien Bourdeauducq: lwip: set MTU to 9000 to support jumbo frames
<GitHub179> artiq/release-1 88fd543 whitequark: compiler: make kernel_invariant an instance, not class, property....
<_florent_> but if that's only the maximum payload size we have to define in liteethif, then yes it's probably 1500
<sb0> _florent_, what about the 802.1Q tag?
<_florent_> it's optionnal, but yes we should probably add it if we are talking about layer 2 - FCS (inserted by the core)
<sb0> jumbo frames are also optional, but are causing a bug right now anyway
<sb0> _florent_, btw, what should be the behavior of liteeth when receiving a frame above the MTU?
<sb0> I have set it to 9000 right now, which corresponds to most implementation of jumbo frames, but according to murphy's law, a liteeth device will soon be connected to a network that has a higher mtu
<_florent_> 2s looking at that
<_florent_> for netif->mtu, yes that's probably 1500 for non jumbo frame, and then 9000 for jumbo
<_florent_> looking at liteeth behaviour with too large frames...
<sb0> I think a good behavior would be a large (eg 32-bit) length counter that always gives the full length of the frame
<bb-m-labs> build #382 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/382
<sb0> and if the frame overflows the block RAM, then the beginning is kept and remaining bytes are discarded
<sb0> software can check for this error condition by testing counter > mtu
<sb0> and can still look at the ethernet header to see where the frame is coming from
<_florent_> yes, for now we are going to write to the other rx slot
<_florent_> so it should be improved
<bb-m-labs> build #643 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/643 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<sb0> the counter wraps too
<_florent_> yes
<sb0> phew, of course, it's lwip so it broke...
<sb0> we might have to go for the non-jumbo frames
<_florent_> btw why are you using jumbo frames?
<sb0> the nist network has them
<sb0> and will mercilessly send them to the device without asking questions
<_florent_> ok, but do you need to receive them or just discard them (if I fix the gateware we will be able to discard them)
<sb0> I think the best course of action is to support them, since this will decrease network latency (otherwise the sender has to retry at least one frame to determine the MTU)
<_florent_> ok, at least on my side I'll fix the gateware soon (in the weekend)
<_florent_> (just need to add a simulation for it)
<sb0> if this isn't possible due to e.g. another avalanche of lwip bugs, then I think we should be sending back ICMP error replies when receiving a jumbo frames
fengling has quit [Ping timeout: 240 seconds]
sb0 has quit [Quit: Leaving]
kuldeep has quit [Ping timeout: 246 seconds]
kuldeep has joined #m-labs
<rjo> sb0: i never said that it complained.
<rjo> and how much BRAM does it actually use for that? with ISE on S3 it definitely used the next higher power of two.
<rjo> do jumbo frames really provide a significant benefit here? can't we just properly detect too large frames in the mac and tell lwip about them?
<bb-m-labs> build #213 of artiq-pipistrello-nist_qc1 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-pipistrello-nist_qc1/builds/213
sandeepkr has joined #m-labs
kuldeep_ has joined #m-labs
sandeepkr_ has joined #m-labs
kuldeep has quit [Ping timeout: 240 seconds]
sandeepkr_ has quit [Read error: Connection reset by peer]
sandeepkr has quit [Ping timeout: 276 seconds]
sandeepkr has joined #m-labs