xl4-shiro / excelfore-gptp

gPTP, IEEE 802.1AS-REV implementation
GNU General Public License v2.0
62 stars 38 forks source link

Two Questions about "Half Duplex vs Full Duplex" and how to get link speed #21

Closed WalesLai closed 6 months ago

WalesLai commented 7 months ago

Hi All, good day

I try to run gptp2d on Ubuntu 20.04 with kernel 5.4.0, the NIC is i210. Now I have two questions:

  1. Does the gptp2d support "Half Duplex" mode? or only support "Full Duplex"
  2. When run gptp2d, I can see its show the speed value on console, how the gptp2d get the link speed? I use i210 driver, but not see any ioctl command from user space, interesting about it, I review the source code, but not find (maybe I lost something), Anyone who known it can give me some advice, thanks.
WalesLai commented 7 months ago

OK, I find the answer for No.2

WalesLai commented 6 months ago

All issue I already find and solve it can be close