brintos

brintos / linux-shallow public Read only

0
0
Text · 770 B · 1f44ce6 Raw
21 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/* Copyright (c) 2015 - 2024 Beijing WangXun Technology Co., Ltd. */3 4#ifndef _TXGBE_FDIR_H_5#define _TXGBE_FDIR_H_6 7void txgbe_atr_compute_perfect_hash(union txgbe_atr_input *input,8				    union txgbe_atr_input *input_mask);9void txgbe_atr(struct wx_ring *ring, struct wx_tx_buffer *first, u8 ptype);10int txgbe_fdir_set_input_mask(struct wx *wx, union txgbe_atr_input *input_mask);11int txgbe_fdir_write_perfect_filter(struct wx *wx,12				    union txgbe_atr_input *input,13				    u16 soft_id, u8 queue);14int txgbe_fdir_erase_perfect_filter(struct wx *wx,15				    union txgbe_atr_input *input,16				    u16 soft_id);17void txgbe_configure_fdir(struct wx *wx);18void txgbe_fdir_filter_exit(struct wx *wx);19 20#endif /* _TXGBE_FDIR_H_ */21