Alex Forencich
54d0165f68
modules/mqnic: Register ports with devlink
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-09-13 16:40:27 -07:00
Alex Forencich
9963674c61
Add flow control
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-09-09 19:01:36 -07:00
Alex Forencich
82df10a356
modules/mqnic: Add missing priv reference
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-27 00:04:09 -07:00
Ulrich Langenbach
21f5a758c9
modules/mqnic: use unsigned short for I2C addresses
...
the i2c_client defines i2c addresses as unsigned short so we follow
this style
2023-06-26 12:10:27 -07:00
Ulrich Langenbach
b1f14659d9
modules/mqnic: sfp module eeprom i2c address adjustment for full access
...
* the optical diagnostics data is provided by the SFP modules
using another I2C address, which must be set via the I2C client
2023-06-26 12:10:27 -07:00
Ulrich Langenbach
6bd8ae031f
modules/mqnic: fix SFP EEPROM readout to support optical module diagnosis
...
* fix offset check for allowing an offset of exactly 256 Bytes
* fix allowing the I2C address of 0x51 to access the optical SFP modules
diagnosis information, see SFF8472 rev 12.4 p. 8
2023-06-26 12:10:27 -07:00
Alex Forencich
448fa8eb4c
Use SPDX
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-26 11:44:57 -07:00
Alex Forencich
aef62af18c
modules/mqnic: Associate messages with netdev
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-03 22:24:19 -07:00
Alex Forencich
335c731ef0
modules/mqnic: Implement ethtool reg dump API
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-03 17:44:14 -07:00
Alex Forencich
e76bc8128c
modules/mqnic: Implement ethtool rxfh API
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-03 16:54:37 -07:00
Alex Forencich
32db67b066
modules/mqnic: Improve indirection table handling
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-03 16:50:59 -07:00
Alex Forencich
eecaef6e6f
modules/mqnic: Add some additional range enforcement
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-03 16:49:28 -07:00
Alex Forencich
7cd40a8e1e
modules/mqnic: Minor cleanup
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-03 16:48:26 -07:00
Alex Forencich
a6da3a41cb
modules/mqnic: Implement ethtool channels API
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-03 01:35:01 -07:00
Alex Forencich
3302c1f832
modules/mqnic: Implement ethtool ringparam API
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-03 01:22:12 -07:00
Joachim Foerster
db1bb30745
modules/mqnic: Export link status via ethtool
...
Makes ethtool show the usual "Link detected" line.
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
2022-05-23 13:59:46 -07:00
Alex Forencich
8fbe46aa31
Update ethtool API implementation
2022-03-22 23:48:13 -07:00
Alex Forencich
c118565d21
Fix EEPROM-related error handling in ethtool interface code
2022-03-20 23:07:45 -07:00
Alex Forencich
137a6778da
Combine interface control blocks
2022-01-15 21:53:13 -08:00
Alex Forencich
0f82e0c5f3
Fix ethtool firmware version number reporting
2022-01-10 11:18:58 -08:00
Alex Forencich
ce21774f06
Register space reorganization
2021-12-29 22:31:46 -08:00
Alex Forencich
27c9241a69
Update header comment, add SPDX license identifiers
2021-10-21 14:55:48 -07:00
Alex Forencich
df4c1c9db7
Use strscpy instead of strncpy
2021-10-21 14:45:22 -07:00
Alex Forencich
2adaf820b5
More kernel module coding style updates
2021-10-21 13:54:00 -07:00
Alex Forencich
5b49f09baa
Fix kernel module coding style
2021-10-08 18:31:53 -07:00
Alex Forencich
1bce5827c9
Rework ethtool get_ts_info implementation
2021-10-08 17:47:22 -07:00
Alex Forencich
4294e5ea1d
Use BIT macros
2021-10-08 16:55:56 -07:00
Alex Forencich
8bf38e20c7
Add missing includes
2021-08-20 18:08:22 -07:00
Alex Forencich
945b2d3206
Add ethtool support for reading module EEPROMs
2020-09-19 17:25:58 -07:00
Alex Forencich
e60e3a993f
Add device object reference in mqnic_dev and clean up references to device object
2020-07-30 19:37:34 -07:00
Alex Forencich
6c5b6c99a1
Initial commit of mqnic kernel module
2019-07-17 18:13:51 -07:00