summaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2018-10-31Makefile: support both RHEL and CentOS in install-depYichen Wang1-2/+6
2018-10-31make-test: Fix the vapi testMohsin Kazmi1-0/+1
2018-10-31EMACS-LISP-ONLY: fix names of xxx_main_t pointersDave Barach3-29/+32
2018-10-31EMACS-LISP-ONLY: fix boilerplate compile errorDave Barach1-3/+3
2018-10-31Add and enable msb mask vector intrinsic for aarch64.Lijian Zhang1-10/+28
2018-10-31l2fib:remove unused bucket arg in lookup functionsEyal Bari3-33/+7
2018-10-31session: prioritize postponed sessionsFlorin Coras3-45/+33
2018-10-31session: add wrk contextFlorin Coras7-163/+172
2018-10-30ADJ: init MTU to interface defaultNeale Ranns2-1/+4
2018-10-30DOC-ONLY: document packet intialization from scratchDave Barach2-40/+126
2018-10-30change mac address functions take const macNeale Ranns2-3/+3
2018-10-30docs: Add VPP with iperf and trexjdenisco12-3/+554
2018-10-30DOC-ONLY: upgrade the "requests" packageDave Barach1-1/+1
2018-10-30vppinfra: fix bug in default_socket_sendmsgDamjan Marion1-1/+1
2018-10-30dpdk: .function should be removed for mutiarch nodesDamjan Marion2-4/+0
2018-10-29migrate ipsec to new multiarch infraKlement Sekera10-104/+59
2018-10-29Use throttle_t for ND throttlingNeale Ranns7-52/+71
2018-10-29interface-flags; fix coverity error found in conversionNeale Ranns2-4/+30
2018-10-29Fixing Exclusive dpo path issues added when via rpathVijayabhaskar Katamreddy1-4/+18
2018-10-28session: move test to unittest pluginFlorin Coras3-3/+3
2018-10-29bond: problem switching from l2 to l3Steven1-0/+11
2018-10-28physmem: coverity issuesDamjan Marion2-6/+4
2018-10-28session: extend connect api for internal appsFlorin Coras18-148/+431
2018-10-27FIB: Sources must be keep in priority order, so re-sort after a vec_delNeale Ranns1-0/+2
2018-10-27pg: icmp4 & tcp4 ip length issueKingwel Xie2-2/+12
2018-10-27pg: incrementing len should be truncated byKingwel Xie1-12/+15
2018-10-27pg: allow creating pg for udp based protocolsKingwel Xie2-1/+13
2018-10-27Enumify interface flagsNeale Ranns3-42/+62
2018-10-27vmxnet3: add logging support to the control plane [VPP-1470]Steven4-17/+87
2018-10-27virtio: remove the extra return callMohsin Kazmi1-2/+0
2018-10-26dpdk: fix mlx5 build on SUSEStephen Hemminger1-0/+39
2018-10-26cj: cj dump crashSteven1-1/+1
2018-10-26vxlan-gbp: On demand udp ports registrationMohsin Kazmi2-5/+44
2018-10-26acl-plugin: fix the node multiarch function selectionAndrew Yourtchenko2-33/+22
2018-10-26dpdk: ENA PMD patch for failure on port restartMatthew Smith1-0/+359
2018-10-26Trivial: Fix Makefile typoPaul Vinciguerra1-1/+1
2018-10-26extras/scripts: update vfctl scriptDamjan Marion1-1/+3
2018-10-26docs: add useful debug CLI Review UpdatesScott Keeler12-733/+755
2018-10-26vmxnet3: enable promiscuous modeSteven1-1/+1
2018-10-25Revert "Keep RPC traffic off the shared-memory API queue"Florin Coras5-42/+29
2018-10-25pmalloc: don't lock 4K pages if we don't have access to pagemapDamjan Marion2-6/+30
2018-10-25acl-plugin: "show acl-plugin acl" ACE# is truncated to 4 digits in outputAndrew Yourtchenko1-1/+1
2018-10-25vnet/tcp/tcp.c: address a corner case.Paul Vinciguerra1-4/+7
2018-10-25Trivial: Cleanup missing va_ends.Paul Vinciguerra3-7/+11
2018-10-25Run 'make test' verify job on ubuntu 18.04 instead of 16.04Damjan Marion1-1/+1
2018-10-25Use correct name to register ABF plugin with ACLsNeale Ranns1-1/+1
2018-10-25session/tcp: improve cliFlorin Coras6-71/+143
2018-10-25Address "is already installed" Jenkins issueMarco Varlese1-1/+1
2018-10-25pmalloc: support for 4K pagesDamjan Marion11-95/+288
2018-10-25ACL: Fix next_table_index classifiers consistancyGregory Thiemonge1-5/+17
mips_foreach_special_funct } mips_insn_special_funct_t; #undef _ #define _(f) MIPS_SPECIAL2_FUNCT_##f, typedef enum { mips_foreach_special2_funct } mips_insn_special2_funct_t; #undef _ #define _(f) MIPS_REGIMM_RT_##f, typedef enum { mips_foreach_regimm_rt } mips_insn_regimm_rt_t; #undef _ #define _(f) MIPS_COP0_RS_##f, typedef enum { mips_foreach_cop0_rs } mips_insn_cop0_rs_t; #undef _ #define _(f) MIPS_COP0_FUNCT_##f, typedef enum { mips_foreach_cop0_funct } mips_insn_cop0_funct_t; #undef _ #define _(f) MIPS_COP1_RS_##f, typedef enum { mips_foreach_cop1_rs } mips_insn_cop1_rs_t; #undef _ #define _(f) MIPS_COP1_FUNCT_##f, typedef enum { mips_foreach_cop1_funct } mips_insn_cop1_funct_t; #undef _ #define _(f) MIPS_COP1X_FUNCT_##f, typedef enum { mips_foreach_cop1x_funct } mips_insn_cop1x_funct_t; #undef _ #define _(f) MIPS_MDMX_FUNCT_##f, typedef enum { mips_foreach_mdmx_funct } mips_insn_mdmx_funct_t; #undef _ always_inline mips_insn_opcode_t mips_insn_get_op (u32 insn) { return (insn >> 26) & 0x3f; } always_inline u32 mips_insn_get_rs (u32 insn) { return (insn >> 21) & 0x1f; } always_inline u32 mips_insn_get_rt (u32 insn) { return (insn >> 16) & 0x1f; } always_inline u32 mips_insn_get_rd (u32 insn) { return (insn >> 11) & 0x1f; } always_inline u32 mips_insn_get_sa (u32 insn) { return (insn >> 6) & 0x1f; } always_inline u32 mips_insn_get_funct (u32 insn) { return (insn >> 0) & 0x3f; } always_inline i32 mips_insn_get_immediate (u32 insn) { return (((i32) insn) << 16) >> 16; } always_inline u32 mips_insn_encode_i_type (int op, int rs, int rt, int immediate) { u32 insn; insn = immediate; insn |= rt << 16; insn |= rs << 21; insn |= op << 26; ASSERT (mips_insn_get_immediate (insn) == immediate); ASSERT (mips_insn_get_rt (insn) == rt); ASSERT (mips_insn_get_rs (insn) == rt); ASSERT (mips_insn_get_op (insn) == op); return insn; } always_inline u32 mips_insn_encode_j_type (int op, u32 addr) { u32 insn; insn = (addr & ((1 << 28) - 1)) / 4; insn |= op << 26; return insn; } always_inline u32 mips_insn_encode_r_type (int op, int rs, int rt, int rd, int sa, int funct) { u32 insn; insn = funct; insn |= sa << 6; insn |= rd << 11; insn |= rt << 16; insn |= rs << 21; insn |= op << 26; ASSERT (mips_insn_get_funct (insn) == funct); ASSERT (mips_insn_get_sa (insn) == sa); ASSERT (mips_insn_get_rd (insn) == rd); ASSERT (mips_insn_get_rt (insn) == rt); ASSERT (mips_insn_get_rs (insn) == rt); ASSERT (mips_insn_get_op (insn) == op); return insn; } #define mips_insn_r(op,funct,rd,rs,rt,sa) \ mips_insn_encode_r_type (MIPS_OPCODE_##op, \ (rs), (rt), (rd), (sa), \ MIPS_##op##_FUNCT_##funct) #define mips_insn_i(op,rs,rt,imm) \ mips_insn_encode_i_type (MIPS_OPCODE_##op, (rs), (rt), (imm)) #define mips_insn_j(op,target) \ mips_insn_encode_i_type (MIPS_OPCODE_##op, (rs), (rt), (imm)) /* Generate unsigned load instructions of data of various sizes. */ always_inline u32 mips_insn_load (u32 rd, i32 offset, u32 base, u32 log2_bytes) { int op; ASSERT (log2_bytes < 4); switch (log2_bytes) { case 0: op = MIPS_OPCODE_lbu; break; case 1: op = MIPS_OPCODE_lhu; break; case 2: op = MIPS_OPCODE_lwu; break; case 3: op = MIPS_OPCODE_ld; break; } return mips_insn_encode_i_type (op, base, rd, offset); } typedef enum { MIPS_REG_SP = 29, MIPS_REG_RA = 31, } mips_reg_t; #endif /* included_asm_mips_h */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */