Remove jumbo buffer #defines that I ended up not needing.
This commit is contained in:
parent
f4659f863c
commit
6110675fd6
@ -998,7 +998,7 @@ re_allocmem(dev, sc)
|
||||
nseg = 32;
|
||||
error = bus_dma_tag_create(sc->rl_parent_tag, ETHER_ALIGN, 0,
|
||||
BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL,
|
||||
NULL, MCLBYTES * nseg, nseg, RL_JLEN, BUS_DMA_ALLOCNOW,
|
||||
NULL, MCLBYTES * nseg, nseg, MCLBYTES, BUS_DMA_ALLOCNOW,
|
||||
NULL, NULL, &sc->rl_ldata.rl_mtag);
|
||||
if (error) {
|
||||
device_printf(dev, "could not allocate dma tag\n");
|
||||
|
@ -619,14 +619,6 @@ struct rl_stats {
|
||||
|
||||
#define RL_JUMBO_FRAMELEN 9018
|
||||
#define RL_JUMBO_MTU (RL_JUMBO_FRAMELEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
|
||||
#define RL_JSLOTS 128
|
||||
|
||||
#define RL_JRAWLEN (RL_JUMBO_FRAMELEN + ETHER_ALIGN + sizeof(u_int64_t))
|
||||
#define RL_JLEN (RL_JRAWLEN + (sizeof(u_int64_t) - \
|
||||
(RL_JRAWLEN % sizeof(u_int64_t))))
|
||||
#define RL_JPAGESZ PAGE_SIZE
|
||||
#define RL_RESID (RL_JPAGESZ - (RL_JLEN * RL_JSLOTS) % RL_JPAGESZ)
|
||||
#define RL_JMEM ((RL_JLEN * RL_JSLOTS) + RL_RESID)
|
||||
|
||||
struct rl_softc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user