> ---------------------------------------------------------------------- > On Thu, 16 Jul 2020 14:54:43 +0300 Alexander Lobakin wrote: >> These ports ship on new boards revisions and are supported by newer >> firmware versions. >> >> Signed-off-by: Alexander Lobakin <aloba...@marvell.com> >> Signed-off-by: Igor Russkikh <irussk...@marvell.com> > > What is the driver actually doing with them, tho? > > Looks like you translate some firmware specific field to a driver > specific field, but I can't figure out what part of the code cares > about hw_info.port_mode Hi Jakub, You are right, this info is never used/reported. Alexander is extending already existing non used field with new values from our latest hardware revisions. I thought devlink info could be a good place to output such kind of information. Thats basically a layout of *Physical* ports on device - quite useful info I think. Important thing is these ports may not be directly mapped to PCI PFs. So reading `ethtool eth*` may not explain you the real device capabilities. Do you think it makes sense adding such info to `devlink info` then? Thanks Igor
- [PATCH net-next 00/13] qed/qede: add support for new ope... Alexander Lobakin
- [PATCH net-next 01/13] qed: convert link mode from ... Alexander Lobakin
- [PATCH net-next 02/13] qed: reformat public_port::t... Alexander Lobakin
- [PATCH net-next 05/13] qed: reformat several struct... Alexander Lobakin
- [PATCH net-next 10/13] qed: add support for new por... Alexander Lobakin
- Re: [PATCH net-next 10/13] qed: add support for... Jakub Kicinski
- Re: [PATCH net-next 10/13] qed: add support... Alexander Lobakin
- Re: [EXT] Re: [PATCH net-next 10/13] qed: a... Igor Russkikh
- Re: [EXT] Re: [PATCH net-next 10/13] qe... Jakub Kicinski
- Re: [PATCH net-next 10/13] qed: add sup... Alexander Lobakin
- [PATCH net-next 11/13] qed: add missing loopback mo... Alexander Lobakin
- [PATCH net-next 12/13] qed: populate supported link... Alexander Lobakin
- [PATCH net-next 13/13] qed/qede: add support for th... Alexander Lobakin
- [PATCH net-next 03/13] qed: add support for multi-r... Alexander Lobakin
- [PATCH net-next 04/13] qed: use transceiver data to... Alexander Lobakin
- [PATCH net-next 08/13] qede: introduce support for ... Alexander Lobakin
- [PATCH net-next 07/13] qede: format qede{,_vf}_etht... Alexander Lobakin
- [PATCH net-next 06/13] qed: add support for Forward... Alexander Lobakin