X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fevent%2Focteontx%2Fssovf_evdev.h;h=bb1056a9555b77808fb83fa1ae22c24eff9ecf77;hb=c47d7b90a1911202c131ccf3d3f430e441621e5e;hp=1f5066c9ac6cdae8c7ce27838e5ced25d25abe44;hpb=56a96aa424646e7426bdc11e67675a145ae90d67;p=dpdk.git diff --git a/drivers/event/octeontx/ssovf_evdev.h b/drivers/event/octeontx/ssovf_evdev.h index 1f5066c9ac..bb1056a955 100644 --- a/drivers/event/octeontx/ssovf_evdev.h +++ b/drivers/event/octeontx/ssovf_evdev.h @@ -6,7 +6,7 @@ #define __SSOVF_EVDEV_H__ #include -#include +#include #include #include @@ -86,8 +86,6 @@ #define SSO_GRP_GET_PRIORITY 0x7 #define SSO_GRP_SET_PRIORITY 0x8 -#define SSOVF_SELFTEST_ARG ("selftest") - /* * In Cavium OCTEON TX SoC, all accesses to the device registers are * implictly strongly ordered. So, The relaxed version of IO operation is @@ -146,6 +144,12 @@ struct ssovf_evdev { uint32_t min_deq_timeout_ns; uint32_t max_deq_timeout_ns; int32_t max_num_events; + uint32_t available_events; + uint16_t rxq_pools; + uint64_t *rxq_pool_array; + uint8_t *rxq_pool_rcnt; + uint16_t tim_ring_cnt; + uint16_t *tim_ring_ids; } __rte_cache_aligned; /* Event port aka HWS */ @@ -157,6 +161,7 @@ struct ssows { uint8_t *getwork; uint8_t *grps[SSO_MAX_VHGRP]; uint8_t port; + void *lookup_mem; } __rte_cache_aligned; static inline struct ssovf_evdev * @@ -182,5 +187,6 @@ int ssovf_info(struct ssovf_info *info); void *ssovf_bar(enum ssovf_type, uint8_t id, uint8_t bar); int test_eventdev_octeontx(void); void ssovf_fastpath_fns_set(struct rte_eventdev *dev); +void *octeontx_fastpath_lookup_mem_get(void); #endif /* __SSOVF_EVDEV_H__ */