Searched refs:maclen (Results 1 – 7 of 7) sorted by relevance
/drivers/infiniband/hw/irdma/ |
D | puda.h | 50 u8 maclen; member 68 u8 maclen; /* mac length in bytes */ member
|
D | puda.c | 467 hdr[0] = FIELD_PREP(IRDMA_UDA_QPSQ_MACLEN, info->maclen >> 1) | in irdma_puda_send() 540 info.maclen = buf->maclen; in irdma_puda_send_buf() 1225 txbuf->maclen = buf->maclen; in irdma_ieq_setup_tx_buf()
|
D | utils.c | 1500 iph = (struct iphdr *)(addr + buf->maclen); in irdma_gen1_ieq_update_tcpip_info() 1501 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in irdma_gen1_ieq_update_tcpip_info() 1550 buf->maclen = (info->vlan_valid) ? 18 : 14; in irdma_gen1_puda_get_tcpip_info() 1553 buf->iph = mem + buf->maclen; in irdma_gen1_puda_get_tcpip_info() 1565 buf->totallen = pkt_len + buf->maclen; in irdma_gen1_puda_get_tcpip_info() 1577 buf->hdrlen = buf->maclen + iphlen + buf->tcphlen; in irdma_gen1_puda_get_tcpip_info()
|
D | cm.c | 459 sqbuf->maclen = eth_hlen; in irdma_form_uda_cm_frame()
|
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 997 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local 1010 maclen = skb_mac_header_len(skb); in chcr_ktls_write_tcp_options() 1054 ip = (struct iphdr *)(buf + maclen); in chcr_ktls_write_tcp_options() 1055 ip->tot_len = htons(pktlen - maclen); in chcr_ktls_write_tcp_options() 1058 ip6 = (struct ipv6hdr *)(buf + maclen); in chcr_ktls_write_tcp_options() 1059 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options() 1063 cntrl1 |= T6_TXPKT_ETHHDR_LEN_V(maclen - ETH_HLEN) | in chcr_ktls_write_tcp_options() 1074 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options() 1573 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local 1614 maclen = skb_mac_header_len(skb); in chcr_ktls_tunnel_pkt() [all …]
|
/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 1227 int maclen, datalen; in vnet_handle_offloads() local 1266 maclen = skb_network_header(skb) - skb_mac_header(skb); in vnet_handle_offloads() 1267 skb_pull(skb, maclen); in vnet_handle_offloads() 1281 skb_push(skb, maclen); in vnet_handle_offloads() 1296 skb_push(curr, maclen); in vnet_handle_offloads() 1299 maclen); in vnet_handle_offloads()
|
/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 1205 #define GEN_SEC_AEAD_SETKEY_FUNC(name, aalg, calg, maclen, cmode) \ argument 1209 return sec_aead_setkey(tfm, key, keylen, aalg, calg, maclen, cmode);\
|