Alex Forencich
6b142d36c2
Pull board-specific code into mqnic_board.c and refactor I2C code
2021-02-01 20:10:48 -08:00
Alex Forencich
df32217dc8
Use MAC list instead of base MAC for more flexibility
2021-01-31 22:25:24 -08:00
Pekka Enberg
57809dad90
mqnic_i2c: Fix device_attach() error handling
...
If the device_attach() function fails, make sure "client" is free'd and
that the create_i2c_client() function returns NULL to signal an error to
callers.
Signed-off-by: Pekka Enberg <penberg@iki.fi>
2021-01-16 13:18:23 -08:00
Alex Forencich
220511f661
Use little endian types in hardware structs
2021-01-13 20:19:45 -08:00
Alex Forencich
9ceacea0e0
Fix types
2021-01-13 20:18:01 -08:00
Alex Forencich
ddda63476c
Make internal functions static
2021-01-13 20:09:09 -08:00
Alex Forencich
dd3374626f
Add flash control registers to mqnic_hw.h
2020-10-04 00:43:36 -07:00
Alex Forencich
6fcd638f6c
Fix organization
2020-09-25 23:14:22 -07:00
Alex Forencich
6178d52056
Add driver support for fb2CG@KU15P
2020-09-22 23:12:28 -07:00
Alex Forencich
8d4dcad7ea
Support I2C transceiver access on Alveo U200 and Alveo U250
2020-09-22 01:02:16 -07:00
Alex Forencich
945b2d3206
Add ethtool support for reading module EEPROMs
2020-09-19 17:25:58 -07:00
Alex Forencich
639cc1d02b
Register I2C muxes and clients for NetFPGA SUME, VCU108, VCU118, VCU1525, and ZCU106
2020-09-19 17:25:58 -07:00
Alex Forencich
a46cb33b69
Add mqnic_create_i2c_adapter method
2020-09-19 17:25:58 -07:00
Alex Forencich
a37d9b3465
New transceiver control reigster definitions
2020-09-19 17:25:58 -07:00
Alex Forencich
3284ec3848
New I2C register definitions
2020-09-19 17:25:58 -07:00
Alex Forencich
150f3e1768
Add create_i2c_client method
2020-09-19 17:25:58 -07:00
Alex Forencich
ac9dac0365
Use ARRAY_SIZE macro
2020-08-26 01:40:31 -07:00
Alex Forencich
e1456fb03b
Use correct helper function
2020-08-18 23:23:52 -07:00
Alex Forencich
39e55a1499
Rename PCI driver struct
2020-08-18 23:22:55 -07:00
Alex Forencich
5cc5aea95e
Rename PCI-related functions
2020-08-18 01:21:06 -07:00
Alex Forencich
b6e5216ab4
Add IRQ mapping
2020-08-17 23:53:31 -07:00
Alex Forencich
9b019aba29
Add board ID for ZCU106
2020-08-06 23:33:54 -07:00
Alex Forencich
907bb68a99
Use misc device properly
2020-07-31 00:47:43 -07:00
Alex Forencich
6edce8c984
Add BAR size check
2020-07-30 23:48:52 -07:00
Alex Forencich
ae57fc941c
Add missing error code
2020-07-30 23:48:26 -07:00
Alex Forencich
5a9117cf8b
Remove unused code
2020-07-30 23:32:16 -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
e7bcb726b4
Full de-init on shutdown
2020-07-30 19:30:36 -07:00
Alex Forencich
2d4c7925f0
Add Alveo board IDs
2020-07-11 23:07:50 -07:00
Alex Forencich
6d26adf916
Add MTU registers to driver
2020-05-01 21:54:44 -07:00
Alex Forencich
8b535e54ac
Add MTU registers
2020-05-01 18:55:01 -07:00
Alex Forencich
1f76606667
Move TDMA registers
2020-05-01 16:55:57 -07:00
Alex Forencich
6588d71d64
Increase PTP clock max adjust limit
2020-04-22 21:02:33 -07:00
Alex Forencich
b62a47df8e
Determine max desc block size and compute ring stride
2020-04-21 17:51:02 -07:00
Alex Forencich
a4108ecbf9
Implement TX scatter/gather in driver
2020-04-21 17:18:58 -07:00
Alex Forencich
a2ce454c22
Add log_desc_block_size to driver
2020-04-21 14:38:21 -07:00
Alex Forencich
bffb9b7b19
Add board ID for NetFPGA SUME
2020-03-28 00:48:22 -07:00
Alex Forencich
559fc54ea5
Fix RX checksum offloading
2020-03-10 23:39:04 -07:00
Alex Forencich
3d959c2d4f
Use configured ring stride
2020-03-10 23:07:30 -07:00
Alex Forencich
65ead3a064
Update receive handling to allocate pages instead of skbs
2020-03-10 23:06:54 -07:00
Alex Forencich
8536b7d2b7
Minor refactor of CQ processing
2020-03-10 22:06:02 -07:00
Alex Forencich
37294142b8
Rework DMA mapping
2020-03-09 17:21:39 -07:00
Alex Forencich
bfe537e614
Driver update for linux kernel API change
2020-02-25 12:36:43 -08:00
Alex Forencich
73bb9a68c1
Add VCU1525 HW ID
2020-01-16 17:43:20 -08:00
Alex Forencich
8aeea9e110
Add perout offset and stride defines
2019-12-30 20:45:56 -08:00
Alex Forencich
91a538ff5f
Change driver queue count limits
2019-12-29 23:40:07 -08:00
Alex Forencich
6270278c75
Add RSS support
2019-12-06 14:15:16 -08:00
Alex Forencich
bcd45fe9f2
Name IRQs
2019-12-05 16:24:46 -08:00
Alex Forencich
ef365b9bab
Report which ring is full
2019-12-04 13:36:19 -08:00
Alex Forencich
384912e618
Improve sanity checking and error reporting in receive handling
2019-12-04 13:34:56 -08:00