... | ... | @@ -264,15 +264,28 @@ A: Yes, the switch can handle frames larger than 1500 Bytes, so-called |
|
|
[Jumbo Frames](https://en.wikipedia.org/wikis/Jumbo_frame). But you'll
|
|
|
have to enable it first. You would need to enable giant frames reception
|
|
|
on a WR switch port where you're sending frames larger than 1500 Bytes.
|
|
|
IIRC there is no software tool in the current release that will do this
|
|
|
for you, so you would need to manually write to a proper register using
|
|
|
There is no software tool in the current release that will do this for
|
|
|
you, so you would need to manually write to a proper register using
|
|
|
devmem. Please see page 9 (for endpoint base addresses) and page 33 (for
|
|
|
bit A\_GIANT) of the [White Rabbit Switch HDL software interface
|
|
|
document](https://www.ohwr.org/project/white-rabbit/uploads/0e90236d5e9b48b41424dfc695d23cc4/switch_hdl-sw-v4.0.pdf).
|
|
|
E.g. for port 3 (endpoint no. 2) you would write to address 0x10030808.
|
|
|
|
|
|
Author: Greg Daniluk,
|
|
|
CERN
|
|
|
E.g. for port 3 (endpoint no. 2) you would write to address
|
|
|
0x10030808.
|
|
|
KM3NeT uses the following commands to enable Jumbo frames on all
|
|
|
ports:
|
|
|
|
|
|
#Enable Jumbo frames on all ports (customising the MRU to 9000B) - In total 18 writes
|
|
|
devmem 0x10030008 32 0x00800002
|
|
|
devmem 0x10030408 32 0x00800002
|
|
|
devmem 0x10030808 32 0x00800002
|
|
|
devmem 0x10030c08 32 0x00800002
|
|
|
devmem 0x10031008 32 0x00800002
|
|
|
...
|
|
|
devmem 0x10034008 32 0x00800002
|
|
|
devmem 0x10034408 32 0x00800002
|
|
|
|
|
|
Author: Greg Daniluk, Diego Real, Erik van der Bij,
|
|
|
29/10/18
|
|
|
|
|
|
-----
|
|
|
|
... | ... | |