The bwfm(4) TX ring expects the ethernet header as part of the TX info
authorpatrick <patrick@openbsd.org>
Mon, 8 Jan 2018 17:53:07 +0000 (17:53 +0000)
committerpatrick <patrick@openbsd.org>
Mon, 8 Jan 2018 17:53:07 +0000 (17:53 +0000)
commit4ff787bc57a385c0c3d2f5185c81cd2d5cbcbd14
tree64b5bd4dbf5b69eb825735fd712d8c042f7f7d10
parentbbd71b0baa98a511d73c15fbbb68f63124a9960f
The bwfm(4) TX ring expects the ethernet header as part of the TX info
struct.  The data length is the length of the frame without the header.
In the previous version m_adj(9) is used, but since that was changed we
need to decrease the length ourselves.
sys/dev/pci/if_bwfm_pci.c