Searched refs:context_desc (Results 1 - 11 of 11) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
H A Dixgb_main.c1220 struct ixgb_context_desc *context_desc; ixgb_tso() local
1250 context_desc = IXGB_CONTEXT_DESC(adapter->tx_ring, i); ixgb_tso()
1254 context_desc->ipcss = ipcss; ixgb_tso()
1255 context_desc->ipcso = ipcso; ixgb_tso()
1256 context_desc->ipcse = cpu_to_le16(ipcse); ixgb_tso()
1257 context_desc->tucss = tucss; ixgb_tso()
1258 context_desc->tucso = tucso; ixgb_tso()
1259 context_desc->tucse = cpu_to_le16(tucse); ixgb_tso()
1260 context_desc->mss = cpu_to_le16(mss); ixgb_tso()
1261 context_desc->hdr_len = hdr_len; ixgb_tso()
1262 context_desc->status = 0; ixgb_tso()
1263 context_desc->cmd_type_len = cpu_to_le32( ixgb_tso()
1284 struct ixgb_context_desc *context_desc; ixgb_tx_csum() local
1294 context_desc = IXGB_CONTEXT_DESC(adapter->tx_ring, i); ixgb_tx_csum()
1298 context_desc->tucss = css; ixgb_tx_csum()
1299 context_desc->tucso = cso; ixgb_tx_csum()
1300 context_desc->tucse = 0; ixgb_tx_csum()
1302 *(u32 *)&(context_desc->ipcss) = 0; ixgb_tx_csum()
1303 context_desc->status = 0; ixgb_tx_csum()
1304 context_desc->hdr_len = 0; ixgb_tx_csum()
1305 context_desc->mss = 0; ixgb_tx_csum()
1306 context_desc->cmd_type_len = ixgb_tx_csum()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_fcoe.c1107 struct i40e_tx_context_desc *context_desc; i40e_fcoe_invalidate_ddp() local
1114 context_desc = I40E_TX_CTXTDESC(tx_ring, i); i40e_fcoe_invalidate_ddp()
1119 context_desc->tunneling_params = cpu_to_le32(0); i40e_fcoe_invalidate_ddp()
1120 context_desc->l2tag2 = cpu_to_le16(0); i40e_fcoe_invalidate_ddp()
1121 context_desc->rsvd = cpu_to_le16(0); i40e_fcoe_invalidate_ddp()
1122 context_desc->type_cmd_tso_mss = cpu_to_le64( i40e_fcoe_invalidate_ddp()
1208 struct i40e_tx_context_desc *context_desc; i40e_fcoe_tso() local
1251 context_desc = I40E_TX_CTXTDESC(tx_ring, tx_ring->next_to_use); i40e_fcoe_tso()
1256 context_desc->tunneling_params = 0; i40e_fcoe_tso()
1257 context_desc->l2tag2 = cpu_to_le16((tx_flags & I40E_TX_FLAGS_VLAN_MASK) i40e_fcoe_tso()
1259 context_desc->type_cmd_tso_mss = cpu_to_le64(cd_type_cmd_tso_mss); i40e_fcoe_tso()
H A Di40e_txrx.c2348 struct i40e_tx_context_desc *context_desc; i40e_create_tx_ctx() local
2356 context_desc = I40E_TX_CTXTDESC(tx_ring, i); i40e_create_tx_ctx()
2362 context_desc->tunneling_params = cpu_to_le32(cd_tunneling); i40e_create_tx_ctx()
2363 context_desc->l2tag2 = cpu_to_le16(cd_l2tag2); i40e_create_tx_ctx()
2364 context_desc->rsvd = cpu_to_le16(0); i40e_create_tx_ctx()
2365 context_desc->type_cmd_tso_mss = cpu_to_le64(cd_type_cmd_tso_mss); i40e_create_tx_ctx()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c1205 struct ixgbe_adv_tx_context_desc *context_desc; ixgbe_tx_ctxtdesc() local
1208 context_desc = IXGBE_TX_CTXTDESC(tx_ring, i); ixgbe_tx_ctxtdesc()
1216 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); ixgbe_tx_ctxtdesc()
1217 context_desc->seqnum_seed = cpu_to_le32(fcoe_sof_eof); ixgbe_tx_ctxtdesc()
1218 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); ixgbe_tx_ctxtdesc()
1219 context_desc->mss_l4len_idx = cpu_to_le32(mss_l4len_idx); ixgbe_tx_ctxtdesc()
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
H A De1000_main.c2709 struct e1000_context_desc *context_desc; e1000_tso() local
2753 context_desc = E1000_CONTEXT_DESC(*tx_ring, i); e1000_tso()
2756 context_desc->lower_setup.ip_fields.ipcss = ipcss; e1000_tso()
2757 context_desc->lower_setup.ip_fields.ipcso = ipcso; e1000_tso()
2758 context_desc->lower_setup.ip_fields.ipcse = cpu_to_le16(ipcse); e1000_tso()
2759 context_desc->upper_setup.tcp_fields.tucss = tucss; e1000_tso()
2760 context_desc->upper_setup.tcp_fields.tucso = tucso; e1000_tso()
2761 context_desc->upper_setup.tcp_fields.tucse = cpu_to_le16(tucse); e1000_tso()
2762 context_desc->tcp_seg_setup.fields.mss = cpu_to_le16(mss); e1000_tso()
2763 context_desc->tcp_seg_setup.fields.hdr_len = hdr_len; e1000_tso()
2764 context_desc->cmd_and_length = cpu_to_le32(cmd_length); e1000_tso()
2781 struct e1000_context_desc *context_desc; e1000_tx_csum() local
2811 context_desc = E1000_CONTEXT_DESC(*tx_ring, i); e1000_tx_csum()
2813 context_desc->lower_setup.ip_config = 0; e1000_tx_csum()
2814 context_desc->upper_setup.tcp_fields.tucss = css; e1000_tx_csum()
2815 context_desc->upper_setup.tcp_fields.tucso = e1000_tx_csum()
2817 context_desc->upper_setup.tcp_fields.tucse = 0; e1000_tx_csum()
2818 context_desc->tcp_seg_setup.data = 0; e1000_tx_csum()
2819 context_desc->cmd_and_length = cpu_to_le32(cmd_len); e1000_tx_csum()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c1915 struct e1000_adv_tx_context_desc *context_desc; igbvf_tso() local
1952 context_desc = IGBVF_TX_CTXTDESC_ADV(*tx_ring, i); igbvf_tso()
1960 context_desc->vlan_macip_lens = cpu_to_le32(info); igbvf_tso()
1969 context_desc->type_tucmd_mlhl = cpu_to_le32(tu_cmd); igbvf_tso()
1975 context_desc->mss_l4len_idx = cpu_to_le32(mss_l4len_idx); igbvf_tso()
1976 context_desc->seqnum_seed = 0; igbvf_tso()
1994 struct e1000_adv_tx_context_desc *context_desc; igbvf_tx_csum() local
2003 context_desc = IGBVF_TX_CTXTDESC_ADV(*tx_ring, i); igbvf_tx_csum()
2013 context_desc->vlan_macip_lens = cpu_to_le32(info); igbvf_tx_csum()
2033 context_desc->type_tucmd_mlhl = cpu_to_le32(tu_cmd); igbvf_tx_csum()
2034 context_desc->seqnum_seed = 0; igbvf_tx_csum()
2035 context_desc->mss_l4len_idx = 0; igbvf_tx_csum()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c5192 struct e1000_context_desc *context_desc; e1000_tso() local
5233 context_desc = E1000_CONTEXT_DESC(*tx_ring, i); e1000_tso()
5236 context_desc->lower_setup.ip_fields.ipcss = ipcss; e1000_tso()
5237 context_desc->lower_setup.ip_fields.ipcso = ipcso; e1000_tso()
5238 context_desc->lower_setup.ip_fields.ipcse = cpu_to_le16(ipcse); e1000_tso()
5239 context_desc->upper_setup.tcp_fields.tucss = tucss; e1000_tso()
5240 context_desc->upper_setup.tcp_fields.tucso = tucso; e1000_tso()
5241 context_desc->upper_setup.tcp_fields.tucse = 0; e1000_tso()
5242 context_desc->tcp_seg_setup.fields.mss = cpu_to_le16(mss); e1000_tso()
5243 context_desc->tcp_seg_setup.fields.hdr_len = hdr_len; e1000_tso()
5244 context_desc->cmd_and_length = cpu_to_le32(cmd_length); e1000_tso()
5261 struct e1000_context_desc *context_desc; e1000_tx_csum() local
5291 context_desc = E1000_CONTEXT_DESC(*tx_ring, i); e1000_tx_csum()
5293 context_desc->lower_setup.ip_config = 0; e1000_tx_csum()
5294 context_desc->upper_setup.tcp_fields.tucss = css; e1000_tx_csum()
5295 context_desc->upper_setup.tcp_fields.tucso = css + skb->csum_offset; e1000_tx_csum()
5296 context_desc->upper_setup.tcp_fields.tucse = 0; e1000_tx_csum()
5297 context_desc->tcp_seg_setup.data = 0; e1000_tx_csum()
5298 context_desc->cmd_and_length = cpu_to_le32(cmd_len); e1000_tx_csum()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
H A Di40e_txrx.c1598 struct i40e_tx_context_desc *context_desc; i40e_create_tx_ctx() local
1606 context_desc = I40E_TX_CTXTDESC(tx_ring, i); i40e_create_tx_ctx()
1612 context_desc->tunneling_params = cpu_to_le32(cd_tunneling); i40e_create_tx_ctx()
1613 context_desc->l2tag2 = cpu_to_le16(cd_l2tag2); i40e_create_tx_ctx()
1614 context_desc->rsvd = cpu_to_le16(0); i40e_create_tx_ctx()
1615 context_desc->type_cmd_tso_mss = cpu_to_le64(cd_type_cmd_tso_mss); i40e_create_tx_ctx()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c1298 unsigned int context_desc; xgbe_packet_info() local
1304 context_desc = 0; xgbe_packet_info()
1313 context_desc = 1; xgbe_packet_info()
1332 if (!context_desc) { xgbe_packet_info()
1333 context_desc = 1; xgbe_packet_info()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c3249 struct ixgbe_adv_tx_context_desc *context_desc; ixgbevf_tx_ctxtdesc() local
3252 context_desc = IXGBEVF_TX_CTXTDESC(tx_ring, i); ixgbevf_tx_ctxtdesc()
3260 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); ixgbevf_tx_ctxtdesc()
3261 context_desc->seqnum_seed = 0; ixgbevf_tx_ctxtdesc()
3262 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); ixgbevf_tx_ctxtdesc()
3263 context_desc->mss_l4len_idx = cpu_to_le32(mss_l4len_idx); ixgbevf_tx_ctxtdesc()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb_main.c4626 struct e1000_adv_tx_context_desc *context_desc; igb_tx_ctxtdesc() local
4629 context_desc = IGB_TX_CTXTDESC(tx_ring, i); igb_tx_ctxtdesc()
4641 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); igb_tx_ctxtdesc()
4642 context_desc->seqnum_seed = 0; igb_tx_ctxtdesc()
4643 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); igb_tx_ctxtdesc()
4644 context_desc->mss_l4len_idx = cpu_to_le32(mss_l4len_idx); igb_tx_ctxtdesc()

Completed in 509 milliseconds