提交 e8da3c6b 编写于 作者: V Vidhya Vidhyaraman 提交者: David S. Miller

octeontx2-af: Add IPv6 fields to default MKEX

Added some IPv6 protocol fields to the default MKEX profile.
They include everything from the beginning of IP header and up to
source address. The pattern occupies full KW2 in MCAM entry.
Only one out of two LD registers for this protocol is used.
Signed-off-by: NVidhya Vidhyaraman <vraman@marvell.com>
Acked-by: NSunil Goutham <sgoutham@marvell.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8cfae0b5
...@@ -13391,6 +13391,11 @@ static const struct npc_mcam_kex npc_mkex_default = { ...@@ -13391,6 +13391,11 @@ static const struct npc_mcam_kex npc_mkex_default = {
/* TOS: 1 byte, KW1[63:56] */ /* TOS: 1 byte, KW1[63:56] */
KEX_LD_CFG(0x0, 0x1, 0x1, 0x0, 0xf), KEX_LD_CFG(0x0, 0x1, 0x1, 0x0, 0xf),
}, },
/* Layer C: IPv6 */
[NPC_LT_LC_IP6] = {
/* Everything up to SADDR: 8 bytes, KW2[63:0] */
KEX_LD_CFG(0x07, 0x0, 0x1, 0x0, 0x10),
},
}, },
[NPC_LID_LD] = { [NPC_LID_LD] = {
/* Layer D:UDP */ /* Layer D:UDP */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册