Searched refs:s_rule (Results 1 – 2 of 2) sorted by relevance
183 struct ice_sw_rule_lkup_rx_tx *s_rule; in ice_lag_cfg_dflt_fltr() local193 s_rule_sz = ICE_SW_RULE_RX_TX_ETH_HDR_SIZE(s_rule); in ice_lag_cfg_dflt_fltr()194 s_rule = kzalloc(s_rule_sz, GFP_KERNEL); in ice_lag_cfg_dflt_fltr()195 if (!s_rule) { in ice_lag_cfg_dflt_fltr()201 eth_hdr = s_rule->hdr_data; in ice_lag_cfg_dflt_fltr()209 s_rule->hdr.type = cpu_to_le16(ICE_AQC_SW_RULES_T_LKUP_RX); in ice_lag_cfg_dflt_fltr()210 s_rule->recipe_id = cpu_to_le16(lag->pf_recipe); in ice_lag_cfg_dflt_fltr()211 s_rule->src = cpu_to_le16(hw->port_info->lport); in ice_lag_cfg_dflt_fltr()212 s_rule->act = cpu_to_le32(act); in ice_lag_cfg_dflt_fltr()213 s_rule->hdr_len = cpu_to_le16(DUMMY_ETH_HDR_LEN); in ice_lag_cfg_dflt_fltr()[all …]
2480 struct ice_sw_rule_lkup_rx_tx *s_rule, in ice_fill_sw_rule() argument2493 s_rule->act = 0; in ice_fill_sw_rule()2494 s_rule->index = cpu_to_le16(f_info->fltr_rule_id); in ice_fill_sw_rule()2495 s_rule->hdr_len = 0; in ice_fill_sw_rule()2500 eth_hdr = s_rule->hdr_data; in ice_fill_sw_rule()2585 s_rule->hdr.type = (f_info->flag & ICE_FLTR_RX) ? in ice_fill_sw_rule()2590 s_rule->recipe_id = cpu_to_le16(f_info->lkup_type); in ice_fill_sw_rule()2591 s_rule->src = cpu_to_le16(f_info->src); in ice_fill_sw_rule()2592 s_rule->act = cpu_to_le32(act); in ice_fill_sw_rule()2606 s_rule->hdr_len = cpu_to_le16(eth_hdr_sz); in ice_fill_sw_rule()[all …]