ix_txrx.c | 840 int ehdrlen, ip_hlen = 0; local in function:ixgbe_tx_ctx_setup 887 ehdrlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; 890 ehdrlen = ETHER_HDR_LEN; 894 vlan_macip_lens |= ehdrlen << IXGBE_ADVTXD_MACLEN_SHIFT; 906 if (mp->m_len == ehdrlen && mp->m_next) 909 l3d = mtod(mp, char *) + ehdrlen; 1004 int ctxd, ehdrlen, ip_hlen, tcp_hlen; local in function:ixgbe_tso_setup 1016 ehdrlen = ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN; 1019 ehdrlen = ETHER_HDR_LEN; 1026 ip = (struct ip *)(mp->m_data + ehdrlen); [all...] |