net/enic: use macro for attribute weak
Fixes: 8a6ff33d6d36 ("net/enic: add AVX2 based vectorized Rx handler") Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
This commit is contained in:
parent
d09328567e
commit
eeef60b0eb
@ -518,7 +518,7 @@ static void enic_prep_wq_for_simple_tx(struct enic *enic, uint16_t queue_idx)
|
|||||||
* The 'strong' version is in enic_rxtx_vec_avx2.c. This weak version is used
|
* The 'strong' version is in enic_rxtx_vec_avx2.c. This weak version is used
|
||||||
* used when that file is not compiled.
|
* used when that file is not compiled.
|
||||||
*/
|
*/
|
||||||
bool __attribute__((weak))
|
__rte_weak bool
|
||||||
enic_use_vector_rx_handler(__rte_unused struct enic *enic)
|
enic_use_vector_rx_handler(__rte_unused struct enic *enic)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user