summaryrefslogtreecommitdiff
path: root/kernel/.gitignore
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2019-06-18 16:55:18 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-18 22:26:05 -0400
commit12b8e2dd01ce642ce968819078f5f2798227087a (patch)
tree82c39ab85088ea6b67bb0c304191136ed7b377e6 /kernel/.gitignore
parent834df6ea955559af06fcbe36c767d25e0e9364ee (diff)
net: mvpp2: cls: right-justify the C2 TCAM keys
The C2 TCAM used for classification uses a key (Header Extracted Key) built by concatenating several fields extracted from the packet header. After a lot of trial-and-error and some guess work, it seems the HEK is right justified, with the first fields being stored in the MSB, then concatenated up until the LSB. Until now, this doesn't cause any issue since all HEK fields we use are full bytes. However this is an issue for the upcoming VLAN id and pri extraction, which aren't full bytes. Rework the way we built that TCAM key, by changing the order in which we append the fields. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions