Commit e8786b6
xsk: avoid overwriting skb fields for multi-buffer traffic
We are unnecessarily setting a bunch of skb fields per each processed
descriptor, which is redundant for fragmented frames.
Let us set these respective members for first fragment only.
Signed-off-by: Maciej Fijalkowski <[email protected]>1 parent 2225dd1 commit e8786b6
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
761 | 765 | | |
762 | 766 | | |
763 | 767 | | |
| |||
826 | 830 | | |
827 | 831 | | |
828 | 832 | | |
| 833 | + | |
829 | 834 | | |
830 | 835 | | |
831 | 836 | | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | 837 | | |
838 | 838 | | |
839 | 839 | | |
| |||
0 commit comments