没有合适的资源?快使用搜索试试~ 我知道了~
Advanced programmability and recent updates with tc’s cls bpf
需积分: 0 1 下载量 11 浏览量
2020-11-18
23:22:08
上传
评论
收藏 228KB PDF 举报
温馨提示
试读
15页
eBPF: efficient, generic in-kernel bytecode engine Today used mainly in networking, tracing, sandboxing tc, XDP, socket filters/demuxing, perf, bcc, seccomp, LSM, ... cls bpf programmable classifier and action in tc subsystem Attachable to ingress, egress of kernel’s networking data path
资源详情
资源评论
资源推荐
Big Picture: eBPF and cls bpf
eBPF: efficient, generic in-kernel bytecode engine
Today used mainly in networking, tracing, sandboxing
tc, XDP, socket filters/demuxing, perf, bcc, seccomp, LSM, ...
cls bpf programmable classifier and action in tc subsystem
Attachable to ingress, egress of kernel’s networking data path
C LLVM eBPF ELF tc verifier JIT cls bpf offload
cls bpf complementary to XDP
Attachable to all net devices
skb as input context
Applicable to ingress, egress
user space, kernel space
Daniel Borkmann tc, cls bpf and eBPF October 6, 2016 2 / 13
eBPF Architecture
11 64bit registers, 32bit subregisters, stack, pc
Instructions 64bit wide, max 4096 instructions/program
Various new instructions over cBPF
Core components of architecture
Read/write access to context
Helper function concept
Maps, arbitrary sharing
Tail calls
Object pinning
cBPF to eBPF translator
LLVM eBPF backend
eBPF JIT backends implemented by archs
Management via bpf(2), stable ABI
Daniel Borkmann tc, cls bpf and eBPF October 6, 2016 3 / 13
剩余14页未读,继续阅读
mounter625
- 粉丝: 1049
- 资源: 85
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0