Lines Matching refs:PKT_BUF_SZ
125 #define PKT_BUF_SZ 1536
256 /* Create a static buffer of size PKT_BUF_SZ for each TX Descriptor.
258 static unsigned char txb[PKT_BUF_SZ * TX_RING_SIZE];
263 /* Create a static buffer of size PKT_BUF_SZ for each RX Descriptor.
265 static unsigned char rxb[RX_RING_SIZE * PKT_BUF_SZ];
364 rx_ring[i].addr = virt_to_le32desc(&rxb[i * PKT_BUF_SZ]);
365 rx_ring[i].length = cpu_to_le32(PKT_BUF_SZ | LastFrag);
382 tx_ring[1].length = cpu_to_le32(LastFrag | PKT_BUF_SZ);
499 (sdc->cur_rx * PKT_BUF_SZ), nic->packetlen);
503 rx_ring[entry].length = cpu_to_le32(PKT_BUF_SZ | LastFrag);