ath79/mikrotik: use routerbootpart partitions
[oweals/openwrt.git] / target / linux / layerscape / patches-5.4 / 701-net-0339-LF-368-net-mscc-ocelot-hard-code-VCAP_PORT_CNT-for-F.patch
1 From 17bde33ffe50be558520a063392dc73b319a7f20 Mon Sep 17 00:00:00 2001
2 From: Yangbo Lu <yangbo.lu@nxp.com>
3 Date: Thu, 28 Nov 2019 11:48:24 +0800
4 Subject: [PATCH] LF-368 net: mscc: ocelot: hard code VCAP_PORT_CNT for Felix
5  temporarily
6
7 The Felix switch supports different port number with Ocelot.
8 This makes the bits mapping in TCAM entry and Action entry
9 is different with Ocelot for VCAP function.
10
11 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
12 ---
13  drivers/net/ethernet/mscc/ocelot_vcap.h | 2 +-
14  1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/drivers/net/ethernet/mscc/ocelot_vcap.h
17 +++ b/drivers/net/ethernet/mscc/ocelot_vcap.h
18 @@ -25,7 +25,7 @@
19  #define VCAP_IS2_CNT 64
20  #define VCAP_IS2_ENTRY_WIDTH 376
21  #define VCAP_IS2_ACTION_WIDTH 99
22 -#define VCAP_PORT_CNT 11
23 +#define VCAP_PORT_CNT 6
24  
25  /* IS2 half key types */
26  #define IS2_TYPE_ETYPE 0