Re: [iovisor-dev] Question about XDP on multiple NICs with the same driver

2016-08-22 Thread William Tu via iovisor-dev
I see, thanks! I miss the fact that the xdp prog is attached to struct e1000_adapter *adapter, which is different per netdev, and thus different per ifindex. On Mon, Aug 22, 2016 at 4:47 PM, Alexei Starovoitov wrote: > On Mon, Aug 22, 2016 at 4:26 PM, William Tu

Re: [iovisor-dev] Question about XDP on multiple NICs with the same driver

2016-08-22 Thread Alexei Starovoitov via iovisor-dev
On Mon, Aug 22, 2016 at 4:26 PM, William Tu via iovisor-dev wrote: > 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