Searched refs:cls_u32 (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/net/sched/ |
D | cls_u32.c | 481 struct tc_cls_u32_offload cls_u32 = {}; in u32_clear_hw_hnode() local 483 tc_cls_common_offload_init(&cls_u32.common, tp, h->flags, extack); in u32_clear_hw_hnode() 484 cls_u32.command = TC_CLSU32_DELETE_HNODE; in u32_clear_hw_hnode() 485 cls_u32.hnode.divisor = h->divisor; in u32_clear_hw_hnode() 486 cls_u32.hnode.handle = h->handle; in u32_clear_hw_hnode() 487 cls_u32.hnode.prio = h->prio; in u32_clear_hw_hnode() 489 tc_setup_cb_call(block, TC_SETUP_CLSU32, &cls_u32, false, true); in u32_clear_hw_hnode() 496 struct tc_cls_u32_offload cls_u32 = {}; in u32_replace_hw_hnode() local 501 tc_cls_common_offload_init(&cls_u32.common, tp, flags, extack); in u32_replace_hw_hnode() 502 cls_u32.command = TC_CLSU32_NEW_HNODE; in u32_replace_hw_hnode() [all …]
|
D | Makefile | 67 obj-$(CONFIG_NET_CLS_U32) += cls_u32.o
|
D | Kconfig | 500 module will be called cls_u32.
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/abm/ |
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 …]
|
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
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()
|