Sorry I meant why we still need:
neutron/plugins/ml2/drivers/mlnx/mech_mlnx.py
I guess its a leftover code due to be removed soon (Someone more informed can comment).
However, I understand that ML2 mellanox plugin is getting deprecated in the Kilo release.
Can someone pls explain.
My understanding is - since Juno has inbox support for SRIOV, vendor-specific plugins have become redundant so it makes sense to deprecate them in future releases. However, if an adapter provides additional features that inbox driver might not support, it's vendor would want to contribute to ML2 neutron (ML2 extensions) to fully exploit the adapter. For now it looks like the inbox driver can do whatever Mellanox would like to exploit its adapters for.