Lines Matching refs:userdef
3363 struct i40e_rx_flow_userdef userdef = {0}; in i40e_get_ethtool_fdir_entry() local
3505 userdef.flex_filter = true; in i40e_get_ethtool_fdir_entry()
3506 userdef.flex_word = be16_to_cpu(rule->flex_word); in i40e_get_ethtool_fdir_entry()
3507 userdef.flex_offset = rule->flex_offset; in i40e_get_ethtool_fdir_entry()
3510 i40e_fill_rx_flow_user_data(fsp, &userdef); in i40e_get_ethtool_fdir_entry()
4293 struct i40e_rx_flow_userdef *userdef) in i40e_check_fdir_input_set() argument
4551 if (userdef->flex_filter) { in i40e_check_fdir_input_set()
4557 if (userdef->flex_offset & 0x1) { in i40e_check_fdir_input_set()
4563 src_offset = userdef->flex_offset >> 1; in i40e_check_fdir_input_set()
4797 struct i40e_rx_flow_userdef userdef; in i40e_add_fdir_ethtool() local
4825 if (i40e_parse_rx_flow_user_data(fsp, &userdef)) in i40e_add_fdir_ethtool()
4832 ret = i40e_check_fdir_input_set(vsi, fsp, &userdef); in i40e_add_fdir_ethtool()
4915 if (userdef.flex_filter) { in i40e_add_fdir_ethtool()
4917 input->flex_word = cpu_to_be16(userdef.flex_word); in i40e_add_fdir_ethtool()
4918 input->flex_offset = userdef.flex_offset; in i40e_add_fdir_ethtool()