Lines Matching refs:txhdr

237 	char *txhdr = skb_push(skb, MLXSW_TXHDR_LEN);  in mlxsw_sp_txhdr_construct()  local
239 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_construct()
241 mlxsw_tx_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_1); in mlxsw_sp_txhdr_construct()
242 mlxsw_tx_hdr_ctl_set(txhdr, MLXSW_TXHDR_ETH_CTL); in mlxsw_sp_txhdr_construct()
243 mlxsw_tx_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); in mlxsw_sp_txhdr_construct()
244 mlxsw_tx_hdr_swid_set(txhdr, 0); in mlxsw_sp_txhdr_construct()
245 mlxsw_tx_hdr_control_tclass_set(txhdr, 1); in mlxsw_sp_txhdr_construct()
246 mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); in mlxsw_sp_txhdr_construct()
247 mlxsw_tx_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_CONTROL); in mlxsw_sp_txhdr_construct()
256 char *txhdr; in mlxsw_sp_txhdr_ptp_data_construct() local
271 txhdr = skb_push(skb, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_ptp_data_construct()
272 memset(txhdr, 0, MLXSW_TXHDR_LEN); in mlxsw_sp_txhdr_ptp_data_construct()
274 mlxsw_tx_hdr_version_set(txhdr, MLXSW_TXHDR_VERSION_1); in mlxsw_sp_txhdr_ptp_data_construct()
275 mlxsw_tx_hdr_proto_set(txhdr, MLXSW_TXHDR_PROTO_ETH); in mlxsw_sp_txhdr_ptp_data_construct()
276 mlxsw_tx_hdr_rx_is_router_set(txhdr, true); in mlxsw_sp_txhdr_ptp_data_construct()
277 mlxsw_tx_hdr_fid_valid_set(txhdr, true); in mlxsw_sp_txhdr_ptp_data_construct()
278 mlxsw_tx_hdr_fid_set(txhdr, max_fid + tx_info->local_port - 1); in mlxsw_sp_txhdr_ptp_data_construct()
279 mlxsw_tx_hdr_type_set(txhdr, MLXSW_TXHDR_TYPE_DATA); in mlxsw_sp_txhdr_ptp_data_construct()