Use data sharing to map the corresponding user-plane traffic and control-plane traffic.
Mapping control-plane traffic and user-plane traffic
Control-plane traffic in the telecom core network can be filtered
separately. The following NTPL example configures the SmartNIC to filter control-plane
traffic and deliver to stream 8. Another filter is set to distribute user-plane traffic to
stream 0 to 7.
HashMode = HashInner5TupleSorted // Stream 8 for control-plane traffic Assign[StreamId=8] = TunnelType == GTPv1v2-C // Stream 0 to 7 for user-plane traffic Assign[StreamId=(0..7)] = TunnelType == GTPv1-U-GPDUTo map the corresponding user-plane traffic and control-plane traffic, stream 8 (the stream for control-plane traffic in the NTPL example) can be accessed multiple times in the threads (data sharing) where streams 0 to 7 (the streams for user-plane traffic in the NTPL example) are handled. As shown in the following figure, all the GTP-C frames of stream 8 are obtained in each RX thread where GTP-U frames of each stream are obtained.
Figure. Accessing control-plane traffic multiple times