On Mon, Feb 1, 2016 at 7:18 PM, Yuanhan Liu
wrote:
> On Fri, Jan 29, 2016 at 11:51:50PM +0530, Santosh Shukla wrote:
>> Introducing below api for pci bar region rd/wr.
>> Api's are:
>> - rte_eal_pci_read_bar
>> - rte_eal_pci_write_bar
>>
>> Sign
On Mon, Feb 1, 2016 at 6:18 PM, Yuanhan Liu
wrote:
> On Fri, Jan 29, 2016 at 11:51:55PM +0530, Santosh Shukla wrote:
>> For vfio case - Use pread/pwrite api to access virtio
>> ioport space.
>>
>> Signed-off-by: Santosh Shukla
>> Signed-off-by: Rizwan
On Tue, Feb 2, 2016 at 10:49 AM, Yuanhan Liu
wrote:
> On Tue, Feb 02, 2016 at 10:00:36AM +0530, Santosh Shukla wrote:
>> >
>> > BTW, I didn't follow the noIOMMU discussion; how did it end? Do we still
>> > need that? Is this patch a full story to enable virtio
On Tue, Feb 2, 2016 at 11:13 AM, Yuanhan Liu
wrote:
> On Tue, Feb 02, 2016 at 09:44:14AM +0530, Santosh Shukla wrote:
>> >> +int rte_eal_pci_read_bar(const struct rte_pci_device *device,
>> >> + void *buf, size_t len, off_t offset,
>> >
On Tue, Feb 2, 2016 at 12:30 PM, Santosh Shukla wrote:
> On Tue, Feb 2, 2016 at 11:13 AM, Yuanhan Liu
> wrote:
>> On Tue, Feb 02, 2016 at 09:44:14AM +0530, Santosh Shukla wrote:
>>> >> +int rte_eal_pci_read_bar(const struct rte_pci_device *device,
>>> >>
On Tue, Feb 2, 2016 at 2:19 PM, Yuanhan Liu
wrote:
> On Tue, Feb 02, 2016 at 06:50:18AM +0100, David Marchand wrote:
>> On Tue, Feb 2, 2016 at 6:43 AM, Yuanhan Liu
>> wrote:
>> > On Tue, Feb 02, 2016 at 09:44:14AM +0530, Santosh Shukla wrote:
>> >> Curre
On Tue, Feb 2, 2016 at 9:21 PM, Santosh Shukla wrote:
> On Tue, Feb 2, 2016 at 2:19 PM, Yuanhan Liu
> wrote:
>> On Tue, Feb 02, 2016 at 06:50:18AM +0100, David Marchand wrote:
>>> On Tue, Feb 2, 2016 at 6:43 AM, Yuanhan Liu >> linux.intel.com> wrote:
>>&g
On Tue, Feb 2, 2016 at 9:48 PM, Santosh Shukla wrote:
> On Tue, Feb 2, 2016 at 9:21 PM, Santosh Shukla wrote:
>> On Tue, Feb 2, 2016 at 2:19 PM, Yuanhan Liu
>> wrote:
>>> On Tue, Feb 02, 2016 at 06:50:18AM +0100, David Marchand wrote:
>>>> On Tue,
v4.. v1) patch history, refer [2].
Thanks.
[1] https://github.com/sshukla82/dpdk.git branch virtio-vfio-v6-review
[2] http://comments.gmane.org/gmane.comp.networking.dpdk.devel/31402
Santosh Shukla (4):
eal/linux: never check iopl for arm
virtio: Introduce config RTE_VIRTIO_INC_VECTOR
e
iopl() syscall not supported in linux-arm/arm64 so always return 0 value.
Signed-off-by: Santosh Shukla
Suggested-by: Stephen Hemminger
Acked-by: Jan Viktorin
Acked-by: David Marchand
---
lib/librte_eal/linuxapp/eal/eal.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/lib
non-sse/avx targets and will work
in non-vectored virtio mode.
Disabling RTE_VIRTIO_INC_VECTOR config for :
- i686 arch as i686 target config says:
config/defconfig_i686-native-linuxapp-gcc says "Vectorized PMD is not
supported on 32-bit".
- armv7/v8 arch.
Signed-off-by: Sant
vfio_pci_mmap() try to map all pci bars. ioport region are not mapped in
vfio/kernel so ignore mmaping for ioport.
Signed-off-by: Santosh Shukla
---
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 20
1 file changed, 20 insertions(+)
diff --git a/lib/librte_eal/linuxapp/eal
Include vfio map/unmap/rd/wr support for pci ioport.
Signed-off-by: Santosh Shukla
---
v7:
- This is enhancement patch for vfio map/rd/wr, rebased on top of David(s) -
"Rework ioport for virtio" patchset. For more information about api, refer
patch [1].
[1] http://dp
On Mon, Feb 8, 2016 at 2:55 AM, Thomas Monjalon
wrote:
> 2016-02-07 19:21, Santosh Shukla:
>> - virtio_recv_pkts_vec and other virtio vector friend apis are written for
>> sse/avx instructions. For arm64 in particular, virtio vector implementation
>> does not exist(todo)
later patches
> - rte_pci_ioport object now reaches driver implementation (uio / vfio)
> - sanity checks are in uio map function, no reason to have those checks in
> read/write functions
>
Looks okay to me.
Reviewed-by: Santosh Shukla
Tested for arm64/x86_64 for vfio mode...so..
On Sun, Feb 7, 2016 at 1:18 PM, David Marchand
wrote:
> Move all os / arch specifics to eal.
>
> Signed-off-by: David Marchand
Reviewed-by: Santosh Shukla
Tested-by: Santosh Shukla
On Mon, Feb 8, 2016 at 2:21 PM, David Marchand
wrote:
> On Sun, Feb 7, 2016 at 2:51 PM, Santosh Shukla wrote:
>> @@ -999,37 +1000,56 @@ int
>> pci_vfio_ioport_map(struct rte_pci_device *dev, int bar,
>> struct rte_pci_ioport *p)
>
> p is passed
vfio_pci_mmap() try to map all pci bars. ioport region are not mapped in
vfio/kernel so ignore mmaping for ioport.
Signed-off-by: Santosh Shukla
Acked-by: Anatoly Burakov
---
v7-->v8:
- included Anatoly acked-by:
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 20
1 f
Include vfio map/rd/wr support for pci ioport.
Signed-off-by: Santosh Shukla
---
v7->v8:
- Remove rte_pci_ioport malloc and rte_free()/unmap() func from v7.
- removed umap from git header.
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 36 ++--
1 file changed,
On Tue, Feb 9, 2016 at 2:34 PM, David Marchand
wrote:
> On Mon, Feb 8, 2016 at 3:13 PM, Burakov, Anatoly
> wrote:
>>> Include vfio map/rd/wr support for pci ioport.
>>>
>>> Signed-off-by: Santosh Shukla
>>> ---
>>> v7->v8:
>>> - R
On Mon, Feb 8, 2016 at 2:45 PM, Burakov, Anatoly
wrote:
>> vfio_pci_mmap() try to map all pci bars. ioport region are not mapped in
>> vfio/kernel so ignore mmaping for ioport.
>>
>> Signed-off-by: Santosh Shukla
>> ---
>> lib/librte_ea
On Sun, Feb 7, 2016 at 7:21 PM, Santosh Shukla wrote:
> iopl() syscall not supported in linux-arm/arm64 so always return 0 value.
>
> Signed-off-by: Santosh Shukla
> Suggested-by: Stephen Hemminger
> Acked-by: Jan Viktorin
> Acked-by: David Marchand
> ---
> lib/librt
On Tue, Feb 16, 2016 at 8:35 AM, Yuanhan Liu
wrote:
> On Mon, Feb 15, 2016 at 04:48:36PM +0530, Santosh Shukla wrote:
>> Hi Yuanhan,
>>
>> On Mon, Feb 15, 2016 at 4:27 PM, Yuanhan Liu
>> wrote:
>> > On Mon, Feb 15, 2016 at 03:22:11PM +0530, Santosh Shukla wr
On Mon, May 9, 2016 at 7:18 PM, Hemant Agrawal
wrote:
> This patch introduces dpaa2 machine target to address difference
> in cpu parameter, number of core to 8 and no numa support
> w.r.t default armv8-a machine
>
> Signed-off-by: Hemant Agrawal
> ---
> config/defconfig_arm64-dpaa2-linuxapp-gc
On Mon, May 9, 2016 at 2:36 PM, Jerin Jacob
wrote:
> On Mon, May 09, 2016 at 07:18:22PM +0530, Hemant Agrawal wrote:
> > This patch introduces dpaa2 machine target to address difference
> > in cpu parameter, number of core to 8 and no numa support
> > w.r.t default armv8-a machine
> >
> > Signed-
ription- perhaps IGB_UIO not supported for arm64
arch so disable.
if you agress to do then patch looks okay to me,
Reviewed-by: Santosh Shukla
> Signed-off-by: Hemant Agrawal
> ---
> config/defconfig_arm64-armv8a-linuxapp-gcc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --g
On Fri, Apr 29, 2016 at 7:14 PM, Jan Viktorin
wrote:
>
> Hello,
>
> here follows several patchs extracting the general VFIO code out of the
> PCI + VFIO code base. Usually, it's just move and rename of functions.
> The most complicated ones are:
>
> * eal/linux: extract setup logic out of pci_vfi
On Wed, May 11, 2016 at 08:22:59AM -0700, Stephen Hemminger wrote:
> On Wed, 11 May 2016 19:17:58 +0530
> Hemant Agrawal wrote:
>
> > IGB_UIO not supported for arm64 arch in kernel so disable.
> >
> > Signed-off-by: Hemant Agrawal
> > Reviewed-by: Santos
;> > On Wed, 11 May 2016 19:17:58 +0530
> >> > Hemant Agrawal wrote:
> >> >
> >> > > IGB_UIO not supported for arm64 arch in kernel so disable.
> >> > >
> >> > > Signed-off-by: Hemant Agrawal
> >> > > Revie
On Thu, May 12, 2016 at 11:42:26AM +0800, Jianbo Liu wrote:
> On 12 May 2016 at 11:17, Santosh Shukla
> wrote:
> > On Thu, May 12, 2016 at 10:01:05AM +0800, Jianbo Liu wrote:
> >> On 12 May 2016 at 02:25, Stephen Hemminger
> >> wrote:
> >> > On Wed, 11
On Thu, May 12, 2016 at 01:54:13PM +0800, Jianbo Liu wrote:
> On 12 May 2016 at 13:06, Santosh Shukla
> wrote:
> > On Thu, May 12, 2016 at 11:42:26AM +0800, Jianbo Liu wrote:
> >> On 12 May 2016 at 11:17, Santosh Shukla
> >> wrote:
> >> > On Thu, Ma
On Thu, May 12, 2016 at 05:52:54PM +0800, Jianbo Liu wrote:
> On 12 May 2016 at 16:57, Santosh Shukla
> wrote:
> > On Thu, May 12, 2016 at 01:54:13PM +0800, Jianbo Liu wrote:
> >> On 12 May 2016 at 13:06, Santosh Shukla
> >> wrote:
> >> > On Thu, Ma
On Fri, May 13, 2016 at 02:50:48PM +0200, Thomas Monjalon wrote:
> 2016-05-11 19:17, Hemant Agrawal:
> > IGB_UIO not supported for arm64 arch in kernel so disable.
>
> If I understand well, a patch is needed in the kernel to make
> igb_uio works? Please confirm.
>
Yes. User need this [1] out-of-t
501 - 533 of 533 matches
Mail list logo