Searched refs:cls_u32 (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/net/sched/ |
H A D | cls_u32.c | 499 cls_u32.hnode.prio = h->prio; in u32_clear_hw_hnode() 517 cls_u32.hnode.prio = h->prio; in u32_replace_hw_hnode() 561 cls_u32.knode.val = n->val; in u32_replace_hw_knode() 562 cls_u32.knode.mask = n->mask; in u32_replace_hw_knode() 564 cls_u32.knode.val = 0; in u32_replace_hw_knode() 565 cls_u32.knode.mask = 0; in u32_replace_hw_knode() 567 cls_u32.knode.sel = &n->sel; in u32_replace_hw_knode() 568 cls_u32.knode.res = &n->res; in u32_replace_hw_knode() 1259 cls_u32.command = add ? in u32_reoffload_knode() 1269 cls_u32.knode.val = 0; in u32_reoffload_knode() [all …]
|
H A D | Makefile | 67 obj-$(CONFIG_NET_CLS_U32) += cls_u32.o
|
H A D | Kconfig | 500 module will be called cls_u32.
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | cls.c | 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() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 1085 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 D | ixgbe_main.c | 9737 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 D | cxgb4_main.c | 3596 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 D | qdict.txt | 2887 cls_u32.c: 16562
|