summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fw/v0/pdsp_pa.h')
-rw-r--r--fw/v0/pdsp_pa.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/fw/v0/pdsp_pa.h b/fw/v0/pdsp_pa.h
index 5cfb932..7cb2e2f 100644
--- a/fw/v0/pdsp_pa.h
+++ b/fw/v0/pdsp_pa.h
@@ -193,6 +193,10 @@
193#define PA_FORWARD_TYPE_ETH 3 193#define PA_FORWARD_TYPE_ETH 3
194#define PA_FORWARD_TYPE_SRIO 4 194#define PA_FORWARD_TYPE_SRIO 4
195#define PA_FORWARD_TYPE_DISCARD 5 195#define PA_FORWARD_TYPE_DISCARD 5
196
197#define PA_FOWARD_QUEUE_MASK 0x3FFF
198#define t_pa_forward_queue_bounce_ddr t14
199#define t_pa_forward_queue_bounce_msmc t15
196 200
197// Placeholder structure for PA forward 201// Placeholder structure for PA forward
198.struct struct_paFwdPlace 202.struct struct_paFwdPlace
@@ -950,6 +954,11 @@
950 .u16 rxPaddingErrCntIndex // Specify the user statistics index of Rx MAC padding error counter 954 .u16 rxPaddingErrCntIndex // Specify the user statistics index of Rx MAC padding error counter
951 .u16 txPaddingCntIndex // Specify the user statistics index of Tx MAC padding counter 955 .u16 txPaddingCntIndex // Specify the user statistics index of Tx MAC padding counter
952.ends 956.ends
957
958.struct struct_paQueueBounceCfg
959 .u16 ddrQueue // Bounce queue where PASS will deliver the host-routed packet with DDR bit set
960 .u16 msmcQueue // Bounce queue where PASS will deliver the host-routed packet with MSMC bit set
961.ends
953 962
954#define t_pa_pkt_verify_proto_pppoe t0 963#define t_pa_pkt_verify_proto_pppoe t0
955#define t_pa_pkt_verify_proto_ip t1 964#define t_pa_pkt_verify_proto_ip t1
@@ -984,7 +993,7 @@
984 // Configure User-defined Statistics 993 // Configure User-defined Statistics
985 // Configure Queue Diversion 994 // Configure Queue Diversion
986 // Configure Packet Verification 995 // Configure Packet Verification
987 // Configure events 996 // Configure Queue Bounce
988.ends 997.ends
989 998
990#define t_paCmdConfigValidMaxCount t0 999#define t_paCmdConfigValidMaxCount t0
@@ -994,7 +1003,8 @@
994#define t_paCmdConfigValidUsrStats t4 1003#define t_paCmdConfigValidUsrStats t4
995#define t_paCmdConfigValidQueueDivert t5 1004#define t_paCmdConfigValidQueueDivert t5
996#define t_paCmdConfigValidPktCtrl t6 1005#define t_paCmdConfigValidPktCtrl t6
997#define t_paCmdConfigValidEvents t7 1006#define t_paCmdConfigValidQueueBounce t7
1007
998 1008
999// Command sizes. The assembler can't do all the SIZE(x)+SIZE(y)+... because of line size limitations 1009// Command sizes. The assembler can't do all the SIZE(x)+SIZE(y)+... because of line size limitations
1000// Command size in 32 bit words is: struct_paCommand: 4 1010// Command size in 32 bit words is: struct_paCommand: 4
@@ -1006,10 +1016,11 @@
1006// struct_paUsrStatsCfg: 1 1016// struct_paUsrStatsCfg: 1
1007// struct_paQueueDivertCfg: 1 1017// struct_paQueueDivertCfg: 1
1008// struct_paPktCtrlCfg: 3 1018// struct_paPktCtrlCfg: 3
1019// struct_paQueueBounceCfg: 1
1009// 1020//
1010// 1021//
1011// Total: 14 words = 56 bytes 1022// Total: 15 words = 60 bytes
1012#define PA_CONFIG_COMMAND_SIZE_CONFIG_PA 56 1023#define PA_CONFIG_COMMAND_SIZE_CONFIG_PA 60
1013#define PA_CONFIG_COMMAND_SIZE_THROUGH_IN_IP_REASM 32 // Byte up to and including struct_paIpReassmCfg for inner IP 1024#define PA_CONFIG_COMMAND_SIZE_THROUGH_IN_IP_REASM 32 // Byte up to and including struct_paIpReassmCfg for inner IP
1014 1025
1015 1026