/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_bound.sh | 110 tc qdisc add dev $swp1 clsact 147 tc qdisc del dev $swp1 clsact
|
H A D | ethtool_mm.sh | 258 tc qdisc add dev $h1 root mqprio num_tc 4 map 0 1 2 3 \ 272 tc qdisc add dev $h2 root mqprio num_tc 4 map 0 1 2 3 \ 282 tc qdisc del dev $h1 root 289 tc qdisc del dev $h2 root
|
H A D | gre_multipath_nh_res.sh | 156 tc qdisc add dev $ul2 clsact 157 tc filter add dev $ul2 ingress pref 111 prot 802.1Q \ 159 tc filter add dev $ul2 ingress pref 222 prot 802.1Q \ 165 tc qdisc del dev $ul2 clsact
|
H A D | gre_multipath_nh.sh | 154 tc qdisc add dev $ul2 clsact 155 tc filter add dev $ul2 ingress pref 111 prot 802.1Q \ 157 tc filter add dev $ul2 ingress pref 222 prot 802.1Q \ 163 tc qdisc del dev $ul2 clsact
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 104 unsigned long cookie, int port, int tc, 123 rule->key.tc.pcp = tc; 135 if (policing[(port * SJA1105_NUM_TC) + tc].sharindx != port) { 144 /* Make the policers for traffic class @tc of all ports attached to 148 int index = (p * SJA1105_NUM_TC) + tc; 187 key->tc.pcp, rate_bytes_per_sec, 283 key->tc.pcp = pcp; 481 int index = (port * SJA1105_NUM_TC) + rule->key.tc.pcp; 102 sja1105_setup_tc_policer(struct sja1105_private *priv, struct netlink_ext_ack *extack, unsigned long cookie, int port, int tc, u64 rate_bytes_per_sec, u32 burst) argument
|
/linux-master/tools/testing/selftests/net/ |
H A D | so_txtime.sh | 84 ip netns exec "${NS1}" tc qdisc add dev "${DEV}" root fq 93 if ip netns exec "${NS1}" tc qdisc replace dev "${DEV}" root etf clockid CLOCK_TAI delta 400000; then 100 echo "tc ($(tc -V)) does not support qdisc etf. skipping"
|
/linux-master/drivers/s390/block/ |
H A D | dasd_eer.c | 598 int tc,rc; local 620 tc = 0; 621 while (!tc) { 622 tc = dasd_eer_read_buffer(eerb, (char *) &tailcount, 624 if (!tc) { 640 WARN_ON(tc != sizeof(tailcount)); 645 tc = dasd_eer_read_buffer(eerb, readbuffer, effective_count); 646 WARN_ON(tc != effective_count);
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 224 static u32 enetc_get_cbs_enable(struct enetc_hw *hw, u8 tc) argument 226 return enetc_port_rd(hw, ENETC_PTCCBSR0(tc)) & ENETC_CBSE; 229 static u8 enetc_get_cbs_bw(struct enetc_hw *hw, u8 tc) argument 231 return enetc_port_rd(hw, ENETC_PTCCBSR0(tc)) & ENETC_CBS_BW_MASK; 244 u8 tc = cbs->queue; local 252 /* Support highest prio and second prio tc in cbs mode */ 253 if (tc != prio_top && tc != prio_next) 260 if (tc == prio_top && 264 prio_next, tc); 356 int tc; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.h | 74 nsec = timecounter_cyc2time(&timer->tc, timestamp);
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dcbx.h | 31 u8 tc; /* Traffic Class */ member in struct:qed_dcbx_app_data
|
H A D | qed_dcbx.c | 158 "%s info: update %d, enable %d, prio %d, tc %d, num_tc %d\n", 161 p_data->arr[id].tc, p_hwfn->hw_info.num_active_tc); 168 bool app_tlv, bool enable, u8 prio, u8 tc, 175 p_data->arr[type].tc = tc; 186 qed_hw_info_set_offload_tc(&p_hwfn->hw_info, tc); 200 bool app_tlv, bool enable, u8 prio, u8 tc, 216 prio, tc, type, personality); 257 u8 tc, priority_map; local 278 tc 166 qed_dcbx_set_params(struct qed_dcbx_results *p_data, struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, bool app_tlv, bool enable, u8 prio, u8 tc, enum dcbx_protocol_type type, enum qed_pci_personality personality) argument 198 qed_dcbx_update_app_info(struct qed_dcbx_results *p_data, struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, bool app_tlv, bool enable, u8 prio, u8 tc, enum dcbx_protocol_type type) argument 1349 qed_dcbnl_getpgtccfgtx(struct qed_dev *cdev, int tc, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument 1391 qed_dcbnl_getpgtccfgrx(struct qed_dev *cdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) argument 1562 qed_dcbnl_setpgtccfgtx(struct qed_dev *cdev, int tc, u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) argument [all...] |
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.h | 63 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc);
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
H A D | vxlan_flooding_ipv6.sh | 176 tc qdisc add dev $rp2 clsact 181 tc filter add dev $rp2 ingress protocol ipv6 pref $i handle $i \ 193 tc filter del dev $rp2 ingress protocol ipv6 pref $i \ 197 tc qdisc del dev $rp2 clsact 222 # Add FDB entries for remote VTEPs and corresponding tc filters on the
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_tc_tunnel.sh | 201 ip netns exec "${ns1}" tc qdisc add dev veth1 clsact 202 ip netns exec "${ns1}" tc filter add dev veth1 egress \ 301 ip netns exec "${ns2}" tc qdisc add dev veth2 clsact 302 ip netns exec "${ns2}" tc filter add dev veth2 ingress \
|
H A D | test_xdp_vlan.sh | 140 which tc > /dev/null 211 # tc qdisc del dev $DEVNS1 clsact 2> /dev/null 213 ip netns exec ${NS1} tc qdisc add dev $DEVNS1 clsact 214 ip netns exec ${NS1} tc filter add dev $DEVNS1 egress \
|
/linux-master/samples/bpf/ |
H A D | lwt_len_hist.sh | 12 rm /sys/fs/bpf/tc/globals/lwt_len_hist_map
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_idc.c | 87 max_rdmaqs[qset->tc]++; 97 status = ice_ena_vsi_rdma_qset(vsi->port_info, vsi->idx, qset->tc, 103 vsi->qset_handle[qset->tc] = qset->qs_handle; 133 vsi->qset_handle[qset->tc] = 0;
|
/linux-master/include/linux/mlx5/ |
H A D | port.h | 195 u8 prio, u8 *tc); 198 u8 tc, u8 *tc_group); 201 u8 tc, u8 *bw_pct);
|
/linux-master/include/linux/surface_aggregator/ |
H A D | serial_hub.h | 88 * @tc: Command target category. 98 u8 tc; member in struct:ssh_command 242 * @tc: The target category to convert. 244 static inline u16 ssh_tc_to_rqid(u8 tc) argument 246 return tc;
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_clock.c | 41 static u64 mlx4_en_read_clock(const struct cyclecounter *tc) argument 44 container_of(tc, struct mlx4_en_dev, cycles); 47 return mlx4_read_clock(dev) & tc->mask;
|
/linux-master/drivers/xen/ |
H A D | efi.c | 44 static efi_status_t xen_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc) argument 56 if (tc) { 57 tc->resolution = efi_data(op).u.get_time.resolution; 58 tc->accuracy = efi_data(op).u.get_time.accuracy; 59 tc->sets_to_zero = !!(efi_data(op).misc &
|
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-jpeg.c | 371 u8 tc, th, *table; local 379 tc = (tc_th >> 4) & 0xf; 380 if (tc > 1) 407 tables[(tc << 1) | th].start = table; 408 tables[(tc << 1) | th].length = stream->curr - table;
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 70 timecounter_init(&ptp->tc, &ptp->cc, ns); 154 ns = timecounter_cyc2time(&ptp->tc, cycles); 203 timecounter_adjtime(&ptp->tc, delta); 237 timecounter_read(&ptp->tc); 251 ns = timecounter_cyc2time(&ptp->tc, pps_ts); 397 nsec_now = timecounter_cyc2time(&ptp->tc, cycles_now); 682 ns = timecounter_cyc2time(&ptp->tc, ts); 713 timecounter_read(&ptp->tc); 867 timecounter_init(&ptp->tc, &ptp->cc, ktime_to_ns(ktime_get_real())); 873 timecounter_init(&ptp->tc, [all...] |
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | tx.c | 433 unsigned tc, num_tc; local 449 for (tc = 0; tc < num_tc; tc++) { 450 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; 451 net_dev->tc_to_txq[tc].count = efx->n_tx_channels;
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_dcb.c | 86 "tc num checking failed, %u > tc_max(%u)\n", 124 /* return max tc number, max tc id need to plus 1 */ 146 "tc%u is disabled, cannot set ets bw\n", 156 "tc%u ets bw cannot be 0\n", i); 179 u8 *tc, bool *changed) 194 *tc = tc_num; 195 if (*tc != hdev->tm_info.num_tc) 425 "failed to set dscp to tc map, ret = %d\n", ret); 464 "failed to del dscp to tc ma 178 hclge_ets_validate(struct hclge_dev *hdev, struct ieee_ets *ets, u8 *tc, bool *changed) argument 601 u8 tc = mqprio_qopt->qopt.num_tc; local [all...] |