e307e65b3f
Use port type to determine the supported speed capabilities. Fixes: e274f5732225 ("ethdev: add speed capabilities") Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>