Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Du <[email protected]>
  • Loading branch information
frankdjx committed Nov 3, 2023
1 parent 5dc65ad commit 2ad8d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/dev/mt_af_xdp.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ uint16_t mt_rx_xdp_burst(struct mt_rx_xdp_entry* entry, struct rte_mbuf** rx_pkt

#include "../mt_log.h"

int mt_dev_xdp_get_combined(struct mt_interface* inf, uint16_t* combined) {
static inline int mt_dev_xdp_get_combined(struct mt_interface* inf, uint16_t* combined) {
err("%s(%d), no xdp support for this build\n", __func__, inf->port);
*combined = 0;
return -ENOTSUP;
Expand Down

0 comments on commit 2ad8d6b

Please sign in to comment.