drivers: align PCI driver definitions
Pure coding style, but it might make it easier later if we want to move fields in rte_cryptodev_driver and eth_driver structures. Signed-off-by: David Marchand <david.marchand@6wind.com> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
This commit is contained in:
parent
d94ec64e76
commit
c76a6d356f
@ -113,7 +113,7 @@ crypto_qat_dev_init(__attribute__((unused)) struct rte_cryptodev_driver *crypto_
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct rte_cryptodev_driver rte_qat_pmd = {
|
static struct rte_cryptodev_driver rte_qat_pmd = {
|
||||||
{
|
.pci_drv = {
|
||||||
.id_table = pci_id_qat_map,
|
.id_table = pci_id_qat_map,
|
||||||
.drv_flags = RTE_PCI_DRV_NEED_MAPPING,
|
.drv_flags = RTE_PCI_DRV_NEED_MAPPING,
|
||||||
},
|
},
|
||||||
|
@ -1685,7 +1685,7 @@ static uint16_t eth_ena_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct eth_driver rte_ena_pmd = {
|
static struct eth_driver rte_ena_pmd = {
|
||||||
{
|
.pci_drv = {
|
||||||
.name = "rte_ena_pmd",
|
.name = "rte_ena_pmd",
|
||||||
.id_table = pci_id_ena_map,
|
.id_table = pci_id_ena_map,
|
||||||
.drv_flags = RTE_PCI_DRV_NEED_MAPPING,
|
.drv_flags = RTE_PCI_DRV_NEED_MAPPING,
|
||||||
|
@ -2459,7 +2459,7 @@ static struct rte_pci_id pci_id_nfp_net_map[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static struct eth_driver rte_nfp_net_pmd = {
|
static struct eth_driver rte_nfp_net_pmd = {
|
||||||
{
|
.pci_drv = {
|
||||||
.name = "rte_nfp_net_pmd",
|
.name = "rte_nfp_net_pmd",
|
||||||
.id_table = pci_id_nfp_net_map,
|
.id_table = pci_id_nfp_net_map,
|
||||||
.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC |
|
.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC |
|
||||||
|
Loading…
Reference in New Issue
Block a user