chiptx
Parameter struct sk_buff *p0
TODO: add workaround for switch DEVID53115
if package length > ETHER_MAX_LEN + 32
- return false // error case
if package length < GMAC_MIN_FRAMESIZE && corerev == 0
- call _ _skb_trim with GMAC_MIN_FRAMESIZE
- if qos is activated
call etc_up2tc with package priority and write the result into queue
- else
- set queue to 0
- if (txframes[queue] and txrec_thresh ) equal 1
- call dma_txreclaim with dma[queue] and HNDDMA_RANGE_TRANSMITTED
- call dma_txfast with dma[queue], p0 and true
- handle error of last call
- increase txframes[queue] by one
- set package length back to original length
- return true