Home
last modified time | relevance | path

Searched refs:s_rule (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_lag.c212 struct ice_sw_rule_lkup_rx_tx *s_rule; in ice_lag_cfg_fltr() local
222 s_rule_sz = ICE_SW_RULE_RX_TX_ETH_HDR_SIZE(s_rule); in ice_lag_cfg_fltr()
223 s_rule = kzalloc(s_rule_sz, GFP_KERNEL); in ice_lag_cfg_fltr()
224 if (!s_rule) { in ice_lag_cfg_fltr()
230 eth_hdr = s_rule->hdr_data; in ice_lag_cfg_fltr()
235 s_rule->recipe_id = cpu_to_le16(recipe_id); in ice_lag_cfg_fltr()
237 s_rule->hdr.type = in ice_lag_cfg_fltr()
239 s_rule->src = cpu_to_le16(hw->port_info->lport); in ice_lag_cfg_fltr()
241 s_rule->hdr.type = in ice_lag_cfg_fltr()
243 s_rule->src = cpu_to_le16(vsi_num); in ice_lag_cfg_fltr()
[all …]
Dice_switch.c2608 struct ice_sw_rule_lkup_rx_tx *s_rule, in ice_fill_sw_rule() argument
2621 s_rule->act = 0; in ice_fill_sw_rule()
2622 s_rule->index = cpu_to_le16(f_info->fltr_rule_id); in ice_fill_sw_rule()
2623 s_rule->hdr_len = 0; in ice_fill_sw_rule()
2628 eth_hdr = s_rule->hdr_data; in ice_fill_sw_rule()
2711 s_rule->hdr.type = (f_info->flag & ICE_FLTR_RX) ? in ice_fill_sw_rule()
2716 s_rule->recipe_id = cpu_to_le16(f_info->lkup_type); in ice_fill_sw_rule()
2717 s_rule->src = cpu_to_le16(f_info->src); in ice_fill_sw_rule()
2718 s_rule->act = cpu_to_le32(act); in ice_fill_sw_rule()
2732 s_rule->hdr_len = cpu_to_le16(eth_hdr_sz); in ice_fill_sw_rule()
[all …]