aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/QemuManager.py
AgeCommit message (Collapse)AuthorFilesLines
2020-01-07Vhost: Add GSO optionPeter Mikus1-2/+4
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iba9af71c293645b480203af72fcf940cbe9ccb3a
2019-11-28Python3: resources and librariesJan Gelety1-38/+43
Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-09-05FIX: Use vhost macs when testpmd_mac forwarding used in VMJan Gelety1-5/+13
Change-Id: I291c3dc852e7c1bde6fb6102a9168cfec9992682 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2019-06-09CSIT-1521 Convert NestedVM testcase into KernelVMPeter Mikus1-5/+0
Change-Id: Ic493253dc29dad4fc7e6541e4b839ca5898a6a40 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-04-26NF density tests with dtc=0.5 and dtcr=2Peter Mikus1-54/+8
Change-Id: Icff556142280ad0b6261e0a2bfb71672ee6b3807 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-04-15Remove obsolete QEMU installationPeter Mikus1-1/+1
+Unify QEMU parameter to Contants. Change-Id: I95adfc97dd7008c19e60ba3fa8668818b503bee8 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-04-12Convert existing nf_density testpmd-mac into KernelVMPeter Mikus1-5/+10
Change-Id: I9ec1701d9012de59cc42cc5f9a4744f01695ff9a Signed-off-by: Peter Mikus <pmikus@cisco.com>
2019-03-20CSIT-1386 KernelVM - Part IIPeter Mikus1-0/+172
- Implementation of KernelVM (ThinVM) - nf_density tests for KernelVM with VPP as VNF. Change-Id: Ife5c2e1ab419c55cbcd442792f940db3a41da471 Signed-off-by: Peter Mikus <pmikus@cisco.com>
h> #include <vppinfra/pool.h> #include <vppinfra/xxhash.h> #include <vppinfra/crc32.h> /** 8 octet key, 8 octet key value pair */ typedef struct { u64 key; /**< the key */ u64 value[2]; /**< the value */ } clib_bihash_kv_8_16_t; static inline void clib_bihash_mark_free_8_16 (clib_bihash_kv_8_16_t *v) { v->value[0] = 0xFEEDFACE8BADF00DULL; } /** Decide if a clib_bihash_kv_8_16_t instance is free @param v- pointer to the (key,value) pair */ static inline int clib_bihash_is_free_8_16 (clib_bihash_kv_8_16_t * v) { if (v->value[0] == 0xFEEDFACE8BADF00DULL) return 1; return 0; } /** Hash a clib_bihash_kv_8_16_t instance @param v - pointer to the (key,value) pair, hash the key (only) */ static inline u64 clib_bihash_hash_8_16 (clib_bihash_kv_8_16_t * v) { /* Note: to torture-test linear scan, make this fn return a constant */ #ifdef clib_crc32c_uses_intrinsics return clib_crc32c ((u8 *) & v->key, 8); #else return clib_xxhash (v->key); #endif } /** Format a clib_bihash_kv_8_16_t instance @param s - u8 * vector under construction @param args (vararg) - the (key,value) pair to format @return s - the u8 * vector under construction */ static inline u8 * format_bihash_kvp_8_16 (u8 * s, va_list * args) { clib_bihash_kv_8_16_t *v = va_arg (*args, clib_bihash_kv_8_16_t *); s = format (s, "key %llx value [%llx,%llx]", v->key, v->value[0], v->value[1]); return s; } /** Compare two clib_bihash_kv_8_16_t instances @param a - first key @param b - second key */ static inline int clib_bihash_key_compare_8_16 (u64 a, u64 b) { return a == b; } #undef __included_bihash_template_h__ #include <vppinfra/bihash_template.h> #endif /* __included_bihash_8_16_h__ */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */