The P802.1Qcd/D2.1 standard draft introduces a new APP TLV to assign packet priority based on IP DSCP header. Support for this has been recently added to lldpad upstream[0], and has been in the upstream kernel since 4.15[1]. Some drivers already take advantage of the possibility to configure DSCP-to-priority mappings (e.g. mlx5), mlxsw will support this from 4.19. Please consider applying the patch to Fedora package of lldpad. [0] https://github.com/intel/openlldp/pull/9#issuecomment-404650581 [1] http://patchwork.ozlabs.org/patch/834246/ Version-Release number of selected component (if applicable): lldpad-1.0.1-11.git036e314.fc29 How reproducible: Always. Steps to Reproduce: 1. service lldpad start 2. lldptool -T -i $PORT -V APP app=3,5,24 3. lldptool -t -i $PORT -V APP -c app Actual results: # lldptool -T -i sw1p5 -V APP app=3,5,24 Invalid command c: selector out of range # lldptool -t -i sw1p5 -V APP -c app APP=(prio,sel,proto) Expected results: # lldptool -T -i sw1p5 -V APP app=3,5,24 # lldptool -t -i sw1p5 -V APP -c app APP=(prio,sel,proto) 0:(3,5,24) local hw (unknown) Additional info:
Created attachment 1476431 [details] Packaging patch This patch modifies the Fedora package to include the patch necessary for support of DSCP APP TLVs in lldpad. Tested this on a switch, the two tests that exercise the relevant lldpad code both passed.
Is there anything I can do to help push this along? I filed a couple requests in https://src.fedoraproject.org/rpms/lldpad/pull-requests so getting the patch in should be a one-click thing.
lldpad-1.0.1-10.git036e314.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-cec7093baa
lldpad-1.0.1-12.git036e314.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-06d56c8c9d
lldpad-1.0.1-12.git036e314.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-06d56c8c9d
lldpad-1.0.1-10.git036e314.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-cec7093baa
lldpad-1.0.1-10.git036e314.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
lldpad-1.0.1-9.git036e314.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e9d1ec6dbc
lldpad-1.0.1-9.git036e314.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e9d1ec6dbc
lldpad-1.0.1-12.git036e314.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
lldpad-1.0.1-9.git036e314.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.