git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/net: check process type in close operation
[dpdk.git]
/
drivers
/
net
/
virtio
/
virtio_rxtx_simple.c
diff --git
a/drivers/net/virtio/virtio_rxtx_simple.c
b/drivers/net/virtio/virtio_rxtx_simple.c
index
31e565b
..
a26182b
100644
(file)
--- a/
drivers/net/virtio/virtio_rxtx_simple.c
+++ b/
drivers/net/virtio/virtio_rxtx_simple.c
@@
-27,7
+27,7
@@
#pragma GCC diagnostic ignored "-Wcast-qual"
#endif
#pragma GCC diagnostic ignored "-Wcast-qual"
#endif
-int __
attribute__((cold))
+int __
rte_cold
virtio_rxq_vec_setup(struct virtnet_rx *rxq)
{
uintptr_t p;
virtio_rxq_vec_setup(struct virtnet_rx *rxq)
{
uintptr_t p;
@@
-47,7
+47,7
@@
virtio_rxq_vec_setup(struct virtnet_rx *rxq)
}
/* Stub for linkage when arch specific implementation is not available */
}
/* Stub for linkage when arch specific implementation is not available */
-uint16_t __attribute__((weak))
+__rte_weak uint16_t
virtio_recv_pkts_vec(void *rx_queue __rte_unused,
struct rte_mbuf **rx_pkts __rte_unused,
uint16_t nb_pkts __rte_unused)
virtio_recv_pkts_vec(void *rx_queue __rte_unused,
struct rte_mbuf **rx_pkts __rte_unused,
uint16_t nb_pkts __rte_unused)