[dpdk-dev] [PATCH] virtio: fix modify drv_flags for specific device

2016-04-27 Thread Tan, Jianfeng
Hi, On 4/26/2016 7:53 PM, David Marchand wrote: > On Tue, Apr 26, 2016 at 4:24 AM, Jianfeng Tan > wrote: >> Issue: virtio's drv_flags are decided by devices types (modern vs legacy), >> and which kernel driver is used, and the negotiated features (especially >> VIRTIO_NET_STATUS) with backend, w

[dpdk-dev] [PATCH] virtio: fix modify drv_flags for specific device

2016-04-27 Thread David Marchand
Hello, On Wed, Apr 27, 2016 at 7:10 AM, Tan, Jianfeng wrote: > Besides, I see bnx2x pmd could have similar issue, and the QLogic bnx2x > maintainers are CCed to confirm. Well, a way to detect those kind of issues would be to constify drv_flags. -- David Marchand

[dpdk-dev] [PATCH] virtio: fix modify drv_flags for specific device

2016-04-26 Thread David Marchand
On Tue, Apr 26, 2016 at 4:24 AM, Jianfeng Tan wrote: > Issue: virtio's drv_flags are decided by devices types (modern vs legacy), > and which kernel driver is used, and the negotiated features (especially > VIRTIO_NET_STATUS) with backend, which makes it possible to multiple > virtio devices have

[dpdk-dev] [PATCH] virtio: fix modify drv_flags for specific device

2016-04-26 Thread Jianfeng Tan
Issue: virtio's drv_flags are decided by devices types (modern vs legacy), and which kernel driver is used, and the negotiated features (especially VIRTIO_NET_STATUS) with backend, which makes it possible to multiple virtio devices have different versions of drv_flags, but this variable is currentl