[PATCH net 1/1] qed: Fix static checker warning

2018-10-23 Thread Rahul Verma
From: Rahul Verma Static Checker Warnings: drivers/net/ethernet/qlogic/qed/qed_main.c:1510 qed_fill_link_capability() error: uninitialized symbol 'tcvr_state'. drivers/net/ethernet/qlogic/qed/qed_mcp.c:1951 qed_mcp_trans_speed_mask() error: uninitialized

[PATCH net-next 4/5] qede: Check available link modes before link set from ethtool.

2018-10-16 Thread Rahul Verma
From: Rahul Verma Set link mode after checking available "supported" link caps of the port. Signed-off-by: Rahul Verma Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qede/qede_ethtool.c | 64 + 1 file changed, 45 insertions(+), 19

[PATCH net-next 5/5] qed: Prevent link getting down in case of autoneg-off.

2018-10-16 Thread Rahul Verma
From: Rahul Verma Newly added link modes are required to be added during setting link modes. If the new link mode is not available during qed_set_link, it may cause link getting down due to empty supported capability, being passed to MFW, after setting

[PATCH net-next 3/5] qed: Add supported link and advertise link to display in ethtool.

2018-10-16 Thread Rahul Verma
From: Rahul Verma Added transceiver type, speed capability and board types in HSI, are utilizing to display the accurate link information in ethtool. Signed-off-by: Rahul Verma Signed-off-by: Ariel Elior --- drivers/net/ethernet/qlogic/qed/qed_main.c | 199

[PATCH net-next 1/5] qed: Align local and global PTT to propagate through the APIs.

2018-10-16 Thread Rahul Verma
From: Rahul Verma Align the use of local PTT to propagate through the qed_mcp* API's. Global ptt should not be used. Register access should be done through layers. Register address is mapped into a PTT, PF translation table. Several interface functions require a PTT

[PATCH net-next 0/5] Align PTT and add various link modes.

2018-10-16 Thread Rahul Verma
From: Rahul Verma This series aligns the ptt propagation as local ptt or global ptt. Adds new transceiver modes, speed capabilities and board config, which is utilized to display the enhanced link modes, media types and speed. Enhances the link with detailed information. Rahul Verma (5): qed

[PATCH net-next 2/5] qed: Added supported transceiver modes, speed capability and board config to HSI.

2018-10-16 Thread Rahul Verma
From: Rahul Verma Added transceiver modes with different speed and media type, speed capability and supported board types in HSI, which will be utilizing to display correct specification of link modes and speed type. Signed-off-by: Rahul Verma Signed-off