Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c22ab781 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

ethtool: Define RX n-tuple action to clear a rule

parent daebbca3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -492,11 +492,12 @@ struct ethtool_rx_ntuple_flow_spec {
	__u64		data_mask;

	__s32		action;
#define ETHTOOL_RXNTUPLE_ACTION_DROP -1		/* drop packet */
#define ETHTOOL_RXNTUPLE_ACTION_DROP	(-1)	/* drop packet */
#define ETHTOOL_RXNTUPLE_ACTION_CLEAR	(-2)	/* clear filter */
};

/**
 * struct ethtool_rx_ntuple - command to set RX flow filter
 * struct ethtool_rx_ntuple - command to set or clear RX flow filter
 * @cmd: Command number - %ETHTOOL_SRXNTUPLE
 * @fs: Flow filter specification
 */