Home
last modified time | relevance | path

Searched refs:mss (Results 1 – 25 of 39) sorted by relevance

12

/drivers/net/enic/
Dwq_enet_desc.h54 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
60 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
73 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
79 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
Denic_res.h107 unsigned int mss, unsigned int hdr_len, int vlan_tag_insert, in enic_queue_wq_desc_tso() argument
111 mss, hdr_len, vlan_tag_insert, vlan_tag, in enic_queue_wq_desc_tso()
Denic_main.c560 struct vnic_wq *wq, struct sk_buff *skb, unsigned int mss, in enic_queue_wq_skb_tso() argument
587 mss, hdr_len, in enic_queue_wq_skb_tso()
598 unsigned int mss = skb_shinfo(skb)->gso_size; in enic_queue_wq_skb() local
608 if (mss) in enic_queue_wq_skb()
609 enic_queue_wq_skb_tso(enic, wq, skb, mss, in enic_queue_wq_skb()
/drivers/infiniband/hw/nes/
Dnes_cm.h110 __be16 mss; member
230 u32 mss; member
Dnes_context.h49 __le32 mss; member
Dnes_cm.c661 options->as_mss.mss = htons(cm_node->tcp_cntxt.mss); in send_syn()
1073 cm_node->tcp_cntxt.mss = nesvnic->max_frame_size - sizeof(struct iphdr) - in make_cm_node()
1238 tmp = ntohs(all_options->as_mss.mss); in process_options()
1240 cm_node->tcp_cntxt.mss) in process_options()
1241 cm_node->tcp_cntxt.mss = tmp; in process_options()
1259 cm_node->tcp_cntxt.mss = NES_CM_DEFAULT_MSS; in process_options()
2265 nesqp->nesqp_context->mss |= cpu_to_le32(((u32)cm_node->tcp_cntxt.mss) << 16); in nes_cm_init_tsa_conn()
2291 nesqp->nesqp_context->cwnd = cpu_to_le32(2*cm_node->tcp_cntxt.mss); in nes_cm_init_tsa_conn()
2300 cm_node->tcp_cntxt.mss, le32_to_cpu(nesqp->nesqp_context->pd_index_wscale), in nes_cm_init_tsa_conn()
/drivers/net/ixgb/
Dixgb_main.c1171 u16 ipcse, tucse, mss; in ixgb_tso() local
1185 mss = skb_shinfo(skb)->gso_size; in ixgb_tso()
1210 context_desc->mss = cpu_to_le16(mss); in ixgb_tso()
1255 context_desc->mss = 0; in ixgb_tx_csum()
1280 unsigned int mss = skb_shinfo(skb)->gso_size; in ixgb_tx_map() local
1294 if (unlikely(mss && !nr_frags && size == len && size > 8)) in ixgb_tx_map()
1326 if (unlikely(mss && (f == (nr_frags - 1)) in ixgb_tx_map()
Dixgb_hw.h607 __le16 mss; member
/drivers/net/chelsio/
Dcpl5_cmd.h180 u16 mss; member
635 u32 mss; member
Dsge.c1761 #define MK_ETH_TYPE_MSS(type, mss) (((mss) & 0x3FFF) | ((type) << 14)) argument
/drivers/net/e1000/
De1000_main.c2790 u16 ipcse = 0, tucse, mss; in e1000_tso() local
2802 mss = skb_shinfo(skb)->gso_size; in e1000_tso()
2840 context_desc->tcp_seg_setup.fields.mss = cpu_to_le16(mss); in e1000_tso()
2914 unsigned int mss) in e1000_tx_map() argument
2940 if (unlikely(mss && !nr_frags && size == len && size > 8)) in e1000_tx_map()
2985 if (unlikely(mss && f == (nr_frags-1) && size == len && size > 8)) in e1000_tx_map()
3190 unsigned int mss; in e1000_xmit_frame() local
3211 mss = skb_shinfo(skb)->gso_size; in e1000_xmit_frame()
3218 if (mss) { in e1000_xmit_frame()
3220 max_per_txd = min(mss << 2, max_per_txd); in e1000_xmit_frame()
[all …]
/drivers/net/myri10ge/
Dmyri10ge.c2646 int idx, last_idx, avail, frag_cnt, frag_idx, count, mss, max_segments; in myri10ge_xmit() local
2660 mss = 0; in myri10ge_xmit()
2664 mss = skb_shinfo(skb)->gso_size; in myri10ge_xmit()
2685 if (unlikely(!mss && (cksum_offset > 255 || in myri10ge_xmit()
2699 if (mss) { /* TSO */ in myri10ge_xmit()
2721 pseudo_hdr_offset = mss; in myri10ge_xmit()
2791 if (mss) { /* TSO */ in myri10ge_xmit()
2797 chop = (cum_len_next > mss); in myri10ge_xmit()
2798 cum_len_next = cum_len_next % mss; in myri10ge_xmit()
2811 small = (mss <= MXGEFW_SEND_SMALL_SIZE); in myri10ge_xmit()
[all …]
/drivers/net/
D8139cp.c750 int mss = 0; in cp_start_xmit() local
771 mss = skb_shinfo(skb)->gso_size; in cp_start_xmit()
786 if (mss) in cp_start_xmit()
787 flags |= LargeSend | ((mss & MSSMask) << MSSShift); in cp_start_xmit()
835 if (mss) in cp_start_xmit()
837 ((mss & MSSMask) << MSSShift); in cp_start_xmit()
Dtehuti.h339 u16 mss; member
Dtg3.c4797 u32 base_flags, u32 mss) in tigon3_dma_hwbug_workaround() argument
4834 base_flags, 1 | (mss << 1)); in tigon3_dma_hwbug_workaround()
4863 u32 mss = (mss_and_is_end >> 1); in tg3_set_txd() local
4872 vlan_tag |= (mss << TXD_MSS_SHIFT); in tg3_set_txd()
4886 u32 len, entry, base_flags, mss; in tg3_start_xmit() local
4910 mss = 0; in tg3_start_xmit()
4911 if ((mss = skb_shinfo(skb)->gso_size) != 0) { in tg3_start_xmit()
4921 mss |= (skb_headlen(skb) - ETH_HLEN) << 9; in tg3_start_xmit()
4929 iph->tot_len = htons(mss + ip_tcp_len + tcp_opt_len); in tg3_start_xmit()
4930 mss |= (ip_tcp_len + tcp_opt_len) << 9; in tg3_start_xmit()
[all …]
Dsky2.c1552 u16 mss; in sky2_xmit_frame() local
1573 mss = skb_shinfo(skb)->gso_size; in sky2_xmit_frame()
1574 if (mss != 0) { in sky2_xmit_frame()
1577 mss += ETH_HLEN + ip_hdrlen(skb) + tcp_hdrlen(skb); in sky2_xmit_frame()
1579 if (mss != sky2->tx_last_mss) { in sky2_xmit_frame()
1581 le->addr = cpu_to_le32(mss); in sky2_xmit_frame()
1587 sky2->tx_last_mss = mss; in sky2_xmit_frame()
1638 le->opcode = mss ? (OP_LARGESEND | HW_OWNER) : (OP_PACKET | HW_OWNER); in sky2_xmit_frame()
Djme.c1766 jme_tx_tso(struct sk_buff *skb, __le16 *mss, u8 *flags) in jme_tx_tso() argument
1768 *mss = cpu_to_le16(skb_shinfo(skb)->gso_size << TXDESC_MSS_SHIFT); in jme_tx_tso()
1769 if (*mss) { in jme_tx_tso()
1864 if (jme_tx_tso(skb, &txdesc->desc1.mss, &flags)) in jme_fill_first_tx_desc()
Djme.h192 __le16 mss; member
/drivers/net/e1000e/
Dnetdev.c3704 u16 ipcse = 0, tucse, mss; in e1000_tso() local
3716 mss = skb_shinfo(skb)->gso_size; in e1000_tso()
3754 context_desc->tcp_seg_setup.fields.mss = cpu_to_le16(mss); in e1000_tso()
3831 unsigned int mss) in e1000_tx_map() argument
3847 if (mss && !nr_frags && size == len && size > 8) in e1000_tx_map()
3885 if (mss && f == (nr_frags-1) && size == len && size > 8) in e1000_tx_map()
4074 unsigned int mss; in e1000_xmit_frame() local
4089 mss = skb_shinfo(skb)->gso_size; in e1000_xmit_frame()
4098 if (mss) { in e1000_xmit_frame()
4100 max_per_txd = min(mss << 2, max_per_txd); in e1000_xmit_frame()
[all …]
Dhw.h573 __le16 mss; /* Maximum segment size */ member
/drivers/net/ehea/
Dehea_qmr.h114 u16 mss; member
/drivers/net/igb/
De1000_hw.h259 __le16 mss; /* Maximum segment size */ member
/drivers/scsi/qla4xxx/
Dql4_fw.h461 uint16_t mss; /* 80-81 */ member
/drivers/s390/net/
Dqeth_core.h310 __u16 mss; member
Dqeth_core_offl.c634 hdr->ext.mss = skb_shinfo(skb)->gso_size; in qeth_tso_fill_header()

12