- Aug 11, 2016
-
-
Adam Wujek authored
wrs_watchdog will use WRS_LOG_OTHER instead of WRS_LOG_WRSWATCHDOG as a destination for logs. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Uplift config utilities in the wr-switch repo and the target. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Also pass -v/-q to wrs_msg_init to get verbose messages from the libwr. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Another tool like menuconfig for changing the dot-config on the target. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Source using ". file" instead of "source file". The second form is a bashism. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
These two libraries will be used by nconf/nconfig on target Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add support of multiple ptp instances on the same port and vlans to the wr_mon. After the change output looks like: wri6 : Link down WR Master NoLock i5 : no-ptp wri7 : Link up Non WR NoLock i6 : peer: 00:00:00:00:00:00 ptp state master(6) i8 : peer: 00:1b:c5:09:0c:b8 ptp state master(6) vlans: 4,7,65 wri8 : Link down WR Master NoLock i7 : no-ptp Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
remove rules like: --allmodconfig --kvmconfig --xenconfig --tinyconfig change directory with configs Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Print configured vlans for each ppsi instance in wrs_dump_shmem like: vlans: 15 99 115 Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Now it is also possible to use for dot-config configuration: make nconfig make xconfig make gconfig make menuconfig kconfig is taken from the linux kernel repo commit v4.8-rc1-19-g81abf25: e50bd235 Merge tag 'lkdtm-v4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add psmics for killall, pstree and fuser. Since fuser comes from psmisc, it is not needed anymore to compile it in the busybox. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add commands to wrs_sfp_dump to read/write SFP's eeprom. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add command to enable/disable dropping of frames which destination MAC address does not match to present RTU rules. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add "learning" command to enable/disable learning of RTU to the rtu_stat Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
To be used by a tool wrs_sfp_dump Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--vlan.sh needs RTU to be up. vlan.sh can be started at the same time as HAL, because wrs_vlans will wait for RTU. --Postpone the start of enable_switching.sh to leave some numbers empty for other programs in the future. --snmpd and lighttpd.sh can be started at the same time Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Change also wrsw_rtud. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
wrsw_rtud: --remove "force" param for minipc call rtudexp_clear_entries --pass port mask instead of port number for minipc call rtudexp_add_entry rtu_stat: --add a possibility to add RTU rules for a given port mask --add a possibility to remove single RTU rule --add a possibility to remove RTU rule for a given port mask --add verifying of MAC address --improve help Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add a function to verify rtu type and to convert type to string. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add a function to verify read MAC address. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add strtoldef for reading hex values. When not enough parameters were given to the program, str was always pointing to the element outside argv. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Remove local copy of mac_to_buffer from rtu_stat Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Use define instead of magic numbers Add enumeration of the "dynamic" field to the wrs_dump_shmem Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Improve wrs-user-manual and Kconfig Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--don't call the function shw_init; it is not needed --check the number of parameters for the function write_pcs_reg --erase ts_tx and ts_rx before use --remove function fpga_map, use the create_map instead from util.c Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
3 places were missed when renaming interfaces from wrX to wriX+1 Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Partly implement the [Feature: 1195]. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
The tool wrs_port_tx_control is not needed anymore, its functionality (putting the link down) is available by performing: ifconfig <port> down Such functionality was added in the commit: [Feature: 1336] kernel/wr_nic: disable SFP when interface is down Revert the following commits: 2b6c0bc2 userspace/tools: wrs_port_tx_control, rename network interfaces from wrX to wriX+1 ceb0c512 userspace/tools/wrs_port_tx_control: Include some defines 97d8878d userspace/tools/wrs_port_tx_control: initialise register address 35a63cd9 kernel/wb-regs: Added address offsets to endpoint-mdio.h d11514e5 userspace/tools/wrs_port_tx_control: added unistd.h 3184c2a7 doc/wrs-user-manual: added description of wrs_port_tx_control 4da29df3 userspace/tools: dynamically check maximum port number in wr_port_tx_control 4244c894 userspace/tools: added a program to control the TX on a WRS port Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Keep low enable pin on SFP when the interface is down. This commit makes the wrs_port_tx_control tool not needed anymore. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Implement Feature 1354 wrs_dump_shmem should also show information from LM32 Dump struct spll_stats from SoftPLL in wrs_dump_shmem Add parameter -S to wrs_dump_shmem to print only SoftPLL Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Now wr_date depends on libwr. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--move softpll_export.h to the libwr --create libwr/softpll.h with: FPGA_SPLL_STAT SPLL_MAGIC --move strncpy_e from snmpd to libwr Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Print correct role after role matching Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Hal creates shmem before waiting for SoftPLL to lock. By this other programs waiting for HAL's shmem can start. Please note that after this fix PPSi does not create shmem before lock. It waits for HALs minipc server to be ready. Before shmem is created, read hal mode first. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Aug 05, 2016
-
-
Adam Wujek authored
When wrsVersionFpgaType or wrsVersionSwitchSerialNumber is UNKNOWN, or wrsVersionScbVersion = 000 then probably hwinfo was erased or replaced with the wersion without a serial number. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jul 26, 2016
-
-
Adam Wujek authored
Add a script to gather data via SNMP in the given interval, store it a file and draw a graph. Example use: ./snmp_graph.sh -f oids_temp_ip.txt --ip 192.168.1.10 ./snmp_graph.sh -f oids_temp.txt --ip 192.168.1.12 --mibs-path "/var/lib/mibs/ietf:../snmpd" --mibs-load WR-SWITCH-MIB" Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Jul 20, 2016
-
-
Adam Wujek authored
adding support for NIC TX Frames counter and update SNMP due to that
-
It requires update of FPGA's bitstream. At least to the one including the commit from wr-switch-hdl repo: d6cf3c7 adding rmon events in NIC for per-port tx frames
-
-