Re: [dpdk-dev] [PATCH v2 2/2] net/netvsc: support VF device hot add/remove

2021-01-05 Thread Long Li
> Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/netvsc: support VF device hot > add/remove > > On Mon, 21 Dec 2020 13:33:22 -0800 > Long Li wrote: > > > /* trying to get mac address if this is a network device*/ > > + s = socket(PF_INET, SOCK_DGRAM, IPPR

Re: [dpdk-dev] [PATCH v2 2/2] net/netvsc: support VF device hot add/remove

2020-12-21 Thread Stephen Hemminger
On Mon, 21 Dec 2020 13:33:22 -0800 Long Li wrote: > /* trying to get mac address if this is a network device*/ > + s = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP); > + if (s == -1) { > + PMD_DRV_LOG(ERR, "Failed to create socket errno %d\n", > +

[dpdk-dev] [PATCH v2 2/2] net/netvsc: support VF device hot add/remove

2020-12-21 Thread Long Li
From: Long Li When a VF device is present, netvsc can send or receive packets over the VF device. The VF device driver communicates directly with the PCI device via the PF from the host hypervisor. This is faster than exchanging data with netvsp via vmbus, i.e. syntheic path. In Azure and Hyper-