diff options
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r-- | drivers/net/sfc/net_driver.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index 5f255f75754e..8643505788cc 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h | |||
@@ -25,15 +25,11 @@ | |||
25 | #include <linux/device.h> | 25 | #include <linux/device.h> |
26 | #include <linux/highmem.h> | 26 | #include <linux/highmem.h> |
27 | #include <linux/workqueue.h> | 27 | #include <linux/workqueue.h> |
28 | #include <linux/inet_lro.h> | ||
29 | #include <linux/i2c.h> | 28 | #include <linux/i2c.h> |
30 | 29 | ||
31 | #include "enum.h" | 30 | #include "enum.h" |
32 | #include "bitfield.h" | 31 | #include "bitfield.h" |
33 | 32 | ||
34 | #define EFX_MAX_LRO_DESCRIPTORS 8 | ||
35 | #define EFX_MAX_LRO_AGGR MAX_SKB_FRAGS | ||
36 | |||
37 | /************************************************************************** | 33 | /************************************************************************** |
38 | * | 34 | * |
39 | * Build definitions | 35 | * Build definitions |
@@ -340,13 +336,10 @@ enum efx_rx_alloc_method { | |||
340 | * @eventq_read_ptr: Event queue read pointer | 336 | * @eventq_read_ptr: Event queue read pointer |
341 | * @last_eventq_read_ptr: Last event queue read pointer value. | 337 | * @last_eventq_read_ptr: Last event queue read pointer value. |
342 | * @eventq_magic: Event queue magic value for driver-generated test events | 338 | * @eventq_magic: Event queue magic value for driver-generated test events |
343 | * @lro_mgr: LRO state | ||
344 | * @rx_alloc_level: Watermark based heuristic counter for pushing descriptors | 339 | * @rx_alloc_level: Watermark based heuristic counter for pushing descriptors |
345 | * and diagnostic counters | 340 | * and diagnostic counters |
346 | * @rx_alloc_push_pages: RX allocation method currently in use for pushing | 341 | * @rx_alloc_push_pages: RX allocation method currently in use for pushing |
347 | * descriptors | 342 | * descriptors |
348 | * @rx_alloc_pop_pages: RX allocation method currently in use for popping | ||
349 | * descriptors | ||
350 | * @n_rx_tobe_disc: Count of RX_TOBE_DISC errors | 343 | * @n_rx_tobe_disc: Count of RX_TOBE_DISC errors |
351 | * @n_rx_ip_frag_err: Count of RX IP fragment errors | 344 | * @n_rx_ip_frag_err: Count of RX IP fragment errors |
352 | * @n_rx_ip_hdr_chksum_err: Count of RX IP header checksum errors | 345 | * @n_rx_ip_hdr_chksum_err: Count of RX IP header checksum errors |
@@ -371,10 +364,8 @@ struct efx_channel { | |||
371 | unsigned int last_eventq_read_ptr; | 364 | unsigned int last_eventq_read_ptr; |
372 | unsigned int eventq_magic; | 365 | unsigned int eventq_magic; |
373 | 366 | ||
374 | struct net_lro_mgr lro_mgr; | ||
375 | int rx_alloc_level; | 367 | int rx_alloc_level; |
376 | int rx_alloc_push_pages; | 368 | int rx_alloc_push_pages; |
377 | int rx_alloc_pop_pages; | ||
378 | 369 | ||
379 | unsigned n_rx_tobe_disc; | 370 | unsigned n_rx_tobe_disc; |
380 | unsigned n_rx_ip_frag_err; | 371 | unsigned n_rx_ip_frag_err; |