Home
last modified time | relevance | path

Searched refs:tc_prio (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.c797 static void cxgb4_tc_flower_hash_prio_add(struct adapter *adap, u32 tc_prio) in cxgb4_tc_flower_hash_prio_add() argument
800 if (adap->tids.tc_hash_tids_max_prio < tc_prio) in cxgb4_tc_flower_hash_prio_add()
801 adap->tids.tc_hash_tids_max_prio = tc_prio; in cxgb4_tc_flower_hash_prio_add()
805 static void cxgb4_tc_flower_hash_prio_del(struct adapter *adap, u32 tc_prio) in cxgb4_tc_flower_hash_prio_del() argument
816 if (t->tc_hash_tids_max_prio != tc_prio) in cxgb4_tc_flower_hash_prio_del()
829 fe->fs.tc_prio <= t->tc_hash_tids_max_prio) { in cxgb4_tc_flower_hash_prio_del()
830 t->tc_hash_tids_max_prio = fe->fs.tc_prio; in cxgb4_tc_flower_hash_prio_del()
837 if (fe->fs.tc_prio == tc_prio) in cxgb4_tc_flower_hash_prio_del()
856 u32 tc_prio, struc in cxgb4_flow_rule_replace()
855 cxgb4_flow_rule_replace(struct net_device *dev, struct flow_rule *rule, u32 tc_prio, struct netlink_ext_ack *extack, struct ch_filter_specification *fs, u32 *tid) cxgb4_flow_rule_replace() argument
970 cxgb4_flow_rule_destroy(struct net_device *dev, u32 tc_prio, struct ch_filter_specification *fs, int tid) cxgb4_flow_rule_destroy() argument
[all...]
H A Dcxgb4_tc_flower.h141 u32 tc_prio, struct netlink_ext_ack *extack,
143 int cxgb4_flow_rule_destroy(struct net_device *dev, u32 tc_prio,
H A Dcxgb4_filter.c539 if ((prev_fe->valid && prev_fe->fs.tc_prio > prio) || in cxgb4_filter_prio_in_range()
540 (next_fe->valid && next_fe->fs.tc_prio < prio)) in cxgb4_filter_prio_in_range()
547 u32 tc_prio) in cxgb4_get_free_ftid()
600 ftid = (tc_prio <= t->nhpftids) ? 0 : t->nhpftids; in cxgb4_get_free_ftid()
613 tc_prio > t->tc_hash_tids_max_prio) || in cxgb4_get_free_ftid()
628 if (f->valid && tc_prio < f->fs.tc_prio) in cxgb4_get_free_ftid()
638 if (f->valid && tc_prio > f->fs.tc_prio) in cxgb4_get_free_ftid()
652 tc_prio < in cxgb4_get_free_ftid()
546 cxgb4_get_free_ftid(struct net_device *dev, u8 family, bool hash_en, u32 tc_prio) cxgb4_get_free_ftid() argument
[all...]
H A Dcxgb4_tc_matchall.c280 fs->tc_prio = cls->common.prio; in cxgb4_matchall_add_filter()
H A Dcxgb4_uld.h285 u32 tc_prio);
H A Dcxgb4_tc_u32.c202 fs.tc_prio = cls->common.prio; in cxgb4_config_knode()
H A Dcxgb4.h1416 u32 tc_prio; /* TC's filter priority index */ member
H A Dcxgb4_ethtool.c1846 ret = cxgb4_flow_rule_destroy(dev, f->fs.tc_prio, &f->fs, filter_id); in cxgb4_ntuple_del_filter()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_flower.c797 static void cxgb4_tc_flower_hash_prio_add(struct adapter *adap, u32 tc_prio) in cxgb4_tc_flower_hash_prio_add() argument
800 if (adap->tids.tc_hash_tids_max_prio < tc_prio) in cxgb4_tc_flower_hash_prio_add()
801 adap->tids.tc_hash_tids_max_prio = tc_prio; in cxgb4_tc_flower_hash_prio_add()
805 static void cxgb4_tc_flower_hash_prio_del(struct adapter *adap, u32 tc_prio) in cxgb4_tc_flower_hash_prio_del() argument
816 if (t->tc_hash_tids_max_prio != tc_prio) in cxgb4_tc_flower_hash_prio_del()
829 fe->fs.tc_prio <= t->tc_hash_tids_max_prio) { in cxgb4_tc_flower_hash_prio_del()
830 t->tc_hash_tids_max_prio = fe->fs.tc_prio; in cxgb4_tc_flower_hash_prio_del()
837 if (fe->fs.tc_prio == tc_prio) in cxgb4_tc_flower_hash_prio_del()
856 u32 tc_prio, struc in cxgb4_flow_rule_replace()
855 cxgb4_flow_rule_replace(struct net_device *dev, struct flow_rule *rule, u32 tc_prio, struct netlink_ext_ack *extack, struct ch_filter_specification *fs, u32 *tid) cxgb4_flow_rule_replace() argument
970 cxgb4_flow_rule_destroy(struct net_device *dev, u32 tc_prio, struct ch_filter_specification *fs, int tid) cxgb4_flow_rule_destroy() argument
[all...]
H A Dcxgb4_tc_flower.h141 u32 tc_prio, struct netlink_ext_ack *extack,
143 int cxgb4_flow_rule_destroy(struct net_device *dev, u32 tc_prio,
H A Dcxgb4_filter.c539 if ((prev_fe->valid && prev_fe->fs.tc_prio > prio) || in cxgb4_filter_prio_in_range()
540 (next_fe->valid && next_fe->fs.tc_prio < prio)) in cxgb4_filter_prio_in_range()
547 u32 tc_prio) in cxgb4_get_free_ftid()
600 ftid = (tc_prio <= t->nhpftids) ? 0 : t->nhpftids; in cxgb4_get_free_ftid()
613 tc_prio > t->tc_hash_tids_max_prio) || in cxgb4_get_free_ftid()
628 if (f->valid && tc_prio < f->fs.tc_prio) in cxgb4_get_free_ftid()
638 if (f->valid && tc_prio > f->fs.tc_prio) in cxgb4_get_free_ftid()
652 tc_prio < in cxgb4_get_free_ftid()
546 cxgb4_get_free_ftid(struct net_device *dev, u8 family, bool hash_en, u32 tc_prio) cxgb4_get_free_ftid() argument
[all...]
H A Dcxgb4_tc_matchall.c328 fs->tc_prio = cls->common.prio; in cxgb4_matchall_add_filter()
H A Dcxgb4_tc_u32.c202 fs.tc_prio = cls->common.prio; in cxgb4_config_knode()
H A Dcxgb4_uld.h285 u32 tc_prio);
H A Dcxgb4_ethtool.c1854 ret = cxgb4_flow_rule_destroy(dev, f->fs.tc_prio, &f->fs, filter_id); in cxgb4_ntuple_del_filter()
H A Dcxgb4.h1412 u32 tc_prio; /* TC's filter priority index */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.h133 u8 *bwg_id, u8 *prio_type, u8 *tc_prio);
134 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio);
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.h133 u8 *bwg_id, u8 *prio_type, u8 *tc_prio);
134 s32 ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio);
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/
H A Dksz_common.c3269 int ret, band, tc_prio; in ksz_tc_ets_add() local
3295 for (tc_prio = 0; tc_prio < ARRAY_SIZE(p->priomap); tc_prio++) { in ksz_tc_ets_add()
3298 if (tc_prio > KSZ9477_MAX_TC_PRIO) in ksz_tc_ets_add()
3301 queue = ksz_ets_band_to_queue(p, p->priomap[tc_prio]); in ksz_tc_ets_add()
3302 queue_map |= queue << (tc_prio * KSZ9477_PORT_TC_MAP_S); in ksz_tc_ets_add()
3310 int ret, queue, tc_prio, s; in ksz_tc_ets_del() local
3340 for (tc_prio = 0; tc_prio < in ksz_tc_ets_del()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
H A Docrdma_sli.h2225 u32 tc_prio[8]; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/
H A Docrdma_sli.h2225 u32 tc_prio[8]; member

Completed in 51 milliseconds