René van Dorst
44ce073869
SWTG024AS: Add port overview, rename SDS to SerDes
2025-12-19 21:03:47 +01:00
René van Dorst
9c4d49bc8c
Merge pull request #49 from logicog/igmp
...
Add basic IGMP support.
2025-12-15 06:45:20 +00:00
logicog
95fae8bad2
Display actual link speed
2025-12-15 06:54:41 +01:00
logicog
6dfad825c0
Add IGMP documentation
2025-12-15 06:54:41 +01:00
logicog
c8c524b71f
Add an implementation for IGMP
...
This adds an implementation for trapping IGMP packets to the CPU
which will identify IGMPv1/2/3 packets, but handle only v3.
The implementation then inserts/updates/deletes L3 MC entries
in the L3 lookup table. The entries consist of an Ipv4
Destination IP (the IPv4 MC address), a Source IP (0.0.0.0) and
a Portmask. Note that this implementation is not VLAN aware,
as there is no hardware support in the device.
An alternative strategy is to control switching of the L2-MC packets
in which the IPv4-MC packets are transported (dst-MaC is
01:00:5e:xx:yy:zz, with xx:yy:zz corresponding to bits in the Ipv4-MC
address). This will allow to use VLAN-aware packet switching. While
code support is there for table insert/update/deletes, some further
L2 configuration is missing.
There is no support for IPv6 MC, yet.
2025-12-15 06:54:41 +01:00
logicog
96977b5d88
Move rtl_tag structure definition to common inlude
2025-12-14 20:35:17 +01:00
logicog
a84c5dcd0c
IGMP refactoring
2025-12-14 20:35:17 +01:00
logicog
b1d5352214
Update LAG configuration registers
2025-12-14 20:35:17 +01:00
René van Dorst
677e01fa18
Merge pull request #39 from logicog/sfp_work
...
Put all the device information in one struct `machine`.
So all the device information is defined in one place.
Also easier to add new devices.
Show device name also on website.
Fix SFP status information, some devices have a different SFP layout.
Reworks GPIO handling
Able to set manual port speed, duplex for the RJ45 ports.
2025-12-14 11:53:23 +00:00
logicog
b41452026f
Make sure port is not called for an SFP module
2025-12-14 12:17:53 +01:00
René van Dorst
0197c9b6cf
Fixed to make SWGT024 V2.0 work
2025-12-14 11:49:38 +01:00
logicog
2ed9974c04
Add more options to Link configuration and status display
2025-12-14 11:41:50 +01:00
René van Dorst
11d2c843e5
Fixed to make SWGT024 V2.0 work
2025-12-13 22:22:40 +01:00
logicog
28f832a24d
Fix PHY issues
2025-12-13 22:22:40 +01:00
logicog
d71a303f6c
Move RTL8372 SMI address configuration
2025-12-13 22:22:40 +01:00
logicog
74364ed7e8
Add machine name in send_basic_info()
2025-12-13 22:22:40 +01:00
logicog
e6cf97b895
Support keeplink 5+1 device
2025-12-13 22:22:40 +01:00
logicog
1cdc8d2cf7
De-Magic switch init
2025-12-13 09:25:58 +01:00
logicog
a453ec72dc
Use cached GPIO state
2025-12-13 09:25:58 +01:00
logicog
edfb86bff4
Use SFP pin definitions and I2C ports for SFP modules
2025-12-13 09:25:58 +01:00
logicog
45d4fc19c4
Add machine definitions
2025-12-12 18:31:42 +01:00
logicog
d75ad636f9
Use machine structure
2025-12-12 09:06:52 +01:00
logicog
6b96c3b70b
Merge pull request #47 from sergewar/update_doc
...
Update requisites for compiling
2025-12-11 09:35:23 +01:00
sergewar
35ab8cc5e0
Update requisites for compiling
2025-12-10 01:43:10 +02:00
logicog
06fbf85bce
Add SFP information in send_basic_info()
2025-12-08 12:24:20 +01:00
logicog
3c869e927a
Add support for 10G 500M and 5G speed display
...
This adds the speed status display of other link speeds:
100M 500M 1000M: Green 2nd LED
2.5G, 5G, 10G: Orange 2nd LED
2025-12-08 08:39:54 +01:00
logicog
ab6a66a223
Add support for 2nd SFP port in stats
2025-12-08 08:39:54 +01:00
logicog
636981c3b8
Detect 2nd SFP-slot RX-Los on KP-9000-6XHML-2X
2025-12-08 08:39:54 +01:00
logicog
101b4937e1
Fix link change handling
...
The RTL8272/3 use 2 32 bit registers to indicate the MAC link speed, the
second register is used for ports 8 and 9, where 9 is the CPU port.
Use both registers.
2025-12-08 08:39:54 +01:00
logicog
e9b8ab5b79
Correct handling of SFP ports in stat command
...
This fixes handling of the SFP ports in the stat command.
The output of the command now is for physical ports, which however are
not shown in sequence.
2025-12-08 08:39:54 +01:00
logicog
32b5539670
Do not show non-ascii Transceiver field in SFP module description
2025-12-07 10:59:39 +01:00
René van Dorst
fccafe8059
Merge pull request #43 from logicog/lags
...
feature LAGs support.
2025-12-07 09:12:21 +00:00
logicog
68405f70d2
Add lag show command
2025-12-06 23:38:41 +01:00
logicog
e7301dc39f
Add send_lag for page_impl.h
2025-12-06 18:01:12 +01:00
logicog
94b6688e57
Correctly use physical port in mirror configuration
2025-12-05 07:38:16 +01:00
logicog
3679b46ff2
Add LAG implementation in httpd
2025-12-05 07:38:16 +01:00
logicog
52fe23570c
Add simulator for LAGs
2025-12-05 07:38:16 +01:00
logicog
6557fc53e5
Add LAG configuration web-page
2025-12-05 07:38:16 +01:00
logicog
4b2d7002dc
Add physical/logical mapping of ports
2025-12-05 07:38:16 +01:00
logicog
b82b957750
Add LAG documentation
2025-12-05 07:38:16 +01:00
logicog
8284554f69
Add LAG configuration commands
2025-12-05 07:38:16 +01:00
logicog
47aa6ab7bf
Improve LAG configuration
2025-12-05 07:38:16 +01:00
logicog
42ea80a480
Update LAG configuration registers
2025-12-05 07:38:16 +01:00
logicog
e63d1bf577
Merge pull request #27 from vDorst/doc_2M-PCB23-V3_1-managed
...
Add docs: 2M-PCB23-V3.1-managed
2025-12-01 22:30:06 +01:00
René van Dorst
1c78d32493
Merge pull request #36 from logicog/config
...
System settings and configuration management
2025-12-01 19:22:03 +00:00
logicog
b910692caf
Use random session ID in httpd.c
2025-12-01 18:26:46 +01:00
logicog
9c21d94b65
Add read_reg_timer function
2025-12-01 18:26:46 +01:00
logicog
7f715e9218
Move inline itohex() into header file to allow external access
2025-12-01 18:26:46 +01:00
logicog
ad27566030
Use current password in httpd.c
2025-12-01 18:26:46 +01:00
logicog
0722b147fe
Add cache control to make sure new pages are served on session timeout
2025-12-01 18:26:46 +01:00