]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
selftests: netfilter: correct PKTGEN_SCRIPT_PATHS in nft_concat_range.sh
authorJie2x Zhou <jie2x.zhou@intel.com>
Thu, 16 Jun 2022 07:40:46 +0000 (15:40 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 26 Aug 2022 08:53:51 +0000 (10:53 +0200)
commit9d55b2704423e0e3e00c6b26edc1b81f2d2fdb48
tree3842c3700db8bc9f623f35b55997380606fde3ce
parentbc325599c2cff9c7331617781b7743ef1e2f9f17
selftests: netfilter: correct PKTGEN_SCRIPT_PATHS in nft_concat_range.sh

BugLink: https://bugs.launchpad.net/bugs/1986718
[ Upstream commit 5d79d8af8dec58bf709b3124d09d9572edd9c617 ]

Before change:
make -C netfilter
 TEST: performance
   net,port                                                      [SKIP]
   perf not supported
   port,net                                                      [SKIP]
   perf not supported
   net6,port                                                     [SKIP]
   perf not supported
   port,proto                                                    [SKIP]
   perf not supported
   net6,port,mac                                                 [SKIP]
   perf not supported
   net6,port,mac,proto                                           [SKIP]
   perf not supported
   net,mac                                                       [SKIP]
   perf not supported

After change:
   net,mac                                                       [ OK ]
     baseline (drop from netdev hook):               2061098pps
     baseline hash (non-ranged entries):             1606741pps
     baseline rbtree (match on first field only):    1191607pps
     set with  1000 full, ranged entries:            1639119pps
ok 8 selftests: netfilter: nft_concat_range.sh

Fixes: 611973c1e06f ("selftests: netfilter: Introduce tests for sets with range concatenation")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jie2x Zhou <jie2x.zhou@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
tools/testing/selftests/netfilter/nft_concat_range.sh