Closed mcastelino closed 6 years ago
@bergwolf - who on hyper side implemented the TC in runv? Is this something you can help with?
@gao-feng did the job. thanks to him. But he had shifted to other work and may not be available for this job.
@mcastelino @egernst Why do you need this since cc-runtime has macvtap based implementation? I can't tell the pros/cons between tc&macvtap based implements. Each has its own merits.
@laijs See this issue in clear-containers that is valid for kata-containers: https://github.com/clearcontainers/runtime/issues/1042
@laijs - there are a couple scenarios, like what @amshinde pointed out, which shows the advantages of TC. I think they are at parity from a perf perspective. I envision this is something where we can offer two implementations and allow the user to configure.
This issue was moved to kata-containers/runtime#144
Add support for tc redirect based VM to Container connection
Implement a new interconnection capability to support tc based traffic redirection. This can be based on the existing bridge connection logic, using tc instead of the linux bridge
Connecting a veth device to tap
Redirecting traffic between the two devices
To quickly prototype, select the virtcontainers bridge networking implementation. Then for each container
https://github.com/vishvananda/netlink/blob/0e3b74dbe28f37fd911f9bca3565fdca33c03f29/qdisc_linux.go#L130