Commit 713dd6c
idpf: fix offloads support for encapsulated packets
Split offloads into csum, tso and other offloads so that tunneled
packets do not by default have all the offloads enabled.
Stateless offloads for encapsulated packets are not yet supported in
firmware/software but in the driver we were setting the features same as
non encapsulated features.
Fixed naming to clarify CSUM bits are being checked for Tx.
Inherit netdev features to VLAN interfaces as well.
Fixes: 0fe4546 ("idpf: add create vport and netdev configuration")
Reviewed-by: Sridhar Samudrala <[email protected]>
Signed-off-by: Madhu Chittim <[email protected]>
Tested-by: Zachary Goldstein <[email protected]>
Tested-by: Samuel Salin <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 425c5f2 commit 713dd6c
2 files changed
+27
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
633 | | - | |
634 | | - | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
635 | 635 | | |
636 | | - | |
637 | | - | |
638 | | - | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | | - | |
650 | | - | |
651 | | - | |
| 649 | + | |
652 | 650 | | |
653 | 651 | | |
654 | 652 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
706 | 709 | | |
707 | | - | |
708 | 710 | | |
709 | 711 | | |
710 | 712 | | |
| |||
766 | 768 | | |
767 | 769 | | |
768 | 770 | | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
773 | 775 | | |
774 | | - | |
775 | | - | |
776 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
777 | 779 | | |
778 | 780 | | |
779 | | - | |
| 781 | + | |
780 | 782 | | |
781 | | - | |
| 783 | + | |
782 | 784 | | |
783 | 785 | | |
784 | 786 | | |
785 | | - | |
| 787 | + | |
786 | 788 | | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
| 789 | + | |
810 | 790 | | |
811 | | - | |
| 791 | + | |
812 | 792 | | |
813 | | - | |
814 | | - | |
815 | | - | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
816 | 797 | | |
817 | 798 | | |
818 | 799 | | |
| |||
0 commit comments