diff options
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r-- | include/linux/ethtool.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h index b67af60a8890..3350870001fe 100644 --- a/include/linux/ethtool.h +++ b/include/linux/ethtool.h | |||
@@ -492,11 +492,12 @@ struct ethtool_rx_ntuple_flow_spec { | |||
492 | __u64 data_mask; | 492 | __u64 data_mask; |
493 | 493 | ||
494 | __s32 action; | 494 | __s32 action; |
495 | #define ETHTOOL_RXNTUPLE_ACTION_DROP -1 /* drop packet */ | 495 | #define ETHTOOL_RXNTUPLE_ACTION_DROP (-1) /* drop packet */ |
496 | #define ETHTOOL_RXNTUPLE_ACTION_CLEAR (-2) /* clear filter */ | ||
496 | }; | 497 | }; |
497 | 498 | ||
498 | /** | 499 | /** |
499 | * struct ethtool_rx_ntuple - command to set RX flow filter | 500 | * struct ethtool_rx_ntuple - command to set or clear RX flow filter |
500 | * @cmd: Command number - %ETHTOOL_SRXNTUPLE | 501 | * @cmd: Command number - %ETHTOOL_SRXNTUPLE |
501 | * @fs: Flow filter specification | 502 | * @fs: Flow filter specification |
502 | */ | 503 | */ |