nxp-archive / openil

OpenIL is an open source project based on Buildroot and designed for embedded industrial solution.
Other
136 stars 55 forks source link

YANG models for the SJA1105 ports #75

Open Norman03 opened 4 years ago

Norman03 commented 4 years ago

Hi, Does openil 1.9 version supports yang model for sja1105 ports?

vladimiroltean commented 4 years ago

Yes, it should support the IEEE 802.1Qbv YANG model when sysrepo-tsn is compiled with #define SYSREPO_TSN_TC: https://github.com/openil/sysrepo-tsn/blob/master/src/qbv.c I am led to understand that it will also support the IEEE 802.1Qci YANG model in the future, when sysrepo-tsn is reworked to use tc-gate instead of tsntool. For now, only 802.1Qbv, using tc-taprio.

mingkaihu commented 4 years ago

Qci configuration is supported for sja1105. https://github.com/openil/sysrepo-tsn/blob/master/src/qci_fm.c https://github.com/openil/sysrepo-tsn/blob/master/src/qci_sf.c