Home
last modified time | relevance | path

Searched refs:context_desc (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c1286 struct ixgbe_adv_tx_context_desc *context_desc; in ixgbe_tx_ctxtdesc() local
1289 context_desc = IXGBE_TX_CTXTDESC(tx_ring, i); in ixgbe_tx_ctxtdesc()
1297 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in ixgbe_tx_ctxtdesc()
1298 context_desc->fceof_saidx = cpu_to_le32(fceof_saidx); in ixgbe_tx_ctxtdesc()
1299 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in ixgbe_tx_ctxtdesc()
1300 context_desc->mss_l4len_idx = cpu_to_le32(mss_l4len_idx); in ixgbe_tx_ctxtdesc()
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000_main.c2697 struct e1000_context_desc *context_desc; in e1000_tso() local
2737 context_desc = E1000_CONTEXT_DESC(*tx_ring, i); in e1000_tso()
2740 context_desc->lower_setup.ip_fields.ipcss = ipcss; in e1000_tso()
2741 context_desc->lower_setup.ip_fields.ipcso = ipcso; in e1000_tso()
2742 context_desc->lower_setup.ip_fields.ipcse = cpu_to_le16(ipcse); in e1000_tso()
2743 context_desc->upper_setup.tcp_fields.tucss = tucss; in e1000_tso()
2744 context_desc->upper_setup.tcp_fields.tucso = tucso; in e1000_tso()
2745 context_desc->upper_setup.tcp_fields.tucse = cpu_to_le16(tucse); in e1000_tso()
2746 context_desc->tcp_seg_setup.fields.mss = cpu_to_le16(mss); in e1000_tso()
2747 context_desc->tcp_seg_setup.fields.hdr_len = hdr_len; in e1000_tso()
[all …]
/linux-6.6.21/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c120 unsigned int context_desc; in xlgmac_prep_tx_pkt() local
126 context_desc = 0; in xlgmac_prep_tx_pkt()
135 context_desc = 1; in xlgmac_prep_tx_pkt()
163 if (!context_desc) { in xlgmac_prep_tx_pkt()
164 context_desc = 1; in xlgmac_prep_tx_pkt()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c2141 struct iavf_tx_context_desc *context_desc; in iavf_create_tx_ctx() local
2149 context_desc = IAVF_TX_CTXTDESC(tx_ring, i); in iavf_create_tx_ctx()
2155 context_desc->tunneling_params = cpu_to_le32(cd_tunneling); in iavf_create_tx_ctx()
2156 context_desc->l2tag2 = cpu_to_le16(cd_l2tag2); in iavf_create_tx_ctx()
2157 context_desc->rsvd = cpu_to_le16(0); in iavf_create_tx_ctx()
2158 context_desc->type_cmd_tso_mss = cpu_to_le64(cd_type_cmd_tso_mss); in iavf_create_tx_ctx()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1004 struct ixgbe_adv_tx_context_desc *context_desc; in ixgbevf_xmit_xdp_ring() local
1008 context_desc = IXGBEVF_TX_CTXTDESC(ring, 0); in ixgbevf_xmit_xdp_ring()
1009 context_desc->vlan_macip_lens = in ixgbevf_xmit_xdp_ring()
1011 context_desc->fceof_saidx = 0; in ixgbevf_xmit_xdp_ring()
1012 context_desc->type_tucmd_mlhl = in ixgbevf_xmit_xdp_ring()
1015 context_desc->mss_l4len_idx = 0; in ixgbevf_xmit_xdp_ring()
3754 struct ixgbe_adv_tx_context_desc *context_desc; in ixgbevf_tx_ctxtdesc() local
3757 context_desc = IXGBEVF_TX_CTXTDESC(tx_ring, i); in ixgbevf_tx_ctxtdesc()
3765 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in ixgbevf_tx_ctxtdesc()
3766 context_desc->fceof_saidx = cpu_to_le32(fceof_saidx); in ixgbevf_tx_ctxtdesc()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dnetdev.c5433 struct e1000_context_desc *context_desc; in e1000_tso() local
5471 context_desc = E1000_CONTEXT_DESC(*tx_ring, i); in e1000_tso()
5474 context_desc->lower_setup.ip_fields.ipcss = ipcss; in e1000_tso()
5475 context_desc->lower_setup.ip_fields.ipcso = ipcso; in e1000_tso()
5476 context_desc->lower_setup.ip_fields.ipcse = cpu_to_le16(ipcse); in e1000_tso()
5477 context_desc->upper_setup.tcp_fields.tucss = tucss; in e1000_tso()
5478 context_desc->upper_setup.tcp_fields.tucso = tucso; in e1000_tso()
5479 context_desc->upper_setup.tcp_fields.tucse = 0; in e1000_tso()
5480 context_desc->tcp_seg_setup.fields.mss = cpu_to_le16(mss); in e1000_tso()
5481 context_desc->tcp_seg_setup.fields.hdr_len = hdr_len; in e1000_tso()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/igbvf/
Dnetdev.c1982 struct e1000_adv_tx_context_desc *context_desc; in igbvf_tx_ctxtdesc() local
1986 context_desc = IGBVF_TX_CTXTDESC_ADV(*tx_ring, i); in igbvf_tx_ctxtdesc()
1995 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igbvf_tx_ctxtdesc()
1996 context_desc->seqnum_seed = 0; in igbvf_tx_ctxtdesc()
1997 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in igbvf_tx_ctxtdesc()
1998 context_desc->mss_l4len_idx = cpu_to_le32(mss_l4len_idx); in igbvf_tx_ctxtdesc()
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c1067 struct wx_tx_context_desc *context_desc; in wx_tx_ctxtdesc() local
1070 context_desc = WX_TX_CTXTDESC(tx_ring, i); in wx_tx_ctxtdesc()
1076 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in wx_tx_ctxtdesc()
1077 context_desc->seqnum_seed = cpu_to_le32(fcoe_sof_eof); in wx_tx_ctxtdesc()
1078 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in wx_tx_ctxtdesc()
1079 context_desc->mss_l4len_idx = cpu_to_le32(mss_l4len_idx); in wx_tx_ctxtdesc()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_fwif.h198 u32 context_desc; member
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1766 unsigned int context_desc; in xgbe_packet_info() local
1772 context_desc = 0; in xgbe_packet_info()
1781 context_desc = 1; in xgbe_packet_info()
1804 if (!context_desc) { in xgbe_packet_info()
1805 context_desc = 1; in xgbe_packet_info()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3445 struct i40e_tx_context_desc *context_desc; in i40e_create_tx_ctx() local
3453 context_desc = I40E_TX_CTXTDESC(tx_ring, i); in i40e_create_tx_ctx()
3459 context_desc->tunneling_params = cpu_to_le32(cd_tunneling); in i40e_create_tx_ctx()
3460 context_desc->l2tag2 = cpu_to_le16(cd_l2tag2); in i40e_create_tx_ctx()
3461 context_desc->rsvd = cpu_to_le16(0); in i40e_create_tx_ctx()
3462 context_desc->type_cmd_tso_mss = cpu_to_le64(cd_type_cmd_tso_mss); in i40e_create_tx_ctx()
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_main.c1153 struct igc_adv_tx_context_desc *context_desc; in igc_tx_ctxtdesc() local
1156 context_desc = IGC_TX_CTXTDESC(tx_ring, i); in igc_tx_ctxtdesc()
1171 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igc_tx_ctxtdesc()
1172 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in igc_tx_ctxtdesc()
1173 context_desc->mss_l4len_idx = cpu_to_le32(mss_l4len_idx); in igc_tx_ctxtdesc()
1174 context_desc->launch_time = launch_time; in igc_tx_ctxtdesc()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_main.c5949 struct e1000_adv_tx_context_desc *context_desc; in igb_tx_ctxtdesc() local
5953 context_desc = IGB_TX_CTXTDESC(tx_ring, i); in igb_tx_ctxtdesc()
5965 context_desc->vlan_macip_lens = cpu_to_le32(vlan_macip_lens); in igb_tx_ctxtdesc()
5966 context_desc->type_tucmd_mlhl = cpu_to_le32(type_tucmd); in igb_tx_ctxtdesc()
5967 context_desc->mss_l4len_idx = cpu_to_le32(mss_l4len_idx); in igb_tx_ctxtdesc()
5975 context_desc->seqnum_seed = cpu_to_le32(ts.tv_nsec / 32); in igb_tx_ctxtdesc()
5977 context_desc->seqnum_seed = 0; in igb_tx_ctxtdesc()