This is essentially the same change as was previously made to mlx4en(4).
By stripping the chain of "empty" mbufs, it was removing M_PKTHDR from
the chain. This stripping is not needed since BUSDMA(9) does not map
empty mbufs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c | ||
---|---|---|
334 ↗ | (On Diff #32134) | Can you add braces {} around this multi line statement? |
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c | ||
---|---|---|
334 ↗ | (On Diff #32134) | Sure, that's my preference as well but I wasn't so sure about the prevailing style for the driver. |
Comment Actions
This patch looks good to me. @gallatin do you want to test it aswell before it reaches -head? I'll give it a spin tomorrow.