Hi, I'm not sure if we discussed this before, but I'm thinking that if I have two identical NICs (ex: two e1000 cards with ifindex 1 and 2), and I load the e1000.ko driver. At userspace, I run $ /samples/bpf/xdp 1 $ /samples/bpf/xdp 2
Then the latter XDP BPF actually overwrites the former because they share the same driver. And there is no way to trigger different XDP BPFs from different input ports. For example, if I want to return XDP_DROP for packet from ifindex 1, and return XDP_PASS for packets from ifindex 2. Am I understand correct? Thanks William _______________________________________________ iovisor-dev mailing list [email protected] https://lists.iovisor.org/mailman/listinfo/iovisor-dev
