diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-05-16 21:38:11 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-06-24 22:58:32 +0400 |
commit | d07df8ec089cc72dded73dac5cf564ef9bba2fa1 (patch) | |
tree | 4fb949cce39f9931690c36cc77d4d3f4f46d859a /drivers/net/ethernet/sfc/net_driver.h | |
parent | 3ea84c5492e19daa478fad42f97b7dda9289e71c (diff) | |
download | linux-d07df8ec089cc72dded73dac5cf564ef9bba2fa1.tar.xz |
sfc: Define and set RX buffer flag for packets parsed as TCP
This will be useful for shortcutting some software packet parsing.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-rw-r--r-- | drivers/net/ethernet/sfc/net_driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h index 2dec48bed274..f4c7e6b67743 100644 --- a/drivers/net/ethernet/sfc/net_driver.h +++ b/drivers/net/ethernet/sfc/net_driver.h @@ -243,6 +243,7 @@ struct efx_rx_buffer { #define EFX_RX_BUF_LAST_IN_PAGE 0x0001 #define EFX_RX_PKT_CSUMMED 0x0002 #define EFX_RX_PKT_DISCARD 0x0004 +#define EFX_RX_PKT_TCP 0x0040 /** * struct efx_rx_page_state - Page-based rx buffer state |