[Intel-wired-lan] [PATCH v1] igc: Enable HW VLAN Insertion and HW VLAN Stripping

Dvora Fuxbrumer dvorax.fuxbrumer at linux.intel.com
Mon May 24 09:57:42 UTC 2021


On 10/05/2021 08:36, Muhammad Husaini Zulkifli wrote:
> Add HW VLAN acceleration protocol handling. In case of HW VLAN tagging,
> we need that protocol available in the ndo_start_xmit(), so that it will be
> stored in a new fields in the skb.
> 
> HW offloading is set to OFF by default.
> Users are allow to turn on/off rx/tx HW vlan acceleration via ethtool.
> 
> Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli at intel.com>
> ---
>   drivers/net/ethernet/intel/igc/igc.h         |  1 +
>   drivers/net/ethernet/intel/igc/igc_defines.h |  5 ++
>   drivers/net/ethernet/intel/igc/igc_main.c    | 73 +++++++++++++++++++-
>   drivers/net/ethernet/intel/igc/igc_regs.h    |  1 +
>   4 files changed, 78 insertions(+), 2 deletions(-)
> 
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer at linux.intel.com>


More information about the Intel-wired-lan mailing list