drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ |
| 2 | /* Copyright (c) 2019 Mellanox Technologies. */ |
| 3 | |
| 4 | #ifndef __MLX5_EN_XSK_TX_H__ |
| 5 | #define __MLX5_EN_XSK_TX_H__ |
| 6 | |
| 7 | #include "en.h" |
| 8 | |
| 9 | /* TX data path */ |
| 10 | |
| 11 | int mlx5e_xsk_wakeup(struct net_device *dev, u32 qid, u32 flags); |
| 12 | |
| 13 | bool mlx5e_xsk_tx(struct mlx5e_xdpsq *sq, unsigned int budget); |
| 14 | |
| 15 | #endif /* __MLX5_EN_XSK_TX_H__ */ |