Home
last modified time | relevance | path

Searched refs:MLXSW_TXHDR_LEN (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dtxheader.h7 #define MLXSW_TXHDR_LEN 0x10 macro
Dswitchib.c93 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sib_tx_v1_hdr_construct()
95 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sib_tx_v1_hdr_construct()
513 .txhdr_len = MLXSW_TXHDR_LEN,
524 .txhdr_len = MLXSW_TXHDR_LEN,
Dswitchx2.c134 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sx_txhdr_construct()
137 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sx_txhdr_construct()
211 mtu += MLXSW_TXHDR_LEN + ETH_HLEN; in mlxsw_sx_port_mtu_eth_set()
302 if (skb_cow_head(skb, MLXSW_TXHDR_LEN)) { in mlxsw_sx_port_xmit()
317 len = skb->len - MLXSW_TXHDR_LEN; in mlxsw_sx_port_xmit()
1002 dev->needed_headroom = MLXSW_TXHDR_LEN; in __mlxsw_sx_port_eth_create()
1643 .txhdr_len = MLXSW_TXHDR_LEN,
Dspectrum.c231 char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_construct()
233 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_construct()
344 mtu += MLXSW_TXHDR_LEN + ETH_HLEN; in mlxsw_sp_port_mtu_set()
553 if (skb_cow_head(skb, MLXSW_TXHDR_LEN)) { in mlxsw_sp_port_xmit()
573 len = skb->len - MLXSW_TXHDR_LEN; in mlxsw_sp_port_xmit()
1478 dev->needed_headroom = MLXSW_TXHDR_LEN; in mlxsw_sp_port_create()
3205 skb_pull(skb, MLXSW_TXHDR_LEN); in mlxsw_sp_ptp_transmitted()
3242 .txhdr_len = MLXSW_TXHDR_LEN,
3283 .txhdr_len = MLXSW_TXHDR_LEN,
3324 .txhdr_len = MLXSW_TXHDR_LEN,