numam-dpdk/drivers/net
Viacheslav Ovsiienko a0bfe9d56f net/mlx5: fix UAR memory mapping type
The User Access Region is a special mechanism to provide direct
access to the hardware registers, and is the part of PCI address
space that is mapped to CPU virtual address. The mapping can be
performed with the type "Write-Combining" or "Non-Cached", and
these ones might be supported or not on different setups.

To prevent device probing failure the UAR allocation attempt
with alternative mapping type is performed. The datapath
takes the actual UAR mapping into account on queue creation.

There was another issue with NULL UAR base address.
OFED 5.0.x and Upstream rdma_core before v29 returned the NULL as
UAR base address if UAR was not the first object in the UAR page.
It caused the PMD failure and we should try to get another UAR
till we get the first one with non-NULL base address returned.

Fixes: fc4d4f732b ("net/mlx5: introduce shared UAR resource")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
2020-07-30 00:41:23 +02:00
..
af_packet net/af_packet: fix munmap on init failure 2020-07-17 18:21:21 +02:00
af_xdp
ark
atlantic drivers/net: fix exposing internal headers 2020-07-11 06:18:54 +02:00
avp
axgbe
bnx2x
bnxt net/bnxt: support exact match templates 2020-07-21 13:54:54 +02:00
bonding net/bonding: change state machine to defaulted 2020-07-21 13:54:54 +02:00
cxgbe
dpaa net/dpaa: support queue info routines 2020-07-21 13:54:54 +02:00
dpaa2 net/dpaa2: support queue info routines 2020-07-21 13:54:54 +02:00
e1000 net/e1000: fix crash on Tx done clean up 2020-07-21 13:54:54 +02:00
ena
enetc
enic net/enic: support burst mode info 2020-07-11 06:18:53 +02:00
failsafe
fm10k ethdev: fix VLAN offloads set if no relative capabilities 2020-07-11 06:18:53 +02:00
hinic net/hinic/base: convert error value to ETIMEDOUT 2020-07-11 06:18:53 +02:00
hns3 net/hns3: fix RSS configuration on empty RSS type 2020-07-17 18:21:21 +02:00
i40e net/i40e: fix hash lookup table 2020-07-30 00:41:23 +02:00
iavf net/iavf: delete unsupported RSS types 2020-07-30 00:41:23 +02:00
ice net/ice: fix bytes statistics 2020-07-30 00:41:22 +02:00
igc
ionic
ipn3ke
ixgbe net/ixgbe: fix flow control status 2020-07-21 13:54:54 +02:00
kni
liquidio
memif
mlx4 net/mlx4: optimize stack memory size in probe 2020-07-30 00:41:23 +02:00
mlx5 net/mlx5: fix UAR memory mapping type 2020-07-30 00:41:23 +02:00
mvneta
mvpp2
netvsc net/netvsc: detach external buffer on failure 2020-07-11 06:18:53 +02:00
nfb
nfp net/nfp: fix RSS hash configuration reporting 2020-07-11 06:18:54 +02:00
null
octeontx ethdev: fix VLAN offloads set if no relative capabilities 2020-07-11 06:18:53 +02:00
octeontx2 net/octeontx2: free CQ ring memzone on queue release 2020-07-21 16:04:06 +02:00
pcap
pfe
qede net/qede: remove dead code 2020-07-30 00:41:23 +02:00
ring
sfc net/sfc: do not enforce hash offload in RSS multi-queue 2020-07-21 18:13:45 +02:00
softnic
szedata2
tap
thunderx log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
vdev_netvsc
vhost net/vhost: support queue update 2020-07-21 19:03:24 +02:00
virtio net/virtio-user: fix uninitialized reply-ack variable 2020-07-17 18:21:21 +02:00
vmxnet3
Makefile
meson.build