Hi All,
We previously were successful in setting up the 10gbe core for ROACH1 using
tap_start, which I believe resulted in a process tgtap appearing in the
ROACH.
I am using the same method for ROACH2 (using the latest ROACH2 rev 2 file
system loaded via netboot), and there is no reported error, but the ARP
table does not contain the MAC address for the destination IP address, and
when I check the processes running on the ROACH2 I do not see tgtap.
Has the procedure changed at all, or is there something I am doing wrong?
Thanks,
Dale
Here are the relevant katcp python calls we are using:
# Configuration Parameters for 10 GbE ports.
dest_ip = 10 * ( 2 ** 24 ) + 101 # DPP_IP 10.0.0.101
fabric_port = 60000
source_ip = 10 * ( 2 ** 24) + 11 # ROACH1, SLOT 0, CHANNEL 0: 10.0.0.11
mac_base = (2 << 40) + (2 << 32)
# Configuring 10 Gbe core Tx_P
print 'Configuring transmitter core...',
sys.stdout.flush()
fpga.tap_start('tapP1',tx_core_name, mac_base + source_ip, source_ip,
fabric_port)
print 'done'
print 'Setting-up DPP IP and port information...',
sys.stdout.flush()
fpga.wordwrite('f_ctrl_dpp_ip', 0, hex(dest_ip))
fpga.wordwrite('f_ctrl_dpp_port', 0, hex(fabric_port))
print 'done'
# Reset 10 GbE cores
print 'Resetting 10 GbE core...',
sys.stdout.flush()
fpga.wordwrite('f_ctrl_rst', 0, hex(1))
fpga.wordwrite('f_ctrl_rst', 0, hex(0))
print 'done'
time.sleep(2)
# Print ARP table
print '\n===============================\n'
print '10GbE Transmitter core details:'
print '\n===============================\n'
print "Note that for some IP address values, only the lower 8 bits are
valid!"
fpga.print_10gbe_core_details( tx_core_name, arp=True )
This ARP table is correct for the source_ip, but all FF for the MAC address
of the dest_ip.