luigirizzo / netmap

Automatically exported from code.google.com/p/netmap
BSD 2-Clause "Simplified" License
1.86k stars 537 forks source link

PNMB function: get the memory address is bit64 address, but the NIC desc is a bit32 buffer address #918

Open wangxuhai7 opened 1 year ago

wangxuhai7 commented 1 year ago

define fec32 le32

define fec16 le16

struct bufdesc { fec16 cbd_datlen; / Data length / __fec16 cbd_sc; / Control and status info / fec32 cbd_bufaddr; / Buffer address / };

Is there a method for the freescale ethernet FEC(a bit32 buffer address)?