• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/axgbe/

Lines Matching refs:packet

742 	/* Don't consider an S-TAG (0x88A8) packet as a VLAN packet */
1359 struct xgbe_packet_data *packet = &ring->packet_data;
1375 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1377 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1383 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES, CONTEXT, 0);
1387 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1392 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1399 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1404 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1407 packet->rss_hash = le32_to_cpu(rdesc->desc1);
1412 packet->rss_hash_type = M_HASHTYPE_RSS_TCP_IPV4;
1415 packet->rss_hash_type = M_HASHTYPE_RSS_UDP_IPV4;
1418 packet->rss_hash_type = M_HASHTYPE_RSS_TCP_IPV6;
1421 packet->rss_hash_type = M_HASHTYPE_RSS_UDP_IPV6;
1424 packet->rss_hash_type = M_HASHTYPE_OPAQUE;
1429 /* Not all the data has been transferred for this packet */
1431 /* This is not the last of the data for this packet */
1432 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1437 /* This is the last of the data for this packet */
1438 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1441 /* Get the packet length */
1446 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1457 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1459 packet->vlan_ctag = XGMAC_GET_BITS_LE(rdesc->desc0,
1461 axgbe_printf(1, "vlan-ctag=%#06x\n", packet->vlan_ctag);
1464 unsigned int tnp = XGMAC_GET_BITS(packet->attributes,
1470 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1472 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1478 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1480 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
1495 XGMAC_SET_BITS(packet->errors, RX_PACKET_ERRORS,