Lines Matching refs:tag
98 * ethernet header + VLAN tag) frame but controller can handle up
104 * 3. VLAN hardware tag stripping is always enabled in the firmware
105 * even if it's explicitly told to not strip the tag. It's
106 * possible to add the tag back in Rx handler if VLAN hardware
107 * tag is not active but I didn't try that as it would be
954 * Typhoon has a firmware bug that VLAN tag is always
955 * stripped out even if it is told to not remove the tag.
1217 txp_dma_alloc(struct txp_softc *sc, char *type, bus_dma_tag_t *tag,
1224 /* Create DMA block tag. */
1236 tag);
1239 "could not create DMA tag for %s.\n", type);
1245 error = bus_dmamem_alloc(*tag, buf, BUS_DMA_WAITOK | BUS_DMA_ZERO |
1254 error = bus_dmamap_load(*tag, *map, *(uint8_t **)buf,
1267 txp_dma_free(struct txp_softc *sc, bus_dma_tag_t *tag, bus_dmamap_t *map,
1271 if (*tag != NULL) {
1273 bus_dmamap_unload(*tag, *map);
1275 bus_dmamem_free(*tag, *(uint8_t **)buf, *map);
1278 bus_dma_tag_destroy(*tag);
1279 *tag = NULL;
1300 * Create parent ring/DMA block tag.
1319 device_printf(sc->sc_dev, "could not create parent DMA tag.\n");
1505 device_printf(sc->sc_dev, "could not create Tx DMA tag.\n");
1509 /* Create tag for Rx buffers. */
1523 device_printf(sc->sc_dev, "could not create Rx DMA tag.\n");
2159 /* Configure VLAN hardware tag insertion. */