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 | 1525 iph = (struct iphdr *)(addr + buf->maclen); in irdma_gen1_ieq_update_tcpip_info() 1526 tcph = (struct tcphdr *)(addr + buf->maclen + iphlen); in irdma_gen1_ieq_update_tcpip_info() 1575 buf->maclen = (info->vlan_valid) ? 18 : 14; in irdma_gen1_puda_get_tcpip_info() 1578 buf->iph = mem + buf->maclen; in irdma_gen1_puda_get_tcpip_info() 1590 buf->totallen = pkt_len + buf->maclen; in irdma_gen1_puda_get_tcpip_info() 1602 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 | 1228 int maclen, datalen; in vnet_handle_offloads() local 1267 maclen = skb_network_header(skb) - skb_mac_header(skb); in vnet_handle_offloads() 1268 skb_pull(skb, maclen); in vnet_handle_offloads() 1282 skb_push(skb, maclen); in vnet_handle_offloads() 1297 skb_push(curr, maclen); in vnet_handle_offloads() 1300 maclen); in vnet_handle_offloads()
|
/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 1206 #define GEN_SEC_AEAD_SETKEY_FUNC(name, aalg, calg, maclen, cmode) \ argument 1210 return sec_aead_setkey(tfm, key, keylen, aalg, calg, maclen, cmode);\
|