Thanks, Jason, This looks like a patch to the ten_gb_eth_v2_00_a pcore. It might apply reasonably well to the ten_gb_eth_v3_00_a pcore that is in the current ROACH and ROACH2 base systems. Can that pcore be used on both ROACH and ROACH2? My 10 GbE ROACH2 designs use the kat_ten_gb_eth_v1_00_a pcore. Presumably a similar modification could be made there as well.
Dave On Oct 1, 2013, at 11:15 PM, Jason Manley wrote: >> WRT multicast TX, this was indeed implemented on the BEE2 (I recall playing >> with this some years ago) by Jouko in 2009. Emails predate archive, from 05 >> Feb 2009. I'm not sure what happened to this patch, but it's simple enough >> to re-add. > > Just dug up the email. Correction and apologies, this was added by Jan > Wagner! > > > Begin forwarded message: > >> From: Jan Wagner <jwag...@kurp.hut.fi> >> Date: 05 February 2009 13:49:28 SAST >> To: casper@lists.berkeley.edu >> Subject: [casper] patch: tengbe pcore multicast support >> >> Hi, >> >> I added UDP multicast sending support to the 10G IP core. >> >> Now all 224.0.0.0 through 239.255.255.255 are sent correctly with the >> corresponding multicast MAC. >> >> Earlier these UDP packets would have incorrectly been routed through the >> gateway MAC (and e.g. our HP6400cl and Summit X450 did not detect and >> convert the header multicast-IP target MAC from the wrong into the correct >> multicast MAC upon switching the packet to another 10G port). >> >> The "patch" is attached. It is a diff to "some" version of the 10G core, not >> the SVN, but the patch is rather short and you can apply it manually if it >> doesn't work directly. >> >> Maybe you can commit the changes to the ibob/roach SVN? >> >> By the way, there is one remaining TODO: I added provisions for TTL >> ('tx_ip_ttl'). Default TTL is 0xFF, but for multicast 0x01 is preferrable. >> The magic value X"8412" in the tx_ip_checksum_fixed_0 sum needs to be >> changed to include 'tx_ip_ttl'. I couldn't make sense of the X"8412" so the >> 0x01 TTL is not supported by the patch yet. Maybe somebody can figure out >> the computation? >> >> - Jan >> >> -- >> **************************************************** >> Helsinki University of Technology >> Dept. of Metsähovi Radio Observatory >> http://www.metsahovi.fi/~jwagner/ >> Work +358-9-428320-36 > <patch.txt>