- 04 Sep, 2019 40 commits
-
-
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>
-
Adam Wujek authored
commit inspired by commit from spec-sw repo: kernel/wr_nic: fix rx timestamps c246c3ce36ac908ee3aada7db1f293bd12e42346 (commit edited for checkpatch by AR) Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
The calibration procedures are defined but never called. They were used in wrs-V2 hardware, but callers disappeared in January 2012. Better remove them than let them rust forever. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
patch taken from spec-sw repo: kernel/wr_nic: major cleanup of tx timestamping ab3f2f8d18e4f6ed744438314e5a78b8a509de74
-
Adam Wujek authored
(commit amended by alessandro to avoid #ifdef in the functions) Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
This change adds warnings, but they will disappear after move to 3.14, where %pa is supported. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Alessandro Rubini authored
This fixes an oops when programs access ethtool methods, especially wrn_get_drvinfo. It can be reproduced by a simple run of "irqbalance", which I never did in my development machine. Reported-by: Grzegorz Daniluk <grzegorz.daniluk@gmail.com> Signed-off-by: Alessandro Rubini <rubini@gnudd.com> EOF
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Adam Wujek authored
-
Adam Wujek authored
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-