1. 03 7月, 2019 2 次提交
  2. 29 6月, 2019 1 次提交
  3. 28 6月, 2019 4 次提交
  4. 26 6月, 2019 1 次提交
  5. 25 6月, 2019 1 次提交
    • T
      selftests, bpf: Add test for veth native XDP · 88091ff5
      Toshiaki Makita 提交于
      Add a test case for veth native XDP. It checks if XDP_PASS, XDP_TX and
      XDP_REDIRECT work properly.
      
        $ cd tools/testing/selftests/bpf
        $ make \
        	TEST_CUSTOM_PROGS= \
        	TEST_GEN_PROGS= \
        	TEST_GEN_PROGS_EXTENDED= \
        	TEST_PROGS_EXTENDED= \
        	TEST_PROGS="test_xdp_veth.sh" \
        	run_tests
        TAP version 13
        1..1
        # selftests: bpf: test_xdp_veth.sh
        # PING 10.1.1.33 (10.1.1.33) 56(84) bytes of data.
        # 64 bytes from 10.1.1.33: icmp_seq=1 ttl=64 time=0.073 ms
        #
        # --- 10.1.1.33 ping statistics ---
        # 1 packets transmitted, 1 received, 0% packet loss, time 0ms
        # rtt min/avg/max/mdev = 0.073/0.073/0.073/0.000 ms
        # selftests: xdp_veth [PASS]
        ok 1 selftests: bpf: test_xdp_veth.sh
      Signed-off-by: NToshiaki Makita <toshiaki.makita1@gmail.com>
      Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
      Signed-off-by: NAlexei Starovoitov <ast@kernel.org>
      88091ff5
  6. 21 6月, 2019 1 次提交
    • P
      KVM: nVMX: reorganize initial steps of vmx_set_nested_state · 9fd58877
      Paolo Bonzini 提交于
      Commit 332d0797 ("KVM: nVMX: KVM_SET_NESTED_STATE - Tear down old EVMCS
      state before setting new state", 2019-05-02) broke evmcs_test because the
      eVMCS setup must be performed even if there is no VMXON region defined,
      as long as the eVMCS bit is set in the assist page.
      
      While the simplest possible fix would be to add a check on
      kvm_state->flags & KVM_STATE_NESTED_EVMCS in the initial "if" that
      covers kvm_state->hdr.vmx.vmxon_pa == -1ull, that is quite ugly.
      
      Instead, this patch moves checks earlier in the function and
      conditionalizes them on kvm_state->hdr.vmx.vmxon_pa, so that
      vmx_set_nested_state always goes through vmx_leave_nested
      and nested_enable_evmcs.
      
      Fixes: 332d0797 ("KVM: nVMX: KVM_SET_NESTED_STATE - Tear down old EVMCS state before setting new state")
      Cc: Aaron Lewis <aaronlewis@google.com>
      Reviewed-by: NVitaly Kuznetsov <vkuznets@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      9fd58877
  7. 20 6月, 2019 1 次提交
  8. 19 6月, 2019 15 次提交
  9. 18 6月, 2019 7 次提交
  10. 17 6月, 2019 3 次提交
  11. 16 6月, 2019 1 次提交
  12. 15 6月, 2019 3 次提交