With regard to changing the media modes on your 2x25G SmartNIC, you could get all the info you need by simply executing "nfp-media --h" and "nfp-media --help-25g". Then, use the options that would apply for your use case (e.g., nfp-media --set-media=phy0=10G phy1=10G)
Alternatively, if you are in a system w/o the BSP tools, you could use ethtool to change the media settings. For instance, if your SmartNIC netdevs are enp3s0np0 and enp3s0np1, use the following sequence of commands:
1- Down interfaces
# ip link set dev
enp3s0np0 down;
ip link set dev enp3s0np1 down
2- Change media mode
# ethtool -s enp3s0np0 speed 10000; ethtool -s enp3s0np1 speed 10000
3- reload the kernel module (nfp)
# rmmod nfp, modprobe nfp
Here, I am assuming that you are a Netronome firmware package already installed in the system (e.g., BasicNIC or OVS TC) so that the kernel module would load it automatically. In addition, if the kernel module you have installed is the one installed by the SDK, you will need to specify that you want the netdevs instantiated (e.g., "modprobe nfp nfp_pf_netdev=1").
For the other commands you did ask about, you can also use "-h" to get the usage page