Home
last modified time | relevance | path

Searched +full:1 +full:qbv (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/dsa/hirschmann/
Dhellcreek.h28 * - 1: Tunnel
29 * - 2: TSN front port 1
34 #define TUNNEL_PORT 1
44 #define HR_REL_L_C (1 * 2)
69 #define HR_PTCFG_LEARNING_EN BIT(1)
155 #define HR_VIDMBRCFG_P0MBR_MASK GENMASK(1, 0)
178 #define TR_TGDSEL_TDGSEL_MASK GENMASK(1, 0)
258 /* Per-port Qbv schedule information */
300 /* A Qbv schedule can only started up to 8 seconds in the future. If the delta
Dhellcreek.c176 /* Wait up to 1ms, although 3 us should be enough */ in hellcreek_wait_until_ready()
188 1, 1000); in hellcreek_wait_until_transitioned()
197 1, 1000); in hellcreek_wait_fdb_ready()
349 return VLAN_N_VID - port + 1; in hellcreek_private_vid()
388 case 1: in hellcreek_select_vlan_params()
729 hellcreek_write(hellcreek, entry->mac[1] | (entry->mac[0] << 8), HR_FDBWDH); in __hellcreek_fdb_add()
780 addr[1] = mac & 0xff; in hellcreek_populate_fdb_entry()
1047 * 2 - 1 in hellcreek_setup_tc_identity_mapping()
1048 * 1 - 0 in hellcreek_setup_tc_identity_mapping()
1069 /* MAC: 01-1B-19-00-00-00 */ in hellcreek_setup_fdb()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0008_linux_net.patch52 - buf[1] = '\n';
167 + if (1 == num) {
204 + atomic_set(&shinfo->dataref, 1);
245 + macaddr[i] = mac[ETH_ALEN - i - 1];
471 refcount_set(&sch->refcnt, 1);
531 - WARN_ON_ONCE(1);
552 @@ -0,0 +1,15 @@
561 + 802.1Qbv:
573 @@ -0,0 +1 @@
580 @@ -0,0 +1,3730 @@
[all …]
D0005_linux_include.patch14 @@ -0,0 +1,921 @@
315 +#define CFG_DPTX_VIF_CLK_RSTN_EN BIT(1)
318 +#define SOURCE_PHY_RSTN_EN BIT(1)
323 +#define SOURCE_PKT_DATA_RSTN_EN BIT(1)
330 +#define SOURCE_AIF_CLK_RSTN_EN BIT(1)
335 +#define SOURCE_CIPHER_CHAR_CLK_RSTN_EN BIT(1)
338 +#define SOURCE_CRYPTO_SYS_CLK_RSTN_EN BIT(1)
342 +#define APB_DRAM_PATH BIT(1)
345 +#define MAILBOX_INT_MASK_BIT BIT(1)
351 +#define MB_MODULE_ID 1
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dti,k3-am654-cpsw-nuss.yaml21 One external Ethernet port (port 1) with selectable RGMII/RMII interfaces and
30 Support for Audio/Video Bridging (P802.1Qav/D6.0)
35 IEEE 802.1Qbv/D2.2 Enhancements for Scheduled Traffic
56 maxItems: 1
76 maxItems: 1
97 const: 1
102 port@1:
111 - const: 1
115 maxItems: 1
206 #address-cells = <1>;
[all …]
/kernel/linux/linux-6.6/include/net/
Dpkt_sched.h38 0.5Kbyte/1Mbyte/sec = 0.5msec, so that we need 50usec timer for
130 extern const struct nla_policy rtm_tca_policy[TCA_MAX + 1];
165 bool validate_queue_counts:1;
181 bool supports_queue_max_sdu:1;
182 bool gate_mask_per_txq:1;
187 bool broken_mqprio:1;
198 * struct tc_taprio_qopt_stats - IEEE 802.1Qbv statistics
282 u8 post_ct:1;
283 u8 post_ct_snat:1;
284 u8 post_ct_dnat:1;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dti,k3-am654-cpsw-nuss.yaml27 Support for Audio/Video Bridging (P802.1Qav/D6.0)
32 IEEE 802.1Qbv/D2.2 Enhancements for Scheduled Traffic
65 maxItems: 1
78 maxItems: 1
90 maxItems: 1
111 const: 1
116 "^port@[1-8]$":
125 minimum: 1
130 minItems: 1
138 minItems: 1
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
Digc_tsn.c144 * Item 9: TSN: Packet Transmission Might Cross the Qbv Window
211 if (i > 1) in igc_tsn_enable_offload()
313 base_time = ktime_add_ns(base_time, (n + 1) * cycle); in igc_tsn_enable_offload()
Digc_defines.h27 #define IGC_WUFC_FLX1 BIT(17) /* Flexible Filter 1 Enable */
119 #define IGC_ERR_NVM 1
189 /* NVM Addressing bits based on type 0=small, 1=large */
203 #define IGC_NVM_RW_REG_START 1 /* Start operation */
222 #define IGC_STATUS_FD 0x00000001 /* Full duplex.0=half,1=full */
223 #define IGC_STATUS_LU 0x00000002 /* Link up.0=no,1=link */
235 #define HALF_DUPLEX 1
238 /* 1Gbps and 2.5Gbps half duplex is not supported, nor spec-compliant. */
256 #define IGC_ICR_TXQE BIT(1) /* Transmit Queue empty */
408 #define IGC_RETX_CTL_QBVFULLTH_SHIFT 8 /* QBV Retry Buffer Full Threshold */
[all …]
Digc_main.c29 #define IGC_XDP_TX BIT(1)
32 static int debug = -1;
74 low_latency = 1,
102 fc->send_xon = 1; in igc_reset()
809 /* Don't need to set TUOFL or IPOFL, they default to 1 */ in igc_setup_mrqc()
972 igc_set_mac_filter_hw(adapter, 0, IGC_MAC_FILTER_TYPE_DST, addr, -1); in igc_set_default_mac_filter()
1103 buffer->gso_segs = 1; in igc_init_empty_frame()
1291 cmd_type ^= IGC_SET_FLAG(skb->no_fcs, 1, IGC_ADVTXD_DCMD_IFCS); in igc_tx_cmd_type()
1450 return -1; in igc_tx_map()
1531 first->bytecount += (first->gso_segs - 1) * *hdr_len; in igc_tso()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c6 * Enhanced Scheduler Traffic (EST - P802.1Qbv/D2.2)
29 #define AM65_CPSW_PN_EST_BUFSEL BIT(1)
236 temp <<= 1; in am65_est_cmd_ns_to_cnt()
345 if (!fetch_cnt && i < est_new->taprio.num_entries - 1) { in am65_cpsw_est_set_sched_list()
347 "next scheds after %d have no impact", i + 1); in am65_cpsw_est_set_sched_list()
373 return am65_cpts_estf_enable(cpts, port->port_id - 1, &cfg); in am65_cpsw_timer_set()
381 am65_cpts_estf_disable(cpts, port->port_id - 1); in am65_cpsw_timer_stop()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c90 gce = (struct gce *)(gcl_data + 1); in enetc_setup_taprio()
123 cbd.addr[1] = upper_32_bits(dma); in enetc_setup_taprio()
151 /* TSD and Qbv are mutually exclusive in hardware */ in enetc_setup_tc_taprio()
199 prio_top = tc_nums - 1; in enetc_setup_tc_cbs()
320 /* TSD and Qbv are mutually exclusive in hardware */ in enetc_setup_tc_txtime()
343 #define ENETC_PSFP_WILDCARD -1
348 FILTER_ACTION_TYPE_ACL = BIT(1),
349 FILTER_ACTION_TYPE_BOTH = GENMASK(1, 0),
507 cbd.addr[1] = upper_32_bits(dma); in enetc_streamid_hw_set()
515 si_conf->iports = 1 << enetc_get_port(priv); in enetc_streamid_hw_set()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c62 /* TSD and Qbv are mutually exclusive in hardware */ in enetc_setup_taprio()
86 gce = (struct gce *)(gcl_data + 1); in enetc_setup_taprio()
249 prio_top = tc_nums - 1; in enetc_setup_tc_cbs()
366 /* TSD and Qbv are mutually exclusive in hardware */ in enetc_setup_tc_txtime()
389 #define ENETC_PSFP_WILDCARD -1
394 FILTER_ACTION_TYPE_ACL = BIT(1),
395 FILTER_ACTION_TYPE_BOTH = GENMASK(1, 0),
552 si_conf->iports = cpu_to_le32(1 << port); in enetc_streamid_hw_set()
553 si_conf->id_type = 1; in enetc_streamid_hw_set()
555 si_conf->oui[1] = 0x80; in enetc_streamid_hw_set()
[all …]
/kernel/linux/linux-6.6/Documentation/networking/dsa/
Dsja1105.rst83 ``vlan_filtering 1``.
92 ``vlan_filtering`` 0, or both 1).
103 specified in IEEE 802.1Q-2018 (formerly 802.1Qbv). This means it can be used to
121 on egress. Using ``vlan_filtering=1``, the behavior is the other way around:
128 Management traffic (having DMAC 01-80-C2-xx-xx-xx or 01-19-1B-xx-xx-xx) is the
145 local tc_list="$1"
149 mask=$((${mask} | (1 << ${tc})))
162 sec=$(echo "${now}" | gawk -F. '{ print $1; }')
163 base_time="$(((${sec} + 1) * ${NSEC_PER_SEC}))"
167 map 0 1 2 3 5 6 7 \
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c6 * Enhanced Scheduler Traffic (EST - P802.1Qbv/D2.2)
32 #define AM65_CPSW_PN_EST_BUFSEL BIT(1)
238 temp <<= 1; in am65_est_cmd_ns_to_cnt()
347 if (!fetch_cnt && i < est_new->taprio.num_entries - 1) { in am65_cpsw_est_set_sched_list()
349 "next scheds after %d have no impact", i + 1); in am65_cpsw_est_set_sched_list()
375 return am65_cpts_estf_enable(cpts, port->port_id - 1, &cfg); in am65_cpsw_timer_set()
383 am65_cpts_estf_disable(cpts, port->port_id - 1); in am65_cpsw_timer_stop()
892 ch_msk = GENMASK(common->tx_ch_num - 1, queue); in am65_cpsw_qos_ndo_tx_p0_set_maxrate()
896 ch_msk = queue ? GENMASK(queue - 1, 0) : 0; in am65_cpsw_qos_ndo_tx_p0_set_maxrate()
/kernel/linux/linux-5.10/Documentation/networking/dsa/
Dsja1105.rst84 - Mode 1 (VLAN-unaware): a port is in this mode when it is used as a standalone
87 bridge with ``vlan_filtering=1``. Access to the entire VLAN range is given to
93 bridge with ``vlan_filtering=1``, and the devlink property of its parent
104 | | Mode 1 | Mode 2 | Mode 3 |
118 # swp2 operates in Mode 1 now
121 ip link set dev br0 type bridge vlan_filtering 1
122 [ 61.204770] sja1105 spi0.1: Reset switch and programmed static config. Reason: VLAN filtering
123 [ 61.239944] sja1105 spi0.1: Disabled switch tagging
125 devlink dev param set spi/spi0.1 name best_effort_vlan_filtering value true cmode runtime
126 [ 64.682927] sja1105 spi0.1: Reset switch and programmed static config. Reason: VLAN filtering
[all …]
/kernel/linux/linux-5.10/net/sched/
Dsch_taprio.c30 #define TAPRIO_ALL_GATES_OPEN -1
248 entry_available = 1; in find_entry_to_transmit()
334 * 1. If txtime is in the past,
397 sched_changed = 1; in get_packet_txtime()
541 * accordance to IEEE 802.1Qbv-2015 Section 8.6.9.4.5 in taprio_dequeue_soft()
716 /* This can happen in two cases: 1. this is the very first run in advance_sched()
765 static const struct nla_policy entry_policy[TCA_TAPRIO_SCHED_ENTRY_MAX + 1] = {
772 static const struct nla_policy taprio_policy[TCA_TAPRIO_ATTR_MAX + 1] = {
822 struct nlattr *tb[TCA_TAPRIO_SCHED_ENTRY_MAX + 1] = { }; in parse_sched_entry()
945 /* taprio imposes that traffic classes map 1:n to tx queues */ in taprio_parse_mqprio_opt()
[all …]
/kernel/linux/linux-6.6/net/sched/
Dsch_taprio.c39 #define TAPRIO_ALL_GATES_OPEN -1
293 dev->hard_header_len + 1); in taprio_update_queue_max_sdu()
461 * 1. If txtime is in the past,
622 if (numsegs > 1) in taprio_enqueue_segmented()
623 qdisc_tree_reduce_backlog(sch, 1 - numsegs, len - slen); in taprio_enqueue_segmented()
663 WARN_ONCE(1, "taprio only supports operating as root qdisc, peek() not implemented"); in taprio_peek()
791 for (tc = num_tc - 1; tc >= 0; tc--) { in taprio_dequeue_tc_priority()
848 * accordance to IEEE 802.1Qbv-2015 Section 8.6.9.4.5 in taprio_dequeue()
946 /* This can happen in two cases: 1. this is the very first run in advance_sched()
1003 static const struct nla_policy entry_policy[TCA_TAPRIO_SCHED_ENTRY_MAX + 1] = {
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_main.c25 static int debug = -1;
65 low_latency = 1,
93 fc->send_xon = 1; in igc_reset()
671 /* Don't need to set TUOFL or IPOFL, they default to 1 */ in igc_setup_mrqc()
834 igc_set_mac_filter_hw(adapter, 0, IGC_MAC_FILTER_TYPE_DST, addr, -1); in igc_set_default_mac_filter()
964 buffer->gso_segs = 1; in igc_init_empty_frame()
1300 return -1; in igc_tx_map()
1381 first->bytecount += (first->gso_segs - 1) * *hdr_len; in igc_tso()
1395 return 1; in igc_tso()
1412 /* need: 1 descriptor per page * PAGE_SIZE/IGC_MAX_DATA_PER_TXD, in igc_xmit_frame_ring()
[all …]