On 11/3/18 6:24 PM, Paweł Staszewski wrote: >> Does your setup have any other device types besides physical ports with >> VLANs (e.g., any macvlans or bonds)? >> >> > no. > just > phy(mlnx)->vlans only config
VLAN and non-VLAN (and a mix) seem to work ok. Patches are here: https://github.com/dsahern/linux.git bpf/kernel-tables-wip I got lazy with the vlan exports; right now it requires 8021q to be builtin (CONFIG_VLAN_8021Q=y) You can use the xdp_fwd sample: make O=kbuild -C samples/bpf -j 8 Copy samples/bpf/xdp_fwd_kern.o and samples/bpf/xdp_fwd to the server and run: ./xdp_fwd <list of NIC ports> e.g., in my testing I run: xdp_fwd eth1 eth2 eth3 eth4 All of the relevant forwarding ports need to be on the same command line. This version populates a second map to verify the egress port has XDP enabled. > > And today again after allpy patch for page allocator - reached again > 64/64 Gbit/s > > with only 50-60% cpu load you should see the cpu load drop considerably.