1. 20 Jan, 2022 2 commits
  2. 17 Jan, 2022 5 commits
  3. 16 Jan, 2022 1 commit
  4. 12 Dec, 2021 1 commit
  5. 09 Dec, 2021 3 commits
    • Aman Singh's avatar
      kni: fix build for SLES15-SP3 · 395bb64d
      Aman Singh authored
      [ upstream commit c28e2165
      
       ]
      
      As suse version numbering is inconsistent to determine Linux kernel
      API to be used. In this patch we check parameter of 'ndo_tx_timeout'
      API directly from the kernel source. This is done only for suse build.
      
      Bugzilla ID: 812
      Cc: stable@dpdk.org
      
      Signed-off-by: default avatarAman Singh <aman.deep.singh@intel.com>
      Acked-by: default avatarFerruh Yigit <ferruh.yigit@intel.com>
      Tested-by: default avatarLongfeng Liang <longfengx.liang@intel.com>
      395bb64d
    • Xiaoyu Min's avatar
      table: fix missing headers on ARM64 · c3e1d196
      Xiaoyu Min authored
      rte_lru_arm64.h is included from rte_lru.h if arch is ARM64.
      However this file is missed in meson's headers list on ARM64 platform so
      it'll not be installed on system.
      
      Add it in headers list if arch is ARM64.
      
      Fixes: 5b9656b1
      
       ("lib: build with meson")
      Cc: stable@dpdk.org
      
      Signed-off-by: default avatarXiaoyu Min <jackmin@nvidia.com>
      c3e1d196
    • Dmitry Kozlyuk's avatar
      eal/common: exclude code unsupported on Windows · 04d8f7c4
      Dmitry Kozlyuk authored
      rte_random.c and hotplug_mp.c are only intended for Unix targets,
      but were compiled on Windows due to backporting mistake,
      causing an error:
      
          In file included from ../lib/librte_eal/common/rte_random.c:13:
          [...]
          C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\winnt.h:3275:1:
                  error: conflicting types for '_m_prefetchw'
          _m_prefetchw (
          ^
          C:\Program Files\LLVM\lib\clang\8.0.0\include\prfchwintrin.h:64:1:
                  note: previous definition is here
          _m_prefetchw(void *__P)
          ^
          1 error generated.
      
      hotplug_mp.c was compiled twice, which also caused a link-time error:
      
          [43/146] Linking target lib/rte_eal-21.dll
          FAILED: lib/rte_eal-21.dll lib/rte_eal-21.pdb
          "clang" @lib/rte_eal-21.dll.rsp
          librte_eal_windows_eal_mp.c.obj : error LNK2005:
                  eal_dev_hotplug_request_to_primary already defined
                  in librte_eal_common_hotplug_mp.c.obj
          librte_eal_windows_eal_mp.c.obj : error LNK2005:
                  eal_dev_hotplug_request_to_secondary already defined
                  in librte_eal_common_hotplug_mp.c.obj
             Creating library lib\rte_eal.lib and object lib\rte_eal.exp
          lib\rte_eal-21.dll : fatal error LNK1169:
                  one or more multiply defined symbols found
          clang: error: linker command failed with exit code 1169
                  (use -v to see invocation)
      
      Compile the files above only for Unix targets.
      
      Bugzilla ID: 894
      Fixes: 51a9cd23
      
       ("eal: remove Windows-specific list of common files")
      
      Reported-by: default avatarLiang Longfeng <longfengx.liang@intel.com>
      Signed-off-by: default avatarDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
      04d8f7c4
  6. 06 Dec, 2021 28 commits