Re: [PATCH bpf v3 0/8] bpf_redirect_peer fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/13/23 4:42 PM, Daniel Borkmann wrote:
This fixes bpf_redirect_peer stats accounting for veth and netkit,
and adds tstats in the first place for the latter. Utilise indirect
call wrapper for bpf_redirect_peer, and improve test coverage of the
latter also for netkit devices. Details in the patches, thanks!

The series was targeted at bpf originally, and is done here as well,
so it can trigger BPF CI. Jakub, if you think directly going via net
is better since the majority of the diff touches net anyway, that is
fine, too.

Thanks!

v2 -> v3:
   - Add kdoc for pcpu_stat_type (Simon)
   - Reject invalid type value in netdev_do_alloc_pcpu_stats (Simon)
   - Add Reviewed-by tags from list
v1 -> v2:
   - Move stats allocation/freeing into net core (Jakub)
   - As prepwork for the above, move vrf's dstats over into the core
   - Add a check into stats alloc to enforce tstats upon
     implementing ndo_get_peer_dev
   - Add Acked-by tags from list

Acked-by: Martin KaFai Lau <martin.lau@xxxxxxxxxx>

Considering folks may still be traveling after LPC, will give it an extra weekend before landing.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux