As discussed, now we convert single rtnl FD into per-port FD and remove
index2port hash table from clock.c

v2:
1. Let program still work even rtnl_open() failed.
2. Start rtnl_link_query() to check link status if rtnl_open() succeed.

Run linuxptp-testsuite and all passed.
SUMMARY:
  TOTAL  22
  PASSED 22
  FAILED 0    ()

Hangbin Liu (4):
  rtnl: replace obsolete RTMGRP_LINK with RTNLGRP_LINK for nl groups
  port: add FD_RTNL event to track per-port status
  clock: remove rtnl fd on clock
  clock: remove hash table index2port

 clock.c | 86 ++++++++---------------------------------------------------------
 clock.h |  7 ++++++
 fd.h    |  1 +
 port.c  | 47 +++++++++++++++++++++++++++++------
 port.h  |  7 ------
 rtnl.c  |  2 +-
 6 files changed, 59 insertions(+), 91 deletions(-)

-- 
2.5.5


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to