Searched refs:mlxsw_skb_cb (Results 1 – 5 of 5) sorted by relevance
567 struct mlxsw_skb_cb { struct575 static inline struct mlxsw_skb_cb *mlxsw_skb_cb(struct sk_buff *skb) in mlxsw_skb_cb() argument577 BUILD_BUG_ON(sizeof(mlxsw_skb_cb) > sizeof(skb->cb)); in mlxsw_skb_cb()578 return (struct mlxsw_skb_cb *) skb->cb; in mlxsw_skb_cb()
531 mlxsw_skb_cb(skb)->cqe_ts.sec = mlxsw_pci_cqe2_time_stamp_sec_get(cqe); in mlxsw_pci_skb_cb_ts_set()532 mlxsw_skb_cb(skb)->cqe_ts.nsec = in mlxsw_pci_skb_cb_ts_set()551 tx_info = mlxsw_skb_cb(elem_info->u.sdq.skb)->tx_info; in mlxsw_pci_cqe_sdq_handle()577 struct mlxsw_skb_cb *cb = mlxsw_skb_cb(skb); in mlxsw_pci_cqe_rdq_md_tx_port_init()599 struct mlxsw_skb_cb *cb = mlxsw_skb_cb(skb); in mlxsw_pci_cqe_rdq_md_init()669 mlxsw_skb_cb(skb)->rx_md_info.cookie_index = cookie_index; in mlxsw_pci_cqe_rdq_handle()1727 mlxsw_skb_cb(skb)->tx_info = *tx_info; in mlxsw_pci_skb_transmit()
1404 const struct mlxsw_skb_cb *cb, in mlxsw_sp2_ptp_hwtstamp_fill()1431 mlxsw_sp2_ptp_hwtstamp_fill(mlxsw_sp->core, mlxsw_skb_cb(skb), in mlxsw_sp2_ptp_receive()1442 mlxsw_sp2_ptp_hwtstamp_fill(mlxsw_sp->core, mlxsw_skb_cb(skb), in mlxsw_sp2_ptp_transmitted()
115 u32 cookie_index = mlxsw_skb_cb(skb)->rx_md_info.cookie_index; in mlxsw_sp_rx_acl_drop_listener()243 struct mlxsw_rx_md_info *rx_md_info = &mlxsw_skb_cb(skb)->rx_md_info; in mlxsw_sp_psample_md_init()299 struct mlxsw_rx_md_info *rx_md_info = &mlxsw_skb_cb(skb)->rx_md_info; in mlxsw_sp_rx_sample_tx_listener()
746 memset(skb->cb, 0, sizeof(struct mlxsw_skb_cb)); in mlxsw_sp_port_xmit()