diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2019-03-27 09:44:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-27 11:10:57 -0700 |
commit | 93c2589c92597fa4b3c36f6105219910888b6ddb (patch) | |
tree | eb422a45a07e61a12dc63e85ed5caeb49d595427 /drivers/net/ethernet/marvell/mvpp2/mvpp2.h | |
parent | net: mvpp2: cls: use Lookup Type in classification engines (diff) | |
download | wireguard-linux-93c2589c92597fa4b3c36f6105219910888b6ddb.tar.xz wireguard-linux-93c2589c92597fa4b3c36f6105219910888b6ddb.zip |
net: mvpp2: cls: Rename MVPP2_N_FLOWS to MVPP2_N_PRS_FLOWS
The macro definition MVPP2_N_FLOWS is ambiguous because it really
represents the number of entries in the Header Parser that are used to
identify the classification flows.
Rename the macro to clearly state that we represent the number of flows
in the Header Parser.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2/mvpp2.h')
-rw-r--r-- | drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h index 1356fc4fbccb..6220284798b1 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h @@ -612,6 +612,8 @@ #define MVPP2_BIT_TO_WORD(bit) ((bit) / 32) #define MVPP2_BIT_IN_WORD(bit) ((bit) % 32) +#define MVPP2_N_PRS_FLOWS 52 + /* RSS constants */ #define MVPP22_RSS_TABLE_ENTRIES 32 |