Home
last modified time | relevance | path

Searched refs:IFH_LEN (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_main.c244 for (i = 0; i < IFH_LEN; ++i) { in lan966x_port_ifh_xmit()
308 IFH_POS_BYPASS, IFH_LEN * 4, PACK, 0); in lan966x_ifh_set_bypass()
314 IFH_POS_DSTS, IFH_LEN * 4, PACK, 0); in lan966x_ifh_set_port()
320 IFH_POS_QOS_CLASS, IFH_LEN * 4, PACK, 0); in lan966x_ifh_set_qos_class()
326 IFH_POS_IPV, IFH_LEN * 4, PACK, 0); in lan966x_ifh_set_ipv()
332 IFH_POS_TCI, IFH_LEN * 4, PACK, 0); in lan966x_ifh_set_vid()
338 IFH_POS_REW_CMD, IFH_LEN * 4, PACK, 0); in lan966x_ifh_set_rew_op()
344 IFH_POS_TIMESTAMP, IFH_LEN * 4, PACK, 0); in lan966x_ifh_set_timestamp()
352 __be32 ifh[IFH_LEN]; in lan966x_port_xmit()
355 memset(ifh, 0x0, sizeof(__be32) * IFH_LEN); in lan966x_port_xmit()
[all …]
Dlan966x_ifh.h10 #define IFH_LEN 7 macro
Dlan966x_fdma.c439 skb_pull(skb, IFH_LEN * sizeof(u32)); in lan966x_fdma_rx_get_frame()
595 needed_headroom = max_t(int, IFH_LEN * sizeof(u32) - skb_headroom(skb), 0); in lan966x_fdma_xmit()
608 skb_push(skb, IFH_LEN * sizeof(u32)); in lan966x_fdma_xmit()
609 memcpy(skb->data, ifh, IFH_LEN * sizeof(u32)); in lan966x_fdma_xmit()
743 max_mtu += IFH_LEN * sizeof(u32); in lan966x_fdma_change_mtu()
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_packet.c63 u32 ifh[IFH_LEN]; in sparx5_xtr_grp()
67 for (i = 0; i < IFH_LEN; i++) in sparx5_xtr_grp()
184 for (w = 0; w < IFH_LEN; w++) in sparx5_inject()
230 u32 ifh[IFH_LEN]; in sparx5_port_xmit_impl()
233 memset(ifh, 0, IFH_LEN * 4); in sparx5_port_xmit_impl()
Dsparx5_fdma.c240 skb_pull(skb, IFH_LEN * sizeof(u32)); in sparx5_fdma_rx_get_frame()
329 memcpy(db->cpu_addr, ifh, IFH_LEN * 4); in sparx5_fdma_xmit()
330 memcpy(db->cpu_addr + IFH_LEN * 4, skb->data, skb->len); in sparx5_fdma_xmit()
334 FDMA_DCB_STATUS_BLOCKL(skb->len + IFH_LEN * 4 + 4); in sparx5_fdma_xmit()
Dsparx5_main.h72 #define IFH_LEN 9 /* 36 bytes */ macro