Uploaded image for project: 'Precision Time Protocol'
  1. Precision Time Protocol
  2. PSPTP-113

Update to Driver Ethernet V1.12.3.0 and add VLAN tagging

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V2.4.1.0
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      Update to Driver Ethernet V1.12.3.0 in order to adapt to new VLAN tag interface.

      Take the following Driver Ethernet migration note into account:

      ## V1.12.2.0

      * With [PSDRVETH-197](https://ticket.hilscher.com/browse/PSDRVETH-197) a new handling for VLAN-Tags was introduced. This was necessary because the GTSB HAL (netX9xx - TSN Switch) uses a different way to handle VLAN-Tags than all other switches before. To support this new handling, a new callback "pfnGetFrameVlan" was introduced to retrieve a buffer with VLAN-Tag. The structure ETH_FRAME_FRAG_T was renamed to ETH_FRAME_DESCRIPTOR_T and extended with another pointer "pbEthType" which points to the beginning of the EtherType within the retrieved frame buffer which is retrieved by the callback functions "pfnGetFrame" and "pfnGetFrameVlan". Depending on this pointer to the EtherType, the application has to write its payload data from the beginning of this address. A VLAN-Tag must be provided by the structure ETH_FRAME_PROP_T which was extended by another parameter "usTCI". Also, the field "bFlags" within this structure was extended by another bit ETH_FRAME_PROP_FLAG_VLAN (bit 1) which must be set if a VLAN-Tag is used. Information about destination and source MAC addresses can be written into the frame buffer via the "pbPayload" pointer of the structure ETH_FRAME_DESCRIPTOR_T as already known from previous versions.

      The same applies if VLAN-Tagged frames are received. Information about the VLAN-Tag itself are provided within the properties structure ETH_FRAME_PROP_T and no more in the frame buffer itself.

      **The change does not affect the send mechanism when sending frames without VLAN-Tag**

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    KMichel Kai Michel
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: