/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_ah.c | 47 memcpy(ah->av.rmac, ah_attr->dmac, sizeof(ah_attr->dmac)); 78 u32 min_resp_len = offsetof(typeof(resp), dmac) + 79 sizeof(resp.dmac); 90 memcpy(resp.dmac, ah_attr->dmac, ETH_ALEN);
|
/freebsd-11-stable/sys/dev/vnic/ |
H A D | thunder_bgx_var.h | 37 int dmac; member in struct:lmac
|
H A D | thunder_bgx.c | 484 while (bgx->lmac[lmac].dmac > 0) { 485 offset = ((bgx->lmac[lmac].dmac - 1) * sizeof(uint64_t)) + 488 bgx->lmac[lmac].dmac--; 493 bgx_add_dmac_addr(uint64_t dmac, int node, int bgx_idx, int lmac) argument 511 dmac = dmac | (1UL << 48) | ((uint64_t)lmac << 49); /* Enable DMAC */ 512 if (bgx->lmac[lmac].dmac == MAX_DMAC_PER_LMAC) { 519 if (bgx->lmac[lmac].dmac == MAX_DMAC_PER_LMAC_TNS_BYPASS_MODE) 520 bgx->lmac[lmac].dmac = 1; 522 offset = (bgx->lmac[lmac].dmac * sizeo [all...] |
H A D | thunder_bgx.h | 207 void bgx_add_dmac_addr(uint64_t dmac, int node, int bgx_idx, int lmac);
|
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_l2t.c | 110 find_or_alloc_l2e(struct l2t_data *d, uint16_t vlan, uint8_t port, uint8_t *dmac) argument 120 memcmp(e->dmac, dmac, ETHER_ADDR_LEN) == 0 && 177 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); 210 memcpy(e->dmac, eth_addr, ETHER_ADDR_LEN); 356 e->idx, ip, e->dmac[0], e->dmac[1], e->dmac[2], 357 e->dmac[3], e->dmac[ [all...] |
H A D | t4_l2t.h | 77 uint8_t dmac[ETHER_ADDR_LEN]; /* next hop's MAC address */ member in struct:l2t_entry
|
H A D | t4_ioctl.h | 227 uint8_t dmac[ETHER_ADDR_LEN]; /* new destination MAC address */ member in struct:t4_filter_specification
|
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | a10_hdmiaudio.c | 87 device_t dmac; member in struct:a10hdmiaudio_chinfo 151 error = SUNXI_DMA_TRANSFER(ch->dmac, ch->dmachan, 174 SUNXI_DMA_SET_CONFIG(ch->dmac, ch->dmachan, &conf); 211 SUNXI_DMA_HALT(ch->dmac, ch->dmachan); 226 ch->dmac = devclass_get_device(devclass_find("a10dmac"), 0); 227 if (ch->dmac == NULL) { 231 ch->dmachan = SUNXI_DMA_ALLOC(ch->dmac, true, a10hdmiaudio_dmaintr, ch); 265 SUNXI_DMA_FREE(ch->dmac, ch->dmachan);
|
H A D | a10_codec.c | 158 device_t dmac; member in struct:a10codec_chinfo 346 error = SUNXI_DMA_TRANSFER(ch->dmac, ch->dmachan, src, dst, 375 SUNXI_DMA_SET_CONFIG(ch->dmac, ch->dmachan, &conf); 503 SUNXI_DMA_HALT(ch->dmac, ch->dmachan); 546 ch->dmac = devclass_get_device(devclass_find("a10dmac"), 0); 547 if (ch->dmac == NULL) { 551 ch->dmachan = SUNXI_DMA_ALLOC(ch->dmac, false, a10codec_dmaintr, ch); 585 SUNXI_DMA_FREE(ch->dmac, ch->dmachan);
|
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_l2t.h | 70 uint8_t dmac[ETHER_ADDR_LEN]; /* nexthop's MAC address */ member in struct:l2t_entry
|
H A D | cxgb_l2t.c | 101 memcpy(req->dst_mac, e->dmac, sizeof(req->dst_mac)); 200 memcmp(e->dmac, lladdr, ETHER_ADDR_LEN)) { 202 /* unresolved -> resolved; or dmac changed */ 204 memcpy(e->dmac, lladdr, ETHER_ADDR_LEN); 218 uint8_t dmac[ETHER_HDR_LEN]; local 226 rc = toe_l2_resolve(tod, e->ifp, SA(&sin), dmac, &vtag); 231 update_entry(sc, e, rc == 0 ? dmac : NULL, vtag);
|
/freebsd-11-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tom_l2t.c | 216 memcmp(e->dmac, lladdr, ETHER_ADDR_LEN)) { 218 /* unresolved -> resolved; or dmac changed */ 220 memcpy(e->dmac, lladdr, ETHER_ADDR_LEN); 236 uint8_t dmac[ETHER_HDR_LEN]; local 252 rc = toe_l2_resolve(tod, e->ifp, sa, dmac, &vtag); 257 update_entry(sc, e, rc == 0 ? dmac : NULL, vtag);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_marshall.c | 148 memset(dst->dmac, 0, sizeof(dst->dmac));
|
/freebsd-11-stable/contrib/ofed/libmlx5/ |
H A D | mlx5-abi.h | 108 __u8 dmac[ETHERNET_LL_SIZE]; member in struct:mlx5_create_ah_resp
|
/freebsd-11-stable/sys/ofed/include/uapi/rdma/ |
H A D | mlx5-abi.h | 246 __u8 dmac[ETH_ALEN]; member in struct:mlx5_ib_create_ah_resp
|
/freebsd-11-stable/usr.sbin/kbdcontrol/ |
H A D | lex.l | 121 dmac|DMAC { number = 4; return TACC; }
|
/freebsd-11-stable/sys/arm/lpc/ |
H A D | lpc_dmac.c | 97 if (!ofw_bus_is_compatible(dev, "lpc,dmac")) 287 "dmac", 292 DRIVER_MODULE(dmac, simplebus, lpc_dmac_driver, lpc_dmac_devclass, 0, 0);
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_ah.c | 91 memcpy(ah->av.eth.mac, ah_attr->dmac, ETH_ALEN);
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_flow_table.c | 1132 u8 *dmac = MLX5_ADDR_OF(create_flow_group_in, in, local 1190 memset(dmac, 0xff, ETH_ALEN); 1202 memset(dmac, 0xff, ETH_ALEN); 1213 memset(dmac, 0xff, ETH_ALEN); 1226 dmac[0] = 0x01; 1238 dmac[0] = 0x01; 1249 dmac[0] = 0x01;
|
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_sa.h | 173 u8 dmac[ETH_ALEN]; member in struct:ib_sa_path_rec
|
/freebsd-11-stable/sys/dev/mlx4/ |
H A D | qp.h | 162 u8 dmac[ETH_ALEN]; member in struct:mlx4_qp_path
|
/freebsd-11-stable/usr.sbin/cxgbetool/ |
H A D | cxgbetool.c | 879 ", dmac=%02x:%02x:%02x:%02x:%02x:%02x " 881 t->fs.dmac[0], t->fs.dmac[1], 882 t->fs.dmac[2], t->fs.dmac[3], 883 t->fs.dmac[4], t->fs.dmac[5], 1202 } else if (!strcmp(argv[start_arg], "dmac")) { 1207 warnx("invalid dmac address \"%s\"", 1211 memcpy(t.fs.dmac, dadd [all...] |
/freebsd-11-stable/sys/dev/e1000/ |
H A D | if_igb.c | 545 OID_AUTO, "dmac", CTLTYPE_INT|CTLFLAG_RW, 2928 u32 dmac, reg = ~E1000_DMACR_DMAC_EN; local 2936 if (adapter->dmac == 0) { /* Disabling it */ 2955 dmac = pba - adapter->max_frame_size / 512; 2956 if (dmac < pba - 10) 2957 dmac = pba - 10; 2960 reg |= ((dmac << E1000_DMACR_DMACTHR_SHIFT) 2976 reg |= ((adapter->dmac * 5) >> 6); 2978 reg |= (adapter->dmac >> 5); 2980 reg |= (adapter->dmac >> [all...] |
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_vale.c | 746 uint64_t smac, dmac; local 760 dmac = le64toh(*(uint64_t *)(buf)) & 0xffffffffffff; 781 if (ht[dh].mac == dmac) { /* found dst */
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_eswitch.c | 276 u8 *dmac; local 306 dmac = MLX5_ADDR_OF(fte_match_param, match_criteria, outer_headers.dmac_47_16); 309 eth_broadcast_addr(dmac);
|