Searched refs:IFH_LEN (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_main.c | 244 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() 351 __be32 ifh[IFH_LEN]; in lan966x_port_xmit() 354 memset(ifh, 0x0, sizeof(__be32) * IFH_LEN); in lan966x_port_xmit() [all …]
|
D | lan966x_ifh.h | 10 #define IFH_LEN 7 macro
|
D | lan966x_fdma.c | 432 skb_pull(skb, IFH_LEN * sizeof(u32)); in lan966x_fdma_rx_get_frame() 588 needed_headroom = max_t(int, IFH_LEN * sizeof(u32) - skb_headroom(skb), 0); in lan966x_fdma_xmit() 601 skb_push(skb, IFH_LEN * sizeof(u32)); in lan966x_fdma_xmit() 602 memcpy(skb->data, ifh, IFH_LEN * sizeof(u32)); in lan966x_fdma_xmit() 753 max_mtu += IFH_LEN * sizeof(u32); in lan966x_fdma_change_mtu()
|
/linux-5.19.10/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_packet.c | 63 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()
|
D | sparx5_fdma.c | 240 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()
|
D | sparx5_main.h | 72 #define IFH_LEN 9 /* 36 bytes */ macro
|