- 04 Sep, 2019 40 commits
-
-
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>
-
Tjeerd Pinkert authored
FIXME: I know that this is not the place to add these definitions they should be added/fixed in the .wb files. FIXME: - fixed #ifndef statement, the dash makes the compiler ignore the MDIO_WB part, which does not allow the file to be #included together with the endpoint-regs.h file. This should be done in the .wb file. FIXME: - added register address constants. This should be done in the .wb file Note: I have no idea how to do this, someone who knows could probably fix the issues raised here.
-
Tjeerd Pinkert authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
File provides information about pstats version, number of counters per word stored in memory and number of counters per each port.
-
Maciej Lipinski authored
-
Maciej Lipinski authored
Conflicts: kernel/wbgen-regs/Makefile kernel/wbgen-regs/tru-regs.h kernel/wbgen-regs/tru-regs.wb
-
Maciej Lipinski authored
Conflicts: kernel/wbgen-regs/tru-regs.h kernel/wbgen-regs/tru-regs.wb userspace/wrsw_rtud/rtu_tru_drv.c userspace/wrsw_rtud/rtu_tru_drv.h
-
Grzegorz Daniluk authored
-
Maciej Lipinski authored
-
Tomasz Wlostowski authored
[this commit message by Alessandro] This is a set of changes that bring upstream the internal status of Tom's machine. Splitting them up would be a massive work to little benefit, since this is obviously right. The broken symlink in the original commit in "tom-rt-fixes" branch is fixed in this rebased commit. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Grzegorz Daniluk authored
-
Tomasz Wlostowski authored
NOTE: the previous merge of rtu_32ports won't compile without this
-
Tomasz Wlostowski authored
-
Tomasz Wlostowski authored
-
Tomasz Wlostowski authored
-
Tomasz Wlostowski authored
-
Tomasz Wlostowski authored
-
Alessandro Rubini authored
-
Alessandro Rubini authored
-
Federico Vaga authored
Actually, this is not what I want. I would like to just use an IRQ resource with the correct IRQ number. What I want is to hide the IRQ domain knowledge elsewhere. For instance, in the wrs_device module that register all our devices. But, since I have to update the kernel with the least number of changes I will leave this for the future. Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Federico Vaga authored
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
-
Grzegorz Daniluk authored
-
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
Use 16 as length of wrint_name to let Alessandro sleep well. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Set-up VLAN related registers during driver load instead of during opening (bringing up) interfaces. From now VLANs can be configured after loading the driver, but before bringing up of interfaces. By this no switching is done without VLANs beeing configured. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Alessandro Rubini authored
When the switch is loaded, some PTP outgoing frames get discarded, so we never get back the timestamp interrupt. By round-robin'ing the slots, we get back to the "busy" one, which holds an skb structure that must be released. Without this freeing, the skb remains in the output queue of the socket, and after a while we get EAGAIN in send() because the buffer is full (400 frames, more or less). And the ptp port is stuck until we reopen the socket. This diagnosis exposed the fact that it's not an overflow of pending descriptors, so I change the message from descriptor overflow: tx timestamp pending to discarding tx frame that got no timestamp Finally, this is pr_warn, not pr_err as we now know it's expected. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Adam Wujek authored
Changes also in wr_pstats. Wr_nic now calls callback function in wr_pstats to get counters Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Add posibility to setup MAC address at load time for SPEC. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
In kernel this function returns 1/true on success! Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Benoit Rat authored
- Remove only for write in #72557df - NetworkManger (Unbuntu LTS 12.04) insists on accessing to the phy when it is used from LM32 and flood the dmesg so we remove the warning.
-
Benoit Rat authored
NetworkManager tries to access the phy, so this WARN_ON is pretty common if the daemon is running. Now we know who is misbehaving, and the driver can keep silent (disclaimer: this opinionated message is by Alessandro :)
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-