Home
last modified time | relevance | path

Searched refs:vlan_tag_mask (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/net/sfc/
Dethtool.c969 if ((u8)~ip_mask->tos | (u16)~ntuple->fs.vlan_tag_mask) in efx_ethtool_set_rx_ntuple()
992 if (ntuple->fs.vlan_tag_mask != 0xf000 && in efx_ethtool_set_rx_ntuple()
993 ntuple->fs.vlan_tag_mask != 0xffff) in efx_ethtool_set_rx_ntuple()
1002 (ntuple->fs.vlan_tag_mask == 0xf000) ? in efx_ethtool_set_rx_ntuple()
/linux-2.6.39/net/core/
Dethtool.c861 fsc->fs.vlan_tag_mask = spec->vlan_tag_mask; in __rx_ntuple_filter_add()
897 if (!(fs->vlan_tag | fs->vlan_tag_mask)) in rx_ntuple_fix_masks()
898 fs->vlan_tag_mask = 0xffff; in rx_ntuple_fix_masks()
1149 fsc->fs.vlan_tag, fsc->fs.vlan_tag_mask); in ethtool_get_rx_ntuple()
/linux-2.6.39/include/linux/
Dethtool.h530 __u16 vlan_tag_mask; member
/linux-2.6.39/drivers/net/ixgbe/
Dixgbe_ethtool.c2348 if ((fs->vlan_tag & 0xEFFF) || (~fs->vlan_tag_mask & 0xEFFF)) { in ixgbe_set_rx_ntuple()
2350 if (!fs->vlan_tag_mask) { in ixgbe_set_rx_ntuple()
2353 switch (~fs->vlan_tag_mask & 0xEFFF) { in ixgbe_set_rx_ntuple()
2360 htons(~fs->vlan_tag_mask); in ixgbe_set_rx_ntuple()