<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/cisco/enic/enic_dev.h, branch linux-4.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2015-01-02T21:36:08Z</updated>
<entry>
<title>net: ethernet: cisco: enic: enic_dev: Remove some unused functions</title>
<updated>2015-01-02T21:36:08Z</updated>
<author>
<name>Rickard Strandqvist</name>
<email>rickard_strandqvist@spectrumdigital.se</email>
</author>
<published>2015-01-02T20:29:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3adc0becfec27cd582506b778df65d7c237e3215'/>
<id>urn:sha1:3adc0becfec27cd582506b778df65d7c237e3215</id>
<content type='text'>
Removes some functions that are not used anywhere:
enic_dev_enable2_done() enic_dev_enable2() enic_dev_deinit_done()
enic_dev_init_prov2() enic_vnic_dev_deinit()

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist &lt;rickard_strandqvist@spectrumdigital.se&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>enic: fix lockdep around devcmd_lock</title>
<updated>2014-06-23T21:32:19Z</updated>
<author>
<name>Tony Camuso</name>
<email>tcamuso@redhat.com</email>
</author>
<published>2014-06-23T10:38:03Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8e091340cfcd6f96ca0dddb078ce28c407a6d44c'/>
<id>urn:sha1:8e091340cfcd6f96ca0dddb078ce28c407a6d44c</id>
<content type='text'>
We were experiencing occasional "BUG: scheduling while atomic" splats
in our testing. Enabling DEBUG_SPINLOCK and DEBUG_LOCKDEP in the kernel
exposed a lockdep in the enic driver.

enic 0000:0b:00.0 eth2: Link UP

======================================================
[ INFO: SOFTIRQ-safe -&gt; SOFTIRQ-unsafe lock order detected ]
3.12.0-rc1.x86_64-dbg+ #2 Tainted: GF       W
------------------------------------------------------
NetworkManager/4209 [HC0[0]:SC0[2]:HE1:SE0] is trying to acquire:
(&amp;(&amp;enic-&gt;devcmd_lock)-&gt;rlock){+.+...}, at: [&lt;ffffffffa026b7e4&gt;] enic_dev_packet_filter+0x44/0x90 [enic]

The fix was to replace spin_lock with spin_lock_bh for the enic
devcmd_lock, so that soft irqs would be disabled while the lock
is held.

Signed-off-by: Sujith Sankar &lt;ssujith@cisco.com&gt;
Signed-off-by: Tony Camuso &lt;tcamuso@redhat.com&gt;
Signed-off-by: Govindarajulu Varadarajan &lt;_govind@gmx.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>enic: Update driver to use __dev_uc/mc_sync/unsync calls</title>
<updated>2014-06-02T17:40:54Z</updated>
<author>
<name>Alexander Duyck</name>
<email>alexander.h.duyck@intel.com</email>
</author>
<published>2014-05-29T01:44:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f009618ac57cd3feeb4622147e8d2e88e47b9c1c'/>
<id>urn:sha1:f009618ac57cd3feeb4622147e8d2e88e47b9c1c</id>
<content type='text'>
This change updates the enic driver to make use of __dev_uc_sync and
__dev_mc_sync calls.  Previously the driver was doing its own list
management by storing the mc_addr and uc_addr list in a 32 address array.
With this change the sync data is stored in the netdev_addr_list structures
and instead we just track how many addresses we have written to the device.
When we encounter 32 we stop and print a message as occurred previously with
the old approach.

Other than the core change the only other bit needed was to propagate the
constant attribute with the MAC address as there were several spots where
is twas only passed as a u8 * instead of a const u8 *.

This patch is meant to maintain the original functionality without the use
of the mc_addr and uc_addr arrays.

Signed-off-by: Alexander Duyck &lt;alexander.h.duyck@intel.com&gt;
Acked-by: Govindarajulu Varadarajan &lt;_govind@gmx.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers/net: enic: Move ethtool code to a separate file</title>
<updated>2013-07-25T00:01:55Z</updated>
<author>
<name>Neel Patel</name>
<email>neepatel@cisco.com</email>
</author>
<published>2013-07-22T16:59:18Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f13bbc2f9aba00c7a37b499d23060616b9a4ef9e'/>
<id>urn:sha1:f13bbc2f9aba00c7a37b499d23060616b9a4ef9e</id>
<content type='text'>
This patch moves all enic ethtool hooks from enic_main.c to a new file
enic_ethtool.c

Signed-off-by: Neel Patel &lt;neepatel@cisco.com&gt;
Signed-off-by: Christian Benvenuti &lt;benve@cisco.com&gt;
Signed-off-by: Nishank Trivedi &lt;nistrive@cisco.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: vlan: prepare for 802.1ad VLAN filtering offload</title>
<updated>2013-04-19T18:45:27Z</updated>
<author>
<name>Patrick McHardy</name>
<email>kaber@trash.net</email>
</author>
<published>2013-04-19T02:04:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=80d5c3689b886308247da295a228a54df49a44f6'/>
<id>urn:sha1:80d5c3689b886308247da295a228a54df49a44f6</id>
<content type='text'>
Change the rx_{add,kill}_vid callbacks to take a protocol argument in
preparation of 802.1ad support. The protocol argument used so far is
always htons(ETH_P_8021Q).

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: make vlan ndo_vlan_rx_[add/kill]_vid return error value</title>
<updated>2011-12-09T00:52:37Z</updated>
<author>
<name>Jiri Pirko</name>
<email>jpirko@redhat.com</email>
</author>
<published>2011-12-09T00:52:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8e586137e6b63af1e881b328466ab5ffbe562510'/>
<id>urn:sha1:8e586137e6b63af1e881b328466ab5ffbe562510</id>
<content type='text'>
Let caller know the result of adding/removing vlan id to/from vlan
filter.

In some drivers I make those functions to just return 0. But in those
where there is able to see if hw setup went correctly, return value is
set appropriately.

Signed-off-by: Jiri Pirko &lt;jpirko@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>enic: Helper code for SRIOV proxy commands</title>
<updated>2011-09-27T05:10:24Z</updated>
<author>
<name>Roopa Prabhu</name>
<email>roprabhu@cisco.com</email>
</author>
<published>2011-09-22T03:44:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=889d13f53cf9d741398637b6e8e578c65bb792e8'/>
<id>urn:sha1:889d13f53cf9d741398637b6e8e578c65bb792e8</id>
<content type='text'>
This patch adds helper functions to use PF as proxy for SRIOV VF firmware
commands.

Signed-off-by: Roopa Prabhu &lt;roprabhu@cisco.com&gt;
Signed-off-by: Sujith Sankar &lt;ssujith@cisco.com&gt;
Signed-off-by: Christian Benvenuti &lt;benve@cisco.com&gt;
Signed-off-by: David Wang &lt;dwang2@cisco.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>enic: Move the Cisco driver</title>
<updated>2011-08-11T09:42:06Z</updated>
<author>
<name>Jeff Kirsher</name>
<email>jeffrey.t.kirsher@intel.com</email>
</author>
<published>2011-05-14T05:20:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a6a5580c4d90788d67a77c689d3ab22aa5eecfc3'/>
<id>urn:sha1:a6a5580c4d90788d67a77c689d3ab22aa5eecfc3</id>
<content type='text'>
Move the Cisco driver into drivers/net/ethernet/cisco/ and make the
necessary Kconfig and Makefile changes.

CC: Christian Benvenuti &lt;benve@cisco.com&gt;
CC: Vasanthy Kolluri &lt;vkolluri@cisco.com&gt;
CC: Roopa Prabhu &lt;roprabhu@cisco.com&gt;
CC: David Wang &lt;dwang2@cisco.com&gt;
Signed-off-by: Jeff Kirsher &lt;jeffrey.t.kirsher@intel.com&gt;
</content>
</entry>
</feed>
