Hi, I'm looking for a way to alter the TLV's on the X710 embedded LLDP agent using a Linux system.
My preferred approach would be to use the Admin Queue to control the X710.
Using the Admin Queue without the need of writing the buffer works great, for example "Get LLDP MIB Response":
echo 'send indirect aq_cmd 0 2560 0 0 0 0 0 0 0 0 0' > /sys/kernel/debug/i40e/0000\:03\:00.0/command
"Update LLDP TLV Command" can be used to change the TLV data.
echo 'send indirect aq_cmd 0 2563 0 0 0 0 0 0 0 0 0' > /sys/kernel/debug/i40e/0000\:03\:00.0/command
This commands uses an indirect buffer for TLV data, but I couldn't find any provision in the i40e driver to write buffer data.
Do I need to patch the i40e kernel module to accomplish this, or is there another solution ?