#
7bb1168d |
| 14-Sep-2023 |
David Marchand <david.marchand@redhat.com> |
pci: define some MSIX constants
Define some PCI MSIX constants and use them in existing drivers.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richards
pci: define some MSIX constants
Define some PCI MSIX constants and use them in existing drivers.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
baa9c550 |
| 14-Sep-2023 |
David Marchand <david.marchand@redhat.com> |
pci: define some capability constants
Define some PCI capability constants and use them in existing drivers.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <br
pci: define some capability constants
Define some PCI capability constants and use them in existing drivers.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com> Acked-by: Abdullah Sevincer <abdullah.sevincer@intel.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
a10b6e53 |
| 14-Sep-2023 |
David Marchand <david.marchand@redhat.com> |
bus/pci: find PCI capability
Introduce two helpers so that drivers stop reinventing the wheel when it comes to finding capabilities in a device PCI configuration space. Use it in existing drivers.
bus/pci: find PCI capability
Introduce two helpers so that drivers stop reinventing the wheel when it comes to finding capabilities in a device PCI configuration space. Use it in existing drivers.
Note: - base/ drivers code is left untouched, only some wrappers in cxgbe are touched, - bnx2x maintained a per device cache of capabilities, this code has been reworked to only cache the capabilities used in this driver,
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
show more ...
|
#
1f37cb2b |
| 28-Jul-2022 |
David Marchand <david.marchand@redhat.com> |
bus/pci: make driver-only headers private
The pci bus interface is for drivers only. Mark as internal and move the header in the driver headers list.
While at it, cleanup the code: - fix indentatio
bus/pci: make driver-only headers private
The pci bus interface is for drivers only. Mark as internal and move the header in the driver headers list.
While at it, cleanup the code: - fix indentation, - remove unneeded reference to bus specific singleton object, - remove unneeded list head structure type, - reorder the definitions and macro manipulating the bus singleton object, - remove inclusion of rte_bus.h and fix the code that relied on implicit inclusion,
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Rosen Xu <rosen.xu@intel.com>
show more ...
|
#
a65a34a8 |
| 10-Nov-2020 |
Stephen Hemminger <stephen@networkplumber.org> |
eal: replace usage of blacklist/whitelist in enums
Rename the enum values in the EAL include files. As a backward compatible temporary migration tool, define a replacement mapping for old values.
T
eal: replace usage of blacklist/whitelist in enums
Rename the enum values in the EAL include files. As a backward compatible temporary migration tool, define a replacement mapping for old values.
The old names relating to blacklist and whitelist are replaced by block list and allow list, but applications may be using the older compatibility macros, marked as deprecated.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Luca Boccassi <bluca@debian.org> Acked-by: Gaetan Rivet <grive@u256.net> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
2c449644 |
| 05-Sep-2019 |
Ferruh Yigit <ferruh.yigit@intel.com> |
crypto/virtio: fix global variable multiple definitions
'virtio_hw_internal' global variable is defined in both 'crypto/virtio' and 'net/virtio' PMDs. This means they share same storage when applica
crypto/virtio: fix global variable multiple definitions
'virtio_hw_internal' global variable is defined in both 'crypto/virtio' and 'net/virtio' PMDs. This means they share same storage when application linked with static DPDK library, which is not the intention.
Fixing by adding 'crypto_' prefix to the 'crypto/virtio' driver.
Issue has been detected by '-fno-common' gcc flag.
Fixes: 25500d4b8076 ("crypto/virtio: support device init") Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
691733e7 |
| 19-Apr-2019 |
Chenbo Xia <chenbo.xia@intel.com> |
crypto/virtio: check PCI config read
Fix unchecked return value issue for rte_pci_read_config.
Coverity issue: 302861 Fixes: 25500d4b8076 ("crypto/virtio: support device init") Cc: stable@dpdk.org
crypto/virtio: check PCI config read
Fix unchecked return value issue for rte_pci_read_config.
Coverity issue: 302861 Fixes: 25500d4b8076 ("crypto/virtio: support device init") Cc: stable@dpdk.org
Signed-off-by: Chenbo Xia <chenbo.xia@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
742bde12 |
| 06-Mar-2019 |
Bruce Richardson <bruce.richardson@intel.com> |
build/linux: rename macro from LINUXAPP to LINUX
Rename the macro to make things shorter and more comprehensible. For both meson and make builds, keep the old macro around for backward compatibility
build/linux: rename macro from LINUXAPP to LINUX
Rename the macro to make things shorter and more comprehensible. For both meson and make builds, keep the old macro around for backward compatibility.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
25500d4b |
| 17-Apr-2018 |
Jay Zhou <jianjay.zhou@huawei.com> |
crypto/virtio: support device init
This patch implements the initialization of the virtio crypto device. The virtio crypto device conforms to virtio-1.0, so this patch only supports modern mode oper
crypto/virtio: support device init
This patch implements the initialization of the virtio crypto device. The virtio crypto device conforms to virtio-1.0, so this patch only supports modern mode operation. The cryptodev is created at the virtio crypto pci device probing stage. The function of virtio_crypto_pkt_tx_burst() is used to burst transfer packets and virtio_crypto_pkt_rx_burst() is used to burst receive packets.
Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|