virtio_net: remove duplicate queue pair binding in XDP
authorJohn Fastabend <john.fastabend@gmail.com>
Fri, 3 Feb 2017 03:15:32 +0000 (19:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 15:05:11 +0000 (10:05 -0500)
commit722d82830a04ccff6c7390535fcdfb1e4d69d126
treed0eca448cb4c7f7b8c44cb96c8cf523551a56a40
parent0354e4d19cd5de51d6096a07ba44eda0ee61a6e9
virtio_net: remove duplicate queue pair binding in XDP

Factor out qp assignment.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c