| e949eaa5 | 29-Apr-2019 |
Igor Russkikh <[email protected]> |
net/atlantic: fix arguments check
Found by Coverity scan, two pointer args should be not zero checked
Coverity issue: 337929 Fixes: 2f40244b39ba ("net/atlantic: implement MACsec firmware interface"
net/atlantic: fix arguments check
Found by Coverity scan, two pointer args should be not zero checked
Coverity issue: 337929 Fixes: 2f40244b39ba ("net/atlantic: implement MACsec firmware interface")
Signed-off-by: Igor Russkikh <[email protected]>
show more ...
|
| 3d19de22 | 29-Apr-2019 |
Pavel Belous <[email protected]> |
net/atlantic: use capability bits to detect EEPROM access
Its better to use capability bits FW provides to detect whether firmware has APIs for EEPROM access.
Before that explicit FW version compar
net/atlantic: use capability bits to detect EEPROM access
Its better to use capability bits FW provides to detect whether firmware has APIs for EEPROM access.
Before that explicit FW version comparison was used and that may cause conflicts.
Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: Pavel Belous <[email protected]>
show more ...
|
| 05d5b1d6 | 29-Apr-2019 |
Pavel Belous <[email protected]> |
net/atlantic: consider EEPROM get/set offset
EEPROM get/set offset logic should take offset into account. Data transfers to/from FW should also correctly use dword based transfer interface, taking i
net/atlantic: consider EEPROM get/set offset
EEPROM get/set offset logic should take offset into account. Data transfers to/from FW should also correctly use dword based transfer interface, taking into account the remainder. We also check error code returned from FW.
Fixes: ce4e8d418097 ("net/atlantic: implement EEPROM get/set") Cc: [email protected]
Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: Pavel Belous <[email protected]>
show more ...
|
| e09a7bee | 12-Mar-2019 |
Pavel Belous <[email protected]> |
net/atlantic: fix buffer overflow
Found by Coverity scan. This is a real memory corruption. There is no need in extra RTE_ALIGN macros since the request/result structures are 4-byte aligned by defin
net/atlantic: fix buffer overflow
Found by Coverity scan. This is a real memory corruption. There is no need in extra RTE_ALIGN macros since the request/result structures are 4-byte aligned by definition.
Coverity issue: 323518, 323520 Fixes: ce4e8d418097 ("net/atlantic: implement EEPROM get/set") Cc: [email protected]
Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: Pavel Belous <[email protected]>
show more ...
|
| 0b504bcf | 12-Mar-2019 |
Igor Russkikh <[email protected]> |
net/atlantic: remove extra checks for error codes
Found by Coverity scan. Checks are useless because at these code places err is always zero.
Fixes: 86d36773bd42 ("net/atlantic: implement firmware
net/atlantic: remove extra checks for error codes
Found by Coverity scan. Checks are useless because at these code places err is always zero.
Fixes: 86d36773bd42 ("net/atlantic: implement firmware operations") Cc: [email protected]
Signed-off-by: Igor Russkikh <[email protected]>
show more ...
|
| 7906661e | 12-Oct-2018 |
Igor Russkikh <[email protected]> |
net/atlantic: add b0 hardware layer
This is hw_atl logic layer derived from linux atlantic driver. It contains RX/TX hardware initialization sequences, various hw configuration.
Signed-off-by: Igor
net/atlantic: add b0 hardware layer
This is hw_atl logic layer derived from linux atlantic driver. It contains RX/TX hardware initialization sequences, various hw configuration.
Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: Pavel Belous <[email protected]>
show more ...
|
| 86d36773 | 12-Oct-2018 |
Igor Russkikh <[email protected]> |
net/atlantic: implement firmware operations
AQC NICs comes in fields with two major FW generations: 1x and 3x.
This is part of linux atlantic driver shared code, responsible for internal NIC firmwa
net/atlantic: implement firmware operations
AQC NICs comes in fields with two major FW generations: 1x and 3x.
This is part of linux atlantic driver shared code, responsible for internal NIC firmware interactions, including link management ops, FW initialization, various lifecycle features.
Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: Pavel Belous <[email protected]>
show more ...
|