Home
last modified time | relevance | path

Searched refs:l2_id (Results 1 – 5 of 5) sorted by relevance

/freebsd-10-stable/sys/dev/sfxge/
Dsfxge_rx.c127 #define SFXGE_LRO_CONN_IS_VLAN_ENCAP(c) ((c)->l2_id & SFXGE_LRO_L2_ID_VLAN)
128 #define SFXGE_LRO_CONN_IS_TCPIPV4(c) (!((c)->l2_id & SFXGE_LRO_L2_ID_IPV6))
627 uint16_t l2_id, void *nh, struct tcphdr *th) in sfxge_lro_new_conn() argument
651 c->l2_id = l2_id; in sfxge_lro_new_conn()
675 uint16_t l2_id; in sfxge_lro() local
690 l2_id = EVL_VLANOFTAG(ntohs(veh->evl_tag)) | in sfxge_lro()
695 l2_id = 0; in sfxge_lro()
718 l2_id |= SFXGE_LRO_L2_ID_IPV6; in sfxge_lro()
727 if ((c->l2_id - l2_id) | (c->conn_hash - conn_hash)) in sfxge_lro()
767 sfxge_lro_new_conn(&rxq->lro, conn_hash, l2_id, nh, th); in sfxge_lro()
Dsfxge_rx.h82 uint16_t l2_id; member
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
Dmain.c999 memcpy(spec_l2->eth.dst_mac, flow_spec->l2_id.eth.mac, ETH_ALEN); in flow_spec_to_net_rule()
1001 spec_l2->eth.ether_type = flow_spec->l2_id.eth.ethertype; in flow_spec_to_net_rule()
1002 if (flow_spec->l2_id.eth.vlan_present) { in flow_spec_to_net_rule()
1003 spec_l2->eth.vlan_id = flow_spec->l2_id.eth.vlan; in flow_spec_to_net_rule()
1009 if(flow_spec->l2_id.ib_uc.qpn) { in flow_spec_to_net_rule()
1010 spec_l2->ib.l3_qpn = cpu_to_be32(flow_spec->l2_id.ib_uc.qpn); in flow_spec_to_net_rule()
1017 memcpy(spec_l2->ib.dst_gid, flow_spec->l2_id.ib_mc.mgid, 16); in flow_spec_to_net_rule()
1025 if (flow_spec->l2_id.eth.ethertype == cpu_to_be16(ETH_P_IP) || in flow_spec_to_net_rule()
2205 .l2_id.ib_uc.qpn = mqp->ibqp.qp_num, in mlx4_ib_steer_qp_reg()
/freebsd-10-stable/sys/ofed/include/rdma/
Dib_user_verbs.h706 } l2_id; member
Dib_verbs.h1142 } l2_id; member