• Alessandro Rubini's avatar
    network: prepare for network latency tests · c0a76804
    Alessandro Rubini authored
    This commit adds the Kconfig mechanism and the pfilter rules.
    The latency test socket transmists frames of a specific ether type;
    the receiver must receive all such frames.  To minimize the load on the
    packet filter, this adds a single rule: we already accept all PTPv2
    frames, so we now "OR" to this the new ethernet type.   If the feature
    is configured off, the rule uses the same PTPv2 ethertye, thus
    turning in practice into a NOP.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
Kconfig 10.8 KB