Searched refs:td_offset (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
H A Di40e_txrx.c33 static inline __le64 build_ctob(u32 td_cmd, u32 td_offset, unsigned int size, build_ctob() argument
38 ((u64)td_offset << I40E_TXD_QW1_OFFSET_SHIFT) | build_ctob()
1473 * @td_offset: Tx descriptor header offsets to set
1477 u32 *td_cmd, u32 *td_offset, i40e_tx_enable_csum()
1548 /* Now set the td_offset for IP header length */ i40e_tx_enable_csum()
1549 *td_offset = (network_hdr_len >> 2) << i40e_tx_enable_csum()
1554 /* Now set the td_offset for IP header length */ i40e_tx_enable_csum()
1555 *td_offset = (network_hdr_len >> 2) << i40e_tx_enable_csum()
1559 *td_offset |= (skb_network_offset(skb) >> 1) << i40e_tx_enable_csum()
1567 *td_offset |= (this_tcp_hdrlen >> 2) << i40e_tx_enable_csum()
1573 *td_offset |= (sizeof(struct sctphdr) >> 2) << i40e_tx_enable_csum()
1579 *td_offset |= (sizeof(struct udphdr) >> 2) << i40e_tx_enable_csum()
1682 * @td_offset: offset for checksum or crc
1686 const u8 hdr_len, u32 td_cmd, u32 td_offset) i40e_tx_map()
1732 build_ctob(td_cmd, td_offset, i40e_tx_map()
1751 tx_desc->cmd_type_offset_bsz = build_ctob(td_cmd, td_offset, i40e_tx_map()
1778 build_ctob(td_cmd, td_offset, size, td_tag) | i40e_tx_map()
1783 build_ctob(td_cmd, td_offset, size, td_tag) | i40e_tx_map()
1915 u32 td_offset = 0; i40e_xmit_frame_ring() local
1961 i40e_tx_enable_csum(skb, tx_flags, &td_cmd, &td_offset, i40e_xmit_frame_ring()
1969 td_cmd, td_offset); i40e_xmit_frame_ring()
1476 i40e_tx_enable_csum(struct sk_buff *skb, u32 tx_flags, u32 *td_cmd, u32 *td_offset, struct i40e_ring *tx_ring, u32 *cd_tunneling) i40e_tx_enable_csum() argument
1684 i40e_tx_map(struct i40e_ring *tx_ring, struct sk_buff *skb, struct i40e_tx_buffer *first, u32 tx_flags, const u8 hdr_len, u32 td_cmd, u32 td_offset) i40e_tx_map() argument
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c32 static inline __le64 build_ctob(u32 td_cmd, u32 td_offset, unsigned int size, build_ctob() argument
37 ((u64)td_offset << I40E_TXD_QW1_OFFSET_SHIFT) | build_ctob()
2225 * @td_offset: Tx descriptor header offsets to set
2229 u32 *td_cmd, u32 *td_offset, i40e_tx_enable_csum()
2298 /* Now set the td_offset for IP header length */ i40e_tx_enable_csum()
2299 *td_offset = (network_hdr_len >> 2) << i40e_tx_enable_csum()
2304 /* Now set the td_offset for IP header length */ i40e_tx_enable_csum()
2305 *td_offset = (network_hdr_len >> 2) << i40e_tx_enable_csum()
2309 *td_offset |= (skb_network_offset(skb) >> 1) << i40e_tx_enable_csum()
2317 *td_offset |= (this_tcp_hdrlen >> 2) << i40e_tx_enable_csum()
2323 *td_offset |= (sizeof(struct sctphdr) >> 2) << i40e_tx_enable_csum()
2329 *td_offset |= (sizeof(struct udphdr) >> 2) << i40e_tx_enable_csum()
2473 * @td_offset: offset for checksum or crc
2478 const u8 hdr_len, u32 td_cmd, u32 td_offset) i40e_tx_map()
2482 const u8 hdr_len, u32 td_cmd, u32 td_offset) i40e_tx_map()
2529 build_ctob(td_cmd, td_offset, i40e_tx_map()
2548 tx_desc->cmd_type_offset_bsz = build_ctob(td_cmd, td_offset, i40e_tx_map()
2574 build_ctob(td_cmd, td_offset, size, td_tag) | i40e_tx_map()
2579 build_ctob(td_cmd, td_offset, size, td_tag) | i40e_tx_map()
2683 u32 td_offset = 0; i40e_xmit_frame_ring() local
2735 i40e_tx_enable_csum(skb, tx_flags, &td_cmd, &td_offset, i40e_xmit_frame_ring()
2749 td_cmd, td_offset); i40e_xmit_frame_ring()
2228 i40e_tx_enable_csum(struct sk_buff *skb, u32 tx_flags, u32 *td_cmd, u32 *td_offset, struct i40e_ring *tx_ring, u32 *cd_tunneling) i40e_tx_enable_csum() argument
2476 i40e_tx_map(struct i40e_ring *tx_ring, struct sk_buff *skb, struct i40e_tx_buffer *first, u32 tx_flags, const u8 hdr_len, u32 td_cmd, u32 td_offset) i40e_tx_map() argument
H A Di40e_txrx.h307 const u8 hdr_len, u32 td_cmd, u32 td_offset);
H A Di40e_fcoe.c1280 u32 td_offset = 0; i40e_fcoe_tx_map() local
1298 td_offset |= ((((sizeof(struct fcoe_hdr) + 2) >> 2) << i40e_fcoe_tx_map()
1307 td_offset |= (maclen >> 1) << I40E_TX_DESC_LENGTH_MACLEN_SHIFT; i40e_fcoe_tx_map()
1309 i40e_tx_map(tx_ring, skb, first, tx_flags, hdr_len, td_cmd, td_offset); i40e_fcoe_tx_map()

Completed in 492 milliseconds