Lines Matching refs:cls_u32
230 struct tc_cls_u32_offload *cls_u32 = type_data; in nfp_abm_setup_tc_block_cb() local
237 NL_SET_ERR_MSG_MOD(cls_u32->common.extack, in nfp_abm_setup_tc_block_cb()
241 if (!tc_cls_can_offload_and_chain0(repr->netdev, &cls_u32->common)) in nfp_abm_setup_tc_block_cb()
244 if (cls_u32->common.protocol != htons(ETH_P_IP) && in nfp_abm_setup_tc_block_cb()
245 cls_u32->common.protocol != htons(ETH_P_IPV6)) { in nfp_abm_setup_tc_block_cb()
246 NL_SET_ERR_MSG_MOD(cls_u32->common.extack, in nfp_abm_setup_tc_block_cb()
251 switch (cls_u32->command) { in nfp_abm_setup_tc_block_cb()
254 return nfp_abm_u32_knode_replace(alink, &cls_u32->knode, in nfp_abm_setup_tc_block_cb()
255 cls_u32->common.protocol, in nfp_abm_setup_tc_block_cb()
256 cls_u32->common.extack); in nfp_abm_setup_tc_block_cb()
258 nfp_abm_u32_knode_delete(alink, &cls_u32->knode); in nfp_abm_setup_tc_block_cb()