From 77dd58640c84315fe257daee30113e5c6f405f28 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 14 Dec 2017 16:04:22 -0800 Subject: mpm: udp xport: Bind SID addr 0 and 1 to respective SFP ports Reviewed-by: Trung Tran --- mpm/python/usrp_mpm/periph_manager/n310.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mpm/python/usrp_mpm/periph_manager/n310.py') diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py index 042cedd2e..6e48d8f60 100644 --- a/mpm/python/usrp_mpm/periph_manager/n310.py +++ b/mpm/python/usrp_mpm/periph_manager/n310.py @@ -200,6 +200,7 @@ class FP_GPIO(object): # Transport managers ############################################################################### class N310XportMgrUDP(XportMgrUDP): + " N310-specific UDP configuration " eth_tables = {'eth1': 'misc-enet-regs0', 'eth2': 'misc-enet-regs1'} xbar_port_map = {'eth1': 0, 'eth2': 1} xbar_dev = "/dev/crossbar0" @@ -208,15 +209,18 @@ class N310XportMgrUDP(XportMgrUDP): 'label': 'misc-enet-regs0', 'xbar': 0, 'xbar_port': 0, + 'ctrl_src_addr': 0, }, 'eth2': { 'label': 'misc-enet-regs1', 'xbar': 0, 'xbar_port': 1, + 'ctrl_src_addr': 1, }, } class N310XportMgrLiberio(XportMgrLiberio): + " N310-specific Liberio configuration " max_chan = 10 xbar_dev = "/dev/crossbar0" xbar_port = 2 -- cgit v1.2.3