diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-05-06 06:25:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-06 18:33:40 -0400 |
commit | 0364d6fd2c353d2d82da865a6f093f97c69b669c (patch) | |
tree | 5f0ce8756cf7317130e636e6f3103279483d32e5 /drivers/net/igbvf/igbvf.h | |
parent | e0ca84105bca8691f39ef7ff221a88046ba11f23 (diff) |
igbvf: cleanup flags and allow for rx checksum to be disabled
This patch cleans up a number of unused or unneeded feature flags. As a
result of these changes the user should now be able to enable or disable rx
checksumming via ethtool.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igbvf/igbvf.h')
-rw-r--r-- | drivers/net/igbvf/igbvf.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/igbvf/igbvf.h b/drivers/net/igbvf/igbvf.h index 4bff35e46871..2ad6cd756539 100644 --- a/drivers/net/igbvf/igbvf.h +++ b/drivers/net/igbvf/igbvf.h | |||
@@ -286,11 +286,7 @@ struct igbvf_info { | |||
286 | }; | 286 | }; |
287 | 287 | ||
288 | /* hardware capability, feature, and workaround flags */ | 288 | /* hardware capability, feature, and workaround flags */ |
289 | #define FLAG_HAS_HW_VLAN_FILTER (1 << 0) | 289 | #define IGBVF_FLAG_RX_CSUM_DISABLED (1 << 0) |
290 | #define FLAG_HAS_JUMBO_FRAMES (1 << 1) | ||
291 | #define FLAG_MSI_ENABLED (1 << 2) | ||
292 | #define FLAG_RX_CSUM_ENABLED (1 << 3) | ||
293 | #define FLAG_TSO_FORCE (1 << 4) | ||
294 | 290 | ||
295 | #define IGBVF_RX_DESC_ADV(R, i) \ | 291 | #define IGBVF_RX_DESC_ADV(R, i) \ |
296 | (&((((R).desc))[i].rx_desc)) | 292 | (&((((R).desc))[i].rx_desc)) |