Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 1374) sorted by relevance

12345678910>>...55

/Linux-v6.1/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c125 static void housekeeping_init(struct zd_mac *mac);
126 static void housekeeping_enable(struct zd_mac *mac);
127 static void housekeeping_disable(struct zd_mac *mac);
128 static void beacon_init(struct zd_mac *mac);
129 static void beacon_enable(struct zd_mac *mac);
130 static void beacon_disable(struct zd_mac *mac);
131 static void set_rts_cts(struct zd_mac *mac, unsigned int short_preamble);
152 struct zd_mac *mac = zd_hw_mac(hw); in zd_check_signal() local
154 dev_dbg_f_cond(zd_mac_dev(mac), signal < 0 || signal > 100, in zd_check_signal()
170 struct zd_mac *mac = zd_hw_mac(hw); in zd_mac_preinit_hw() local
[all …]
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb3/
Dxgmac.c41 static inline int macidx(const struct cmac *mac) in macidx() argument
43 return mac->offset / (XGMAC0_1_BASE_ADDR - XGMAC0_0_BASE_ADDR); in macidx()
46 static void xaui_serdes_reset(struct cmac *mac) in xaui_serdes_reset() argument
54 struct adapter *adap = mac->adapter; in xaui_serdes_reset()
55 u32 ctrl = A_XGM_SERDES_CTRL0 + mac->offset; in xaui_serdes_reset()
57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset()
70 void t3b_pcs_reset(struct cmac *mac) in t3b_pcs_reset() argument
72 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, in t3b_pcs_reset()
75 t3_set_reg_field(mac->adapter, A_XGM_RESET_CTRL + mac->offset, 0, in t3b_pcs_reset()
79 int t3_mac_reset(struct cmac *mac) in t3_mac_reset() argument
[all …]
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-mac.c20 static int dpaa2_mac_cmp_ver(struct dpaa2_mac *mac, in dpaa2_mac_cmp_ver() argument
23 if (mac->ver_major == ver_major) in dpaa2_mac_cmp_ver()
24 return mac->ver_minor - ver_minor; in dpaa2_mac_cmp_ver()
25 return mac->ver_major - ver_major; in dpaa2_mac_cmp_ver()
28 static void dpaa2_mac_detect_features(struct dpaa2_mac *mac) in dpaa2_mac_detect_features() argument
30 mac->features = 0; in dpaa2_mac_detect_features()
32 if (dpaa2_mac_cmp_ver(mac, DPMAC_PROTOCOL_CHANGE_VER_MAJOR, in dpaa2_mac_detect_features()
34 mac->features |= DPAA2_MAC_FEATURE_PROTOCOL_CHANGE; in dpaa2_mac_detect_features()
149 struct dpaa2_mac *mac = phylink_to_dpaa2_mac(config); in dpaa2_mac_select_pcs() local
151 return mac->pcs; in dpaa2_mac_select_pcs()
[all …]
/Linux-v6.1/drivers/net/ethernet/pasemi/
Dpasemi_mac.c83 static unsigned int read_mac_reg(const struct pasemi_mac *mac, unsigned int reg) in read_mac_reg() argument
85 return pasemi_read_mac_reg(mac->dma_if, reg); in read_mac_reg()
88 static void write_mac_reg(const struct pasemi_mac *mac, unsigned int reg, in write_mac_reg() argument
91 pasemi_write_mac_reg(mac->dma_if, reg, val); in write_mac_reg()
104 static struct pasemi_mac_rxring *rx_ring(const struct pasemi_mac *mac) in rx_ring() argument
106 return mac->rx; in rx_ring()
109 static struct pasemi_mac_txring *tx_ring(const struct pasemi_mac *mac) in tx_ring() argument
111 return mac->tx; in tx_ring()
124 static int mac_to_intf(struct pasemi_mac *mac) in mac_to_intf() argument
126 struct pci_dev *pdev = mac->pdev; in mac_to_intf()
[all …]
/Linux-v6.1/drivers/net/wireless/purelifi/plfxlc/
Dmac.c88 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_mac_init_hw() local
89 struct plfxlc_chip *chip = &mac->chip; in plfxlc_mac_init_hw()
94 dev_warn(plfxlc_mac_dev(mac), "init hw failed (%d)\n", r); in plfxlc_mac_init_hw()
98 dev_dbg(plfxlc_mac_dev(mac), "irq_disabled (%d)\n", irqs_disabled()); in plfxlc_mac_init_hw()
103 void plfxlc_mac_release(struct plfxlc_mac *mac) in plfxlc_mac_release() argument
105 plfxlc_chip_release(&mac->chip); in plfxlc_mac_release()
106 lockdep_assert_held(&mac->lock); in plfxlc_mac_release()
117 struct plfxlc_mac *mac = plfxlc_hw_mac(hw); in plfxlc_op_stop() local
119 clear_bit(PURELIFI_DEVICE_RUNNING, &mac->flags); in plfxlc_op_stop()
122 int plfxlc_restore_settings(struct plfxlc_mac *mac) in plfxlc_restore_settings() argument
[all …]
/Linux-v6.1/drivers/net/wireless/quantenna/qtnfmac/
Dcore.c42 struct qtnf_wmac *mac = NULL; in qtnf_core_get_mac() local
50 mac = bus->mac[macid]; in qtnf_core_get_mac()
52 if (unlikely(!mac)) { in qtnf_core_get_mac()
57 return mac; in qtnf_core_get_mac()
84 queue_work(vif->mac->bus->hprio_workqueue, &vif->high_pri_tx_work); in qtnf_packet_send_hi_pri()
93 struct qtnf_wmac *mac; in qtnf_netdev_hard_start_xmit() local
109 mac = vif->mac; in qtnf_netdev_hard_start_xmit()
110 if (unlikely(!mac)) { in qtnf_netdev_hard_start_xmit()
133 return qtnf_bus_data_tx(mac->bus, skb, mac->macid, vif->vifid); in qtnf_netdev_hard_start_xmit()
141 struct qtnf_wmac *mac; in qtnf_netdev_tx_timeout() local
[all …]
Dcfg80211.c78 struct qtnf_wmac *mac; in qtnf_validate_iface_combinations() local
86 mac = wiphy_priv(wiphy); in qtnf_validate_iface_combinations()
87 if (!mac) in qtnf_validate_iface_combinations()
91 vif = &mac->iflist[i]; in qtnf_validate_iface_combinations()
112 vif = qtnf_mac_get_base_vif(mac); in qtnf_validate_iface_combinations()
117 mac->macid); in qtnf_validate_iface_combinations()
137 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf()
146 qtnf_scan_done(vif->mac, true); in qtnf_change_virtual_intf()
151 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf()
170 qtnf_scan_done(vif->mac, true); in qtnf_del_virtual_intf()
[all …]
Dcommands.c215 vif->mac->macid, vif->vifid, len); in qtnf_cmd_start_ap_can_fit()
249 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_start_ap()
358 qtnf_bus_lock(vif->mac->bus); in qtnf_cmd_send_start_ap()
359 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_start_ap()
366 qtnf_bus_unlock(vif->mac->bus); in qtnf_cmd_send_start_ap()
376 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_stop_ap()
382 qtnf_bus_lock(vif->mac->bus); in qtnf_cmd_send_stop_ap()
383 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_stop_ap()
384 qtnf_bus_unlock(vif->mac->bus); in qtnf_cmd_send_stop_ap()
395 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_register_mgmt()
[all …]
Devent.c19 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() argument
34 mac->macid, vif->vifid, len, sizeof(*sta_assoc)); in qtnf_event_handle_sta_assoc()
40 mac->macid, vif->vifid); in qtnf_event_handle_sta_assoc()
51 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, in qtnf_event_handle_sta_assoc()
102 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() argument
111 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth()
118 mac->macid, vif->vifid); in qtnf_event_handle_sta_deauth()
125 pr_debug("VIF%u.%u: MAC:%pM reason:%x\n", mac->macid, vif->vifid, in qtnf_event_handle_sta_deauth()
140 struct wiphy *wiphy = priv_to_wiphy(vif->mac); in qtnf_event_handle_bss_join()
154 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_join()
[all …]
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c361 static int mac_intr_handler(struct cmac *mac) in mac_intr_handler() argument
366 static int mac_intr_enable(struct cmac *mac) in mac_intr_enable() argument
371 static int mac_intr_disable(struct cmac *mac) in mac_intr_disable() argument
376 static int mac_intr_clear(struct cmac *mac) in mac_intr_clear() argument
382 static int mac_set_address(struct cmac* mac, const u8 addr[6]) in mac_set_address() argument
385 int port = mac->instance->index; in mac_set_address()
387 vsc_write(mac->adapter, REG_MAC_LOW_ADDR(port), in mac_set_address()
389 vsc_write(mac->adapter, REG_MAC_HIGH_ADDR(port), in mac_set_address()
392 vsc_read(mac->adapter, REG_ING_FFILT_UM_EN, &val); in mac_set_address()
394 vsc_write(mac->adapter, REG_ING_FFILT_UM_EN, val | (port << 28)); in mac_set_address()
[all …]
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-ingenic.c76 struct ingenic_mac *mac = plat_dat->bsp_priv; in ingenic_mac_init() local
79 if (mac->soc_info->set_mode) { in ingenic_mac_init()
80 ret = mac->soc_info->set_mode(plat_dat); in ingenic_mac_init()
90 struct ingenic_mac *mac = plat_dat->bsp_priv; in jz4775_mac_set_mode() local
97 dev_dbg(mac->dev, "MAC PHY Control Register: PHY_INTERFACE_MODE_MII\n"); in jz4775_mac_set_mode()
103 dev_dbg(mac->dev, "MAC PHY Control Register: PHY_INTERFACE_MODE_GMII\n"); in jz4775_mac_set_mode()
109 dev_dbg(mac->dev, "MAC PHY Control Register: PHY_INTERFACE_MODE_RMII\n"); in jz4775_mac_set_mode()
118 dev_dbg(mac->dev, "MAC PHY Control Register: PHY_INTERFACE_MODE_RGMII\n"); in jz4775_mac_set_mode()
122 dev_err(mac->dev, "Unsupported interface %d", plat_dat->interface); in jz4775_mac_set_mode()
127 return regmap_update_bits(mac->regmap, 0, mac->soc_info->mask, val); in jz4775_mac_set_mode()
[all …]
Dhwif.c40 struct mac_device_info *mac = priv->hw; in stmmac_dwmac_mode_quirk() local
45 mac->mode = &chain_mode_ops; in stmmac_dwmac_mode_quirk()
49 mac->mode = &ring_mode_ops; in stmmac_dwmac_mode_quirk()
55 struct mac_device_info *mac = priv->hw; in stmmac_dwmac1_quirks() local
68 mac->desc = &enh_desc_ops; in stmmac_dwmac1_quirks()
71 mac->desc = &ndesc_ops; in stmmac_dwmac1_quirks()
99 const void *mac; member
119 .mac = &dwmac100_ops,
137 .mac = &dwmac1000_ops,
155 .mac = &dwmac4_ops,
[all …]
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h282 #define ENETC_PM_REOCT(mac) (0x8100 + 0x1000 * (mac)) argument
283 #define ENETC_PM_RALN(mac) (0x8110 + 0x1000 * (mac)) argument
284 #define ENETC_PM_RXPF(mac) (0x8118 + 0x1000 * (mac)) argument
285 #define ENETC_PM_RFRM(mac) (0x8120 + 0x1000 * (mac)) argument
286 #define ENETC_PM_RFCS(mac) (0x8128 + 0x1000 * (mac)) argument
287 #define ENETC_PM_RVLAN(mac) (0x8130 + 0x1000 * (mac)) argument
288 #define ENETC_PM_RERR(mac) (0x8138 + 0x1000 * (mac)) argument
289 #define ENETC_PM_RUCA(mac) (0x8140 + 0x1000 * (mac)) argument
290 #define ENETC_PM_RMCA(mac) (0x8148 + 0x1000 * (mac)) argument
291 #define ENETC_PM_RBCA(mac) (0x8150 + 0x1000 * (mac)) argument
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/
Dmac.c16 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() local
33 mac->ops.set_lan_id(hw); in e1000e_get_bus_info_pcie()
120 hw->mac.ops.rar_set(hw, hw->mac.addr, 0); in e1000e_init_rx_addrs()
125 hw->mac.ops.rar_set(hw, mac_addr, i); in e1000e_init_rx_addrs()
152 if (hw->mac.type == e1000_82573) in e1000_check_alt_mac_addr_generic()
191 hw->mac.ops.rar_set(hw, alt_mac_addr, 0); in e1000_check_alt_mac_addr_generic()
198 return hw->mac.rar_entry_count; in e1000e_rar_get_count_generic()
252 hash_mask = (hw->mac.mta_reg_count * 32) - 1; in e1000_hash_mc_addr()
285 switch (hw->mac.mc_filter_type) { in e1000_hash_mc_addr()
322 memset(&hw->mac.mta_shadow, 0, sizeof(hw->mac.mta_shadow)); in e1000e_update_mc_addr_list_generic()
[all …]
D82571.c62 switch (hw->mac.type) { in e1000_init_phy_params_82571()
90 switch (hw->mac.type) { in e1000_init_phy_params_82571()
143 switch (hw->mac.type) { in e1000_init_nvm_params_82571()
175 switch (hw->mac.type) { in e1000_init_nvm_params_82571()
194 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_params_82571() local
205 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571()
207 mac->ops.check_for_link = e1000e_check_for_fiber_link; in e1000_init_mac_params_82571()
208 mac->ops.get_link_up_info = in e1000_init_mac_params_82571()
216 mac->ops.setup_physical_interface = in e1000_init_mac_params_82571()
218 mac->ops.check_for_link = e1000_check_for_serdes_link_82571; in e1000_init_mac_params_82571()
[all …]
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_mdb.c16 unsigned char mac[ETH_ALEN]; member
57 const unsigned char *mac, in lan966x_mdb_entry_get() argument
63 if (ether_addr_equal(mdb_entry->mac, mac) && in lan966x_mdb_entry_get()
81 ether_addr_copy(mdb_entry->mac, mdb->addr); in lan966x_mdb_entry_add()
89 static void lan966x_mdb_encode_mac(unsigned char *mac, in lan966x_mdb_encode_mac() argument
93 ether_addr_copy(mac, mdb_entry->mac); in lan966x_mdb_encode_mac()
96 mac[0] = 0; in lan966x_mdb_encode_mac()
97 mac[1] = mdb_entry->ports >> 8; in lan966x_mdb_encode_mac()
98 mac[2] = mdb_entry->ports & 0xff; in lan966x_mdb_encode_mac()
100 mac[0] = mdb_entry->ports >> 8; in lan966x_mdb_encode_mac()
[all …]
Dlan966x_mac.c21 unsigned char mac[ETH_ALEN] __aligned(2); member
53 const unsigned char mac[ETH_ALEN], in lan966x_mac_select()
62 mach |= mac[0] << 8; in lan966x_mac_select()
63 mach |= mac[1] << 0; in lan966x_mac_select()
64 macl |= mac[2] << 24; in lan966x_mac_select()
65 macl |= mac[3] << 16; in lan966x_mac_select()
66 macl |= mac[4] << 8; in lan966x_mac_select()
67 macl |= mac[5] << 0; in lan966x_mac_select()
75 const unsigned char mac[ETH_ALEN], in __lan966x_mac_learn_locked()
81 lan966x_mac_select(lan966x, mac, vid); in __lan966x_mac_learn_locked()
[all …]
/Linux-v6.1/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_param.c324 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options()
328 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options()
329 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options()
336 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options()
339 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options()
340 hw->mac.link_duplex = DUPLEX_HALF; in pch_gbe_check_copper_options()
347 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options()
351 hw->mac.link_speed = SPEED_10; in pch_gbe_check_copper_options()
352 hw->mac.link_duplex = DUPLEX_FULL; in pch_gbe_check_copper_options()
359 hw->mac.autoneg = hw->mac.fc_autoneg = 1; in pch_gbe_check_copper_options()
[all …]
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/
Dcore.c150 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_stop() local
171 mac->link_state = MAC80211_NOLINK; in rtl_op_stop()
172 eth_zero_addr(mac->bssid); in rtl_op_stop()
173 mac->vendor = PEER_UNKNOWN; in rtl_op_stop()
214 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl_op_add_interface() local
218 if (mac->vif) { in rtl_op_add_interface()
220 "vif has been set!! mac->vif = 0x%p\n", mac->vif); in rtl_op_add_interface()
231 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface()
234 if (mac->beacon_enabled == 1) { in rtl_op_add_interface()
237 mac->beacon_enabled = 0; in rtl_op_add_interface()
[all …]
/Linux-v6.1/drivers/net/ethernet/sunplus/
Dspl2sw_driver.c27 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_open() local
28 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_open()
31 netdev_dbg(ndev, "Open port = %x\n", mac->lan_port); in spl2sw_ethernet_open()
33 comm->enable |= mac->lan_port; in spl2sw_ethernet_open()
51 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_stop() local
52 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_stop()
56 comm->enable &= ~mac->lan_port; in spl2sw_ethernet_stop()
68 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_ethernet_start_xmit() local
69 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_start_xmit()
110 cmd1 = TXD_OWN | TXD_SOP | TXD_EOP | (mac->to_vlan << 12) | in spl2sw_ethernet_start_xmit()
[all …]
Dspl2sw_mac.c53 int spl2sw_mac_addr_add(struct spl2sw_mac *mac) in spl2sw_mac_addr_add() argument
55 struct spl2sw_common *comm = mac->comm; in spl2sw_mac_addr_add()
60 writel((mac->mac_addr[0] << 0) + (mac->mac_addr[1] << 8), in spl2sw_mac_addr_add()
62 writel((mac->mac_addr[2] << 0) + (mac->mac_addr[3] << 8) + in spl2sw_mac_addr_add()
63 (mac->mac_addr[4] << 16) + (mac->mac_addr[5] << 24), in spl2sw_mac_addr_add()
67 reg = MAC_W_CPU_PORT_0 | FIELD_PREP(MAC_W_VID, mac->vlan_id) | in spl2sw_mac_addr_add()
75 netdev_err(mac->ndev, "Failed to add address to table!\n"); in spl2sw_mac_addr_add()
79 netdev_dbg(mac->ndev, "mac_ad0 = %08x, mac_ad = %08x%04x\n", in spl2sw_mac_addr_add()
88 int spl2sw_mac_addr_del(struct spl2sw_mac *mac) in spl2sw_mac_addr_del() argument
90 struct spl2sw_common *comm = mac->comm; in spl2sw_mac_addr_del()
[all …]
Dspl2sw_phy.c16 struct spl2sw_mac *mac = netdev_priv(ndev); in spl2sw_mii_link_change() local
18 struct spl2sw_common *comm = mac->comm; in spl2sw_mii_link_change()
24 reg |= FIELD_PREP(MAC_FORCE_RMII_LINK, mac->lan_port); in spl2sw_mii_link_change()
27 reg |= FIELD_PREP(MAC_FORCE_RMII_SPD, mac->lan_port); in spl2sw_mii_link_change()
29 reg &= FIELD_PREP(MAC_FORCE_RMII_SPD, ~mac->lan_port) | in spl2sw_mii_link_change()
34 reg |= FIELD_PREP(MAC_FORCE_RMII_DPX, mac->lan_port); in spl2sw_mii_link_change()
36 reg &= FIELD_PREP(MAC_FORCE_RMII_DPX, ~mac->lan_port) | in spl2sw_mii_link_change()
41 reg |= FIELD_PREP(MAC_FORCE_RMII_FC, mac->lan_port); in spl2sw_mii_link_change()
43 reg &= FIELD_PREP(MAC_FORCE_RMII_FC, ~mac->lan_port) | in spl2sw_mii_link_change()
47 reg &= FIELD_PREP(MAC_FORCE_RMII_LINK, ~mac->lan_port) | in spl2sw_mii_link_change()
[all …]
/Linux-v6.1/drivers/net/ethernet/microchip/sparx5/
Dsparx5_mactable.c35 unsigned char mac[ETH_ALEN]; member
60 const unsigned char mac[ETH_ALEN], in sparx5_mact_select()
69 mach |= mac[0] << 8; in sparx5_mact_select()
70 mach |= mac[1] << 0; in sparx5_mact_select()
71 macl |= mac[2] << 24; in sparx5_mact_select()
72 macl |= mac[3] << 16; in sparx5_mact_select()
73 macl |= mac[4] << 8; in sparx5_mact_select()
74 macl |= mac[5] << 0; in sparx5_mact_select()
81 const unsigned char mac[ETH_ALEN], u16 vid) in sparx5_mact_learn()
96 sparx5_mact_select(sparx5, mac, vid); in sparx5_mact_learn()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/ixgbevf/
Dvf.c50 s32 status = hw->mac.ops.start_hw(hw); in ixgbevf_init_hw_vf()
52 hw->mac.ops.get_mac_addr(hw, hw->mac.addr); in ixgbevf_init_hw_vf()
73 hw->mac.ops.stop_adapter(hw); in ixgbevf_reset_hw_vf()
118 ether_addr_copy(hw->mac.perm_addr, addr); in ixgbevf_reset_hw_vf()
120 hw->mac.mc_filter_type = msgbuf[IXGBE_VF_MC_TYPE_WORD]; in ixgbevf_reset_hw_vf()
141 &hw->mac.perm_addr[i]); in ixgbevf_hv_reset_hw_vf()
170 number_of_queues = hw->mac.max_rx_queues; in ixgbevf_stop_hw_vf()
188 number_of_queues = hw->mac.max_tx_queues; in ixgbevf_stop_hw_vf()
216 switch (hw->mac.mc_filter_type) { in ixgbevf_mta_vector()
245 ether_addr_copy(mac_addr, hw->mac.perm_addr); in ixgbevf_get_mac_addr_vf()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_tc_tunnel.sh114 for mac in none mpls eth ; do
115 echo "ip gre $mac"
116 $0 ipv4 gre $mac 100
118 echo "ip6 gre $mac"
119 $0 ipv6 ip6gre $mac 100
121 echo "ip gre $mac gso"
122 $0 ipv4 gre $mac 2000
124 echo "ip6 gre $mac gso"
125 $0 ipv6 ip6gre $mac 2000
127 echo "ip udp $mac"
[all …]

12345678910>>...55