mirror of
https://github.com/opnsense/src.git
synced 2026-05-12 09:01:24 -04:00
Add support for enabling and disabling IFCAP_VLAN_HWTSO via
ifconfig(8) in mlx5en(4). MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
This commit is contained in:
parent
35ebd8d33a
commit
064009e794
1 changed files with 2 additions and 0 deletions
|
|
@ -3413,6 +3413,8 @@ mlx5e_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
|
|||
ifp->if_capenable ^= IFCAP_TSO6;
|
||||
ifp->if_hwassist ^= CSUM_IP6_TSO;
|
||||
}
|
||||
if (mask & IFCAP_VLAN_HWTSO)
|
||||
ifp->if_capenable ^= IFCAP_VLAN_HWTSO;
|
||||
if (mask & IFCAP_VLAN_HWFILTER) {
|
||||
if (ifp->if_capenable & IFCAP_VLAN_HWFILTER)
|
||||
mlx5e_disable_vlan_filter(priv);
|
||||
|
|
|
|||
Loading…
Reference in a new issue