Home
last modified time | relevance | path

Searched refs:cls_u32 (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/net/sched/
H A Dcls_u32.c487 cls_u32.hnode.prio = h->prio; in u32_clear_hw_hnode()
505 cls_u32.hnode.prio = h->prio; in u32_replace_hw_hnode()
549 cls_u32.knode.val = n->val; in u32_replace_hw_knode()
550 cls_u32.knode.mask = n->mask; in u32_replace_hw_knode()
552 cls_u32.knode.val = 0; in u32_replace_hw_knode()
553 cls_u32.knode.mask = 0; in u32_replace_hw_knode()
555 cls_u32.knode.sel = &n->sel; in u32_replace_hw_knode()
556 cls_u32.knode.res = &n->res; in u32_replace_hw_knode()
1249 cls_u32.command = add ? in u32_reoffload_knode()
1259 cls_u32.knode.val = 0; in u32_reoffload_knode()
[all …]
H A DMakefile67 obj-$(CONFIG_NET_CLS_U32) += cls_u32.o
H A DKconfig500 module will be called cls_u32.
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dcls.c230 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()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c1085 struct tc_cls_u32_offload cls_u32 = { }; in stmmac_test_rxp() local
1120 cls_u32.command = TC_CLSU32_NEW_KNODE; in stmmac_test_rxp()
1121 cls_u32.common.chain_index = 0; in stmmac_test_rxp()
1122 cls_u32.common.protocol = htons(ETH_P_ALL); in stmmac_test_rxp()
1123 cls_u32.knode.exts = exts; in stmmac_test_rxp()
1124 cls_u32.knode.sel = sel; in stmmac_test_rxp()
1125 cls_u32.knode.handle = 0x123; in stmmac_test_rxp()
1140 ret = stmmac_tc_setup_cls_u32(priv, priv, &cls_u32); in stmmac_test_rxp()
1150 cls_u32.command = TC_CLSU32_DELETE_KNODE; in stmmac_test_rxp()
1151 stmmac_tc_setup_cls_u32(priv, priv, &cls_u32); in stmmac_test_rxp()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c9737 struct tc_cls_u32_offload *cls_u32) in ixgbe_setup_tc_cls_u32() argument
9739 switch (cls_u32->command) { in ixgbe_setup_tc_cls_u32()
9742 return ixgbe_configure_clsu32(adapter, cls_u32); in ixgbe_setup_tc_cls_u32()
9744 return ixgbe_delete_clsu32(adapter, cls_u32); in ixgbe_setup_tc_cls_u32()
9747 return ixgbe_configure_clsu32_add_hnode(adapter, cls_u32); in ixgbe_setup_tc_cls_u32()
9749 return ixgbe_configure_clsu32_del_hnode(adapter, cls_u32); in ixgbe_setup_tc_cls_u32()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c3596 struct tc_cls_u32_offload *cls_u32) in cxgb_setup_tc_cls_u32() argument
3598 switch (cls_u32->command) { in cxgb_setup_tc_cls_u32()
3601 return cxgb4_config_knode(dev, cls_u32); in cxgb_setup_tc_cls_u32()
3603 return cxgb4_delete_knode(dev, cls_u32); in cxgb_setup_tc_cls_u32()
/openbmc/qemu/tests/data/qobject/
H A Dqdict.txt2887 cls_u32.c: 16562