Lines Matching refs:userdef
3246 struct i40e_rx_flow_userdef userdef = {0}; in i40e_get_ethtool_fdir_entry() local
3388 userdef.flex_filter = true; in i40e_get_ethtool_fdir_entry()
3389 userdef.flex_word = be16_to_cpu(rule->flex_word); in i40e_get_ethtool_fdir_entry()
3390 userdef.flex_offset = rule->flex_offset; in i40e_get_ethtool_fdir_entry()
3393 i40e_fill_rx_flow_user_data(fsp, &userdef); in i40e_get_ethtool_fdir_entry()
4159 struct i40e_rx_flow_userdef *userdef) in i40e_check_fdir_input_set() argument
4425 if (userdef->flex_filter) { in i40e_check_fdir_input_set()
4431 if (userdef->flex_offset & 0x1) { in i40e_check_fdir_input_set()
4437 src_offset = userdef->flex_offset >> 1; in i40e_check_fdir_input_set()
4671 struct i40e_rx_flow_userdef userdef; in i40e_add_fdir_ethtool() local
4699 if (i40e_parse_rx_flow_user_data(fsp, &userdef)) in i40e_add_fdir_ethtool()
4706 ret = i40e_check_fdir_input_set(vsi, fsp, &userdef); in i40e_add_fdir_ethtool()
4789 if (userdef.flex_filter) { in i40e_add_fdir_ethtool()
4791 input->flex_word = cpu_to_be16(userdef.flex_word); in i40e_add_fdir_ethtool()
4792 input->flex_offset = userdef.flex_offset; in i40e_add_fdir_ethtool()