Home
last modified time | relevance | path

Searched refs:netdev (Results 1 – 25 of 855) sorted by relevance

12345678910>>...35

/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dnetdevice.sh19 netdev=$1
21 ip link show "$netdev" |grep -q UP
23 echo "SKIP: $netdev: interface already up"
27 ip link set "$netdev" up
29 echo "FAIL: $netdev: Fail to up interface"
32 echo "PASS: $netdev: set interface up"
43 netdev=$1
51 ip link set dev $netdev address "$MACADDR"
53 echo "FAIL: $netdev: Cannot set MAC address"
55 ip link show $netdev |grep -q "$MACADDR"
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c27 nfp_repr_inc_tx_stats(struct net_device *netdev, unsigned int len, in nfp_repr_inc_tx_stats() argument
30 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_inc_tx_stats()
46 void nfp_repr_inc_rx_stats(struct net_device *netdev, unsigned int len) in nfp_repr_inc_rx_stats() argument
48 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_inc_rx_stats()
90 nfp_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in nfp_repr_get_stats64() argument
92 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_get_stats64()
123 nfp_repr_get_host_stats64(const struct net_device *netdev, in nfp_repr_get_host_stats64() argument
126 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_get_host_stats64()
166 static int nfp_repr_change_mtu(struct net_device *netdev, int new_mtu) in nfp_repr_change_mtu() argument
168 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_change_mtu()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate() argument
15 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getstate()
20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate() argument
22 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_setstate()
27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr() argument
30 memcpy(perm_addr, netdev->dev_addr, netdev->addr_len); in qede_dcbnl_getpermhwaddr()
33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx() argument
37 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgtccfgtx()
43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx() argument
46 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgbwgcfgtx()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_netdev.c65 static void opa_vnic_get_stats64(struct net_device *netdev, in opa_vnic_get_stats64() argument
68 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); in opa_vnic_get_stats64()
73 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); in opa_vnic_get_stats64()
80 struct net_device *netdev) in opa_netdev_start_xmit() argument
82 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); in opa_netdev_start_xmit()
94 return adapter->rn_ops->ndo_start_xmit(skb, netdev); in opa_netdev_start_xmit()
97 static u16 opa_vnic_select_queue(struct net_device *netdev, struct sk_buff *skb, in opa_vnic_select_queue() argument
100 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); in opa_vnic_select_queue()
108 rc = adapter->rn_ops->ndo_select_queue(netdev, skb, sb_dev); in opa_vnic_select_queue()
128 netif_dormant_off(adapter->netdev); in opa_vnic_update_state()
[all …]
/kernel/linux/linux-5.10/drivers/net/ipa/
Dipa_modem.c40 static int ipa_open(struct net_device *netdev) in ipa_open() argument
42 struct ipa_priv *priv = netdev_priv(netdev); in ipa_open()
53 netif_start_queue(netdev); in ipa_open()
64 static int ipa_stop(struct net_device *netdev) in ipa_stop() argument
66 struct ipa_priv *priv = netdev_priv(netdev); in ipa_stop()
69 netif_stop_queue(netdev); in ipa_stop()
85 static int ipa_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ipa_start_xmit() argument
87 struct net_device_stats *stats = &netdev->stats; in ipa_start_xmit()
88 struct ipa_priv *priv = netdev_priv(netdev); in ipa_start_xmit()
120 void ipa_modem_skb_rx(struct net_device *netdev, struct sk_buff *skb) in ipa_modem_skb_rx() argument
[all …]
/kernel/linux/linux-5.10/net/openvswitch/
Dvport-internal_dev.c27 static struct internal_dev *internal_dev_priv(struct net_device *netdev) in internal_dev_priv() argument
29 return netdev_priv(netdev); in internal_dev_priv()
34 internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) in internal_dev_xmit() argument
40 err = ovs_vport_receive(internal_dev_priv(netdev)->vport, skb, NULL); in internal_dev_xmit()
44 struct pcpu_sw_netstats *tstats = this_cpu_ptr(netdev->tstats); in internal_dev_xmit()
51 netdev->stats.tx_errors++; in internal_dev_xmit()
56 static int internal_dev_open(struct net_device *netdev) in internal_dev_open() argument
58 netif_start_queue(netdev); in internal_dev_open()
62 static int internal_dev_stop(struct net_device *netdev) in internal_dev_stop() argument
64 netif_stop_queue(netdev); in internal_dev_stop()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
Dks8842.c157 struct net_device *netdev; member
257 static void ks8842_update_link_status(struct net_device *netdev, in ks8842_update_link_status() argument
262 netif_carrier_on(netdev); in ks8842_update_link_status()
263 netif_wake_queue(netdev); in ks8842_update_link_status()
265 netif_stop_queue(netdev); in ks8842_update_link_status()
266 netif_carrier_off(netdev); in ks8842_update_link_status()
419 static int ks8842_tx_frame_dma(struct sk_buff *skb, struct net_device *netdev) in ks8842_tx_frame_dma() argument
421 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_tx_frame_dma()
426 netdev_dbg(netdev, "%s: TX ongoing\n", __func__); in ks8842_tx_frame_dma()
454 ctl->adesc->callback_param = netdev; in ks8842_tx_frame_dma()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/faraday/
Dftmac100.c64 struct net_device *netdev; member
114 struct net_device *netdev = priv->netdev; in ftmac100_reset() local
137 netdev_err(netdev, "software reset failed\n"); in ftmac100_reset()
161 struct net_device *netdev = priv->netdev; in ftmac100_start_hw() local
176 ftmac100_set_mac(priv, netdev->dev_addr); in ftmac100_start_hw()
321 struct net_device *netdev = priv->netdev; in ftmac100_rx_packet_error() local
326 netdev_info(netdev, "rx err\n"); in ftmac100_rx_packet_error()
328 netdev->stats.rx_errors++; in ftmac100_rx_packet_error()
334 netdev_info(netdev, "rx crc err\n"); in ftmac100_rx_packet_error()
336 netdev->stats.rx_crc_errors++; in ftmac100_rx_packet_error()
[all …]
Dftgmac100.c84 struct net_device *netdev; member
116 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() local
133 netdev_err(netdev, "Hardware reset failed\n"); in ftgmac100_reset_mac()
154 netdev_err(priv->netdev, "Unknown speed %d !\n", in ftgmac100_reset_and_config_mac()
189 ether_addr_copy(priv->netdev->dev_addr, mac); in ftgmac100_initial_mac()
206 ether_addr_copy(priv->netdev->dev_addr, mac); in ftgmac100_initial_mac()
209 eth_hw_addr_random(priv->netdev); in ftgmac100_initial_mac()
211 priv->netdev->dev_addr); in ftgmac100_initial_mac()
269 ftgmac100_write_mac_addr(priv, priv->netdev->dev_addr); in ftgmac100_init_hw()
328 if (priv->netdev->flags & IFF_PROMISC) in ftgmac100_start_hw()
[all …]
/kernel/linux/linux-5.10/drivers/net/usb/
Drtl8150.c128 struct net_device *netdev; member
204 netif_device_detach(dev->netdev); in async_set_registers()
265 ether_addr_copy(dev->netdev->dev_addr, node_id); in set_ethernet_addr()
267 eth_hw_addr_random(dev->netdev); in set_ethernet_addr()
268 netdev_notice(dev->netdev, "Assigned a random MAC address: %pM\n", in set_ethernet_addr()
269 dev->netdev->dev_addr); in set_ethernet_addr()
273 static int rtl8150_set_mac_address(struct net_device *netdev, void *p) in rtl8150_set_mac_address() argument
276 rtl8150_t *dev = netdev_priv(netdev); in rtl8150_set_mac_address()
278 if (netif_running(netdev)) in rtl8150_set_mac_address()
281 memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); in rtl8150_set_mac_address()
[all …]
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dp80211netdev.c95 static int p80211knetdev_init(struct net_device *netdev);
96 static int p80211knetdev_open(struct net_device *netdev);
97 static int p80211knetdev_stop(struct net_device *netdev);
99 struct net_device *netdev);
104 static void p80211knetdev_tx_timeout(struct net_device *netdev, unsigned int txqueue);
128 static int p80211knetdev_init(struct net_device *netdev) in p80211knetdev_init() argument
152 static int p80211knetdev_open(struct net_device *netdev) in p80211knetdev_open() argument
155 struct wlandevice *wlandev = netdev->ml_priv; in p80211knetdev_open()
165 netif_start_queue(wlandev->netdev); in p80211knetdev_open()
188 static int p80211knetdev_stop(struct net_device *netdev) in p80211knetdev_stop() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c66 static u32 emac_get_msglevel(struct net_device *netdev) in emac_get_msglevel() argument
68 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_msglevel()
73 static void emac_set_msglevel(struct net_device *netdev, u32 data) in emac_set_msglevel() argument
75 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_msglevel()
80 static int emac_get_sset_count(struct net_device *netdev, int sset) in emac_get_sset_count() argument
92 static void emac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in emac_get_strings() argument
111 static void emac_get_ethtool_stats(struct net_device *netdev, in emac_get_ethtool_stats() argument
115 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_ethtool_stats()
125 static int emac_nway_reset(struct net_device *netdev) in emac_nway_reset() argument
127 struct phy_device *phydev = netdev->phydev; in emac_nway_reset()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dspider_net_ethtool.c37 spider_net_ethtool_get_link_ksettings(struct net_device *netdev, in spider_net_ethtool_get_link_ksettings() argument
41 card = netdev_priv(netdev); in spider_net_ethtool_get_link_ksettings()
59 spider_net_ethtool_get_drvinfo(struct net_device *netdev, in spider_net_ethtool_get_drvinfo() argument
63 card = netdev_priv(netdev); in spider_net_ethtool_get_drvinfo()
76 spider_net_ethtool_get_wol(struct net_device *netdev, in spider_net_ethtool_get_wol() argument
85 spider_net_ethtool_get_msglevel(struct net_device *netdev) in spider_net_ethtool_get_msglevel() argument
88 card = netdev_priv(netdev); in spider_net_ethtool_get_msglevel()
93 spider_net_ethtool_set_msglevel(struct net_device *netdev, in spider_net_ethtool_set_msglevel() argument
97 card = netdev_priv(netdev); in spider_net_ethtool_set_msglevel()
102 spider_net_ethtool_nway_reset(struct net_device *netdev) in spider_net_ethtool_nway_reset() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_main.c79 static int change_mac_addr(struct net_device *netdev, const u8 *addr);
146 struct net_device *netdev = nic_dev->netdev; in create_txqs() local
153 nic_dev->txqs = devm_kzalloc(&netdev->dev, txq_size, GFP_KERNEL); in create_txqs()
162 err = hinic_init_txq(&nic_dev->txqs[i], sq, netdev); in create_txqs()
164 netif_err(nic_dev, drv, netdev, in create_txqs()
171 netif_err(nic_dev, drv, netdev, in create_txqs()
190 devm_kfree(&netdev->dev, nic_dev->txqs); in create_txqs()
219 struct net_device *netdev = nic_dev->netdev; in free_txqs() local
231 devm_kfree(&netdev->dev, nic_dev->txqs); in free_txqs()
244 struct net_device *netdev = nic_dev->netdev; in create_rxqs() local
[all …]
/kernel/linux/linux-5.10/drivers/net/can/usb/
Dmcba_usb.c77 struct net_device *netdev; member
202 netif_stop_queue(priv->netdev); in mcba_usb_get_free_ctx()
218 netif_wake_queue(ctx->priv->netdev); in mcba_usb_free_ctx()
224 struct net_device *netdev; in mcba_usb_write_bulk_callback() local
228 netdev = ctx->priv->netdev; in mcba_usb_write_bulk_callback()
235 if (!netif_device_present(netdev)) in mcba_usb_write_bulk_callback()
238 netdev->stats.tx_packets++; in mcba_usb_write_bulk_callback()
239 netdev->stats.tx_bytes += ctx->dlc; in mcba_usb_write_bulk_callback()
241 can_led_event(netdev, CAN_LED_EVENT_TX); in mcba_usb_write_bulk_callback()
242 can_get_echo_skb(netdev, ctx->ndx); in mcba_usb_write_bulk_callback()
[all …]
Dusb_8dev.c127 struct net_device *netdev; member
203 struct net_device *netdev; in usb_8dev_send_cmd() local
205 netdev = priv->netdev; in usb_8dev_send_cmd()
218 netdev_err(netdev, "sending command message failed\n"); in usb_8dev_send_cmd()
226 netdev_err(netdev, "no command message answer\n"); in usb_8dev_send_cmd()
316 static int usb_8dev_set_mode(struct net_device *netdev, enum can_mode mode) in usb_8dev_set_mode() argument
318 struct usb_8dev_priv *priv = netdev_priv(netdev); in usb_8dev_set_mode()
325 netdev_warn(netdev, "couldn't start device"); in usb_8dev_set_mode()
341 struct net_device_stats *stats = &priv->netdev->stats; in usb_8dev_rx_err_msg()
357 skb = alloc_can_err_skb(priv->netdev, &cf); in usb_8dev_rx_err_msg()
[all …]
Dems_usb.c242 struct net_device *netdev; member
265 struct net_device *netdev = dev->netdev; in ems_usb_read_interrupt_callback() local
268 if (!netif_device_present(netdev)) in ems_usb_read_interrupt_callback()
275 netif_queue_stopped(netdev)) in ems_usb_read_interrupt_callback()
276 netif_wake_queue(netdev); in ems_usb_read_interrupt_callback()
287 netdev_info(netdev, "Rx interrupt aborted %d\n", urb->status); in ems_usb_read_interrupt_callback()
294 netif_device_detach(netdev); in ems_usb_read_interrupt_callback()
296 netdev_err(netdev, "failed resubmitting intr urb: %d\n", err); in ems_usb_read_interrupt_callback()
304 struct net_device_stats *stats = &dev->netdev->stats; in ems_usb_rx_can_msg()
306 skb = alloc_can_skb(dev->netdev, &cf); in ems_usb_rx_can_msg()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-main.c175 struct net_device *netdev; in xgbe_alloc_pdata() local
177 netdev = alloc_etherdev_mq(sizeof(struct xgbe_prv_data), in xgbe_alloc_pdata()
179 if (!netdev) { in xgbe_alloc_pdata()
183 SET_NETDEV_DEV(netdev, dev); in xgbe_alloc_pdata()
184 pdata = netdev_priv(netdev); in xgbe_alloc_pdata()
185 pdata->netdev = netdev; in xgbe_alloc_pdata()
206 struct net_device *netdev = pdata->netdev; in xgbe_free_pdata() local
208 free_netdev(netdev); in xgbe_free_pdata()
264 struct net_device *netdev = pdata->netdev; in xgbe_config_netdev() local
268 netdev->irq = pdata->dev_irq; in xgbe_config_netdev()
[all …]
Dxgbe-ethtool.c191 static void xgbe_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in xgbe_get_strings() argument
193 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_strings()
219 static void xgbe_get_ethtool_stats(struct net_device *netdev, in xgbe_get_ethtool_stats() argument
222 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_ethtool_stats()
241 static int xgbe_get_sset_count(struct net_device *netdev, int stringset) in xgbe_get_sset_count() argument
243 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_sset_count()
260 static void xgbe_get_pauseparam(struct net_device *netdev, in xgbe_get_pauseparam() argument
263 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_pauseparam()
270 static int xgbe_set_pauseparam(struct net_device *netdev, in xgbe_set_pauseparam() argument
273 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_set_pauseparam()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c101 static int pch_gbe_mdio_read(struct net_device *netdev, int addr, int reg);
102 static void pch_gbe_mdio_write(struct net_device *netdev, int addr, int reg,
104 static void pch_gbe_set_multi(struct net_device *netdev);
203 static int hwtstamp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in hwtstamp_ioctl() argument
206 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in hwtstamp_ioctl()
284 netdev_dbg(adapter->netdev, "hw->mac.addr : %pM\n", hw->mac.addr); in pch_gbe_mac_read_mac_addr()
316 netdev_dbg(adapter->netdev, "index : 0x%x\n", index); in pch_gbe_mac_mar_set()
406 netdev_dbg(adapter->netdev, "mac->fc = %u\n", mac->fc); in pch_gbe_mac_force_mac_fc()
428 netdev_err(adapter->netdev, in pch_gbe_mac_force_mac_fc()
435 netdev_dbg(adapter->netdev, in pch_gbe_mac_force_mac_fc()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe_transport.c118 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_link_speed_update() local
121 if (!__ethtool_get_link_ksettings(netdev, &ecmd)) { in fcoe_link_speed_update()
170 struct net_device *netdev) in __fcoe_get_lesb() argument
193 htonl(dev_get_stats(netdev, &temp)->rx_crc_errors); in __fcoe_get_lesb()
205 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_get_lesb() local
207 __fcoe_get_lesb(lport, fc_lesb, netdev); in fcoe_get_lesb()
220 struct net_device *netdev = fcoe_get_netdev(fip->lp); in fcoe_ctlr_get_lesb() local
224 __fcoe_get_lesb(fip->lp, fc_lesb, netdev); in fcoe_ctlr_get_lesb()
290 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in fcoe_get_wwn() argument
292 const struct net_device_ops *ops = netdev->netdev_ops; in fcoe_get_wwn()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c21 struct net_device *netdev; member
54 const struct net_device *netdev) in mlx5e_lookup_rep_bond_slave_entry() argument
60 if (cur->netdev == netdev) { in mlx5e_lookup_rep_bond_slave_entry()
80 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev, in mlx5e_rep_bond_enslave() argument
119 s_entry->netdev = netdev; in mlx5e_rep_bond_enslave()
120 priv = netdev_priv(netdev); in mlx5e_rep_bond_enslave()
130 netdev_dbg(netdev, "enslave rep vport(%d) lag_dev(%s) metadata(0x%x)\n", in mlx5e_rep_bond_enslave()
145 const struct net_device *netdev, in mlx5e_rep_bond_unslave() argument
160 s_entry = mlx5e_lookup_rep_bond_slave_entry(mdata, netdev); in mlx5e_rep_bond_unslave()
164 priv = netdev_priv(netdev); in mlx5e_rep_bond_unslave()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c209 struct net_device *netdev; in peak_usb_read_bulk_callback() local
212 netdev = dev->netdev; in peak_usb_read_bulk_callback()
214 if (!netif_device_present(netdev)) in peak_usb_read_bulk_callback()
231 netdev_err(netdev, in peak_usb_read_bulk_callback()
262 netif_device_detach(netdev); in peak_usb_read_bulk_callback()
264 netdev_err(netdev, "failed resubmitting read bulk urb: %d\n", in peak_usb_read_bulk_callback()
275 struct net_device *netdev; in peak_usb_write_bulk_callback() local
280 netdev = dev->netdev; in peak_usb_write_bulk_callback()
284 if (!netif_device_present(netdev)) in peak_usb_write_bulk_callback()
291 netdev->stats.tx_packets++; in peak_usb_write_bulk_callback()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c104 uec_get_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) in uec_get_ksettings() argument
106 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_ksettings()
118 uec_set_ksettings(struct net_device *netdev, in uec_set_ksettings() argument
121 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_ksettings()
131 uec_get_pauseparam(struct net_device *netdev, in uec_get_pauseparam() argument
134 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_pauseparam()
145 uec_set_pauseparam(struct net_device *netdev, in uec_set_pauseparam() argument
148 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_pauseparam()
155 if (netif_running(netdev)) { in uec_set_pauseparam()
157 netdev_info(netdev, "Please re-open the interface\n"); in uec_set_pauseparam()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls.c9 static int mlx5e_ktls_add(struct net_device *netdev, struct sock *sk, in mlx5e_ktls_add() argument
14 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_ktls_add()
22 err = mlx5e_ktls_add_tx(netdev, sk, crypto_info, start_offload_tcp_sn); in mlx5e_ktls_add()
24 err = mlx5e_ktls_add_rx(netdev, sk, crypto_info, start_offload_tcp_sn); in mlx5e_ktls_add()
29 static void mlx5e_ktls_del(struct net_device *netdev, in mlx5e_ktls_del() argument
34 mlx5e_ktls_del_tx(netdev, tls_ctx); in mlx5e_ktls_del()
36 mlx5e_ktls_del_rx(netdev, tls_ctx); in mlx5e_ktls_del()
39 static int mlx5e_ktls_resync(struct net_device *netdev, in mlx5e_ktls_resync() argument
46 mlx5e_ktls_rx_resync(netdev, sk, seq, rcd_sn); in mlx5e_ktls_resync()
58 struct net_device *netdev = priv->netdev; in mlx5e_ktls_build_netdev() local
[all …]

12345678910>>...35