Re: unable to bind to vfio-pci

2023-02-23 Thread Nagendra Prabhu A T
On Tue, Feb 21, 2023 at 9:57 PM Bruce Richardson wrote: > On Tue, Feb 21, 2023 at 09:46:30PM +0530, Nagendra Prabhu A T wrote: > >These are the messages i am seeing dmesg > >[16588.298660] vfio-pci: probe of :8a:00.2 failed with error -22 > >[16591.574630] i40e :8a:00.3: i40e_

Re: unable to bind to vfio-pci

2023-02-23 Thread Nagendra Prabhu A T
These are the messages i am seeing dmesg [16588.298660] vfio-pci: probe of :8a:00.2 failed with error -22 [16591.574630] i40e :8a:00.3: i40e_ptp_stop: removed PHC on enp138s0f3 [16593.138613] vfio-pci: probe of :8a:00.3 failed with error -22 [16593.138674] vfio-pci: probe of :8a:00

Re: unable to bind to vfio-pci

2023-02-23 Thread Nagendra Prabhu A T
HI Bruce, Thanks for your reply. I have removed the binding of all other ports. So , i can confirm that #2 is taken care of. I tried using a different driver "uio_pci_generic". I still see the same issue for that driver as well. The problem seems to be because the write operation is not happeni

Re: unable to bind to vfio-pci

2023-02-21 Thread Stephen Hemminger
On Tue, 21 Feb 2023 16:27:31 + Bruce Richardson wrote: > On Tue, Feb 21, 2023 at 09:46:30PM +0530, Nagendra Prabhu A T wrote: > >These are the messages i am seeing dmesg > >[16588.298660] vfio-pci: probe of :8a:00.2 failed with error -22 > >[16591.574630] i40e :8a:00.3: i4

Re: unable to bind to vfio-pci

2023-02-21 Thread Bruce Richardson
On Tue, Feb 21, 2023 at 09:46:30PM +0530, Nagendra Prabhu A T wrote: >These are the messages i am seeing dmesg >[16588.298660] vfio-pci: probe of :8a:00.2 failed with error -22 >[16591.574630] i40e :8a:00.3: i40e_ptp_stop: removed PHC on >enp138s0f3 >[16593.138613] vfio-

Re: unable to bind to vfio-pci

2023-02-21 Thread Bruce Richardson
On Tue, Feb 21, 2023 at 09:30:15PM +0530, Nagendra Prabhu A T wrote: >HI Bruce, >Thanks for your reply. >I have removed the binding of all other ports. So , i can confirm that >#2 is taken care of. >I tried using a different driver "uio_pci_generic". I still see the >same is

Re: unable to bind to vfio-pci

2023-02-21 Thread Bruce Richardson
On Tue, Feb 21, 2023 at 08:05:20PM +0530, Nagendra Prabhu A T wrote: >Hi All, >I am trying to bind vfio-pci using dpdk-devbind.py, But i am seeing teh >following error : >root@nat-kvm:/usr/src/dpdk-22.11/usertools# dpdk-devbind.py >--bind=vfio-pci :51:00.0 Error: bind failed